FlatRedBall.Gui.TimeLine.TimeLine C# (CSharp) Method

TimeLine() public method

Creates a new TimeLine;
public TimeLine ( Cursor cursor ) : System
cursor Cursor The Cursor that will interact with the TimeLine.
return System
        public TimeLine(Cursor cursor) : 
            base(cursor)
		{
			mMinimumValue = 0;
			mMaximumValue = double.PositiveInfinity;;
			mStart = 0;
			mValueWidth = 100;

            mScaleX = 10;
            mScaleY = 1.5f;

            positionBar = new Button(mCursor);
            AddWindow(positionBar);

			positionBar.ScaleX = .5f;
			positionBar.ScaleY = 1;
			positionBar.Dragging += new GuiMessage(PositionBarDrag);
			positionBar.SetPositionTL(0, ScaleY);

            positionBar.overlayTL = new FlatRedBall.Math.Geometry.Point(0, 225 / 256.0f);
            positionBar.overlayTR = new FlatRedBall.Math.Geometry.Point(1 / 256.0f, 225 / 256.0f);
            positionBar.overlayBL = new FlatRedBall.Math.Geometry.Point(1 / 256.0f, 226 / 256.0f);
            positionBar.overlayBR = new FlatRedBall.Math.Geometry.Point(0, 226 / 256.0f);

            positionBar.Name = "TimeLine position bar";

	
			SetBarToValue();

			this.Click += new GuiMessage(ClickEvent);
        }

Same methods

TimeLine::TimeLine ( GuiSkin guiSkin, Cursor cursor ) : System