Example #1
0
		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();
		}
Example #2
0
        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();
        }