Ejemplo n.º 1
0
        public SliderMesh CreateSlider(Rect rect, CoreUIOrientation orientation, string styleName)
        {
            var slider = new SliderMesh(orientation);

            slider.Init(GetStyle(styleName), rect);
            return(slider);
        }
Ejemplo n.º 2
0
 public CoreUISlider(SliderMesh mesh, CoreUIImage point, CoreUIOrientation orientation) : base(mesh)
 {
     _orientation = orientation;
     _borderWidth = mesh.BorderWidth;
     _point       = point;
 }