public Scrollbar( string name, Vector2 position, EScrollBarAxis Axis, int width, int height, int max, int value, SFormStyle WndStyle ) { ControlType = EControlType.Scrollbar; Name = name; PositionOrg = position; Position = position; ScrollBarAxis = Axis; WindowStyle = WndStyle; InitDefaults(); InitTextures(); InitEvents(); }
public Scrollbar(string name, Vector2 position, EScrollBarAxis Axis, int width, int height, int max, int value, SFormStyle WndStyle) { ControlType = EControlType.Scrollbar; Name = name; PositionOrg = position; Position = position; ScrollBarAxis = Axis; WindowStyle = WndStyle; InitDefaults(); InitTextures(); InitEvents(); }