Exemplo n.º 1
0
        public Slider(int x, int y, int width, int height, SliderStyle style = null, Input <int> input = null)
            : base(x, y, width, height, new UIConfiguration() { UseMoving = true, UseEnd = true, UseOutsideTouches = true }, style)
        {
            Input = input ?? new Input <int>(0, 0, null);

            Configuration.Lock = new Lock(LockLevel.Self, false, UIDefault.LockDelay, true, true);
        }
Exemplo n.º 2
0
 public SliderStyle(SliderStyle style) : base(style)
 {
     TriggerInRuntime = style.TriggerInRuntime;
     UsedColor        = style.UsedColor;
     SeparatorColor   = style.SeparatorColor;
 }