public VerticalScrollBar(SliderProps sliderProps, bool adjustMaxAutomatically = false) : base(sliderProps) { Size = sliderProps.Size; DoEventsIfDirectParentIsLocked = true; AdjustMaxAutomatically = adjustMaxAutomatically; }
public Slider(SliderProps sliderPorps) : base(sliderPorps) { Size = new Vector2(-1, -1); Min = sliderPorps.Min; Max = sliderPorps.Max; p_StepsCount = Max - Min; p_Value = (int)(Min + (Max - Min) / 2); }