C# Class AnimatGuiCtrls.Controls.TimeRuler

Inheritance: System.Windows.Forms.Control, IMessageFilter
Datei anzeigen Open project: NeuroRoboticTech/AnimatLabPublicSource Class Usage Examples

Protected Properties

Property Type Description
_aryKeyFrames KeyFrameCollection

Private Properties

Property Type Description
AddKeyFrame void
AddVideoFrame void
CalculateMillisecondPixel int
CalculateMillisecondValue long
CalculatePixel int
CalculateValue double
CalculateZoomFactor double
ChangeMousePosition void
ContextMenu_Popup void
DefaultMajorInterval int
DefaultMajorInterval int
DefaultScale int
DefaultScale int
DefaultScale int
DefaultScale int
DefaultScale1 float
DivisionMark void
DrawControl void
DrawProgressBar void
DrawProgressBars void
DrawTimeScale void
DrawValue void
GetMillisecondScale int
GetMousePosition Point
GetTimeScaleAbbreviation string
InitializeComponent void
Line void
Offset int
OnCurrentFrameMoved void
OnHooverValue void
OnKeyFrameAdded void
OnKeyFrameMoved void
OnKeyFrameMoving void
OnKeyFrameRemoved void
OnKeyFrameSelected void
OnPaint void
OnScaleModeChanged void
PreFilterMessage bool
RecalculateDivisions void
RecalculateTimeScale void
RecalculateZoom void
RemoveKeyFrame void
RemoveVideoFrame void
RulerControl_DoubleClick void
RulerControl_MouseDown void
RulerControl_MouseMove void
RulerControl_MouseUp void
Start int

Public Methods

Method Description
Clear ( ) : void
PixelToScaleValue ( int iOffset ) : double
RedrawBitmap ( ) : void
Refresh ( ) : void
RenderTrackLine ( Graphics g ) : void
ResetTime ( ) : void
ScaleValueToPixel ( double nScaleValue ) : int
TimeRuler ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnEnter ( EventArgs e ) : void
OnHandleDestroyed ( EventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnResize ( EventArgs e ) : void

Private Methods

Method Description
AddKeyFrame ( Point pMousePos ) : void
AddVideoFrame ( Point pMousePos ) : void
CalculateMillisecondPixel ( double nScaleValue ) : int
CalculateMillisecondValue ( int iOffset ) : long
CalculatePixel ( double nScaleValue ) : int
CalculateValue ( int iOffset ) : double
CalculateZoomFactor ( int iSize, enumTimeScale timeScale ) : double
ChangeMousePosition ( int iNewPosition ) : void
ContextMenu_Popup ( object sender, EventArgs e ) : void
DefaultMajorInterval ( ) : int
DefaultMajorInterval ( enumScaleMode iScaleMode ) : int
DefaultScale ( ) : int
DefaultScale ( double dblZoomFactor ) : int
DefaultScale ( enumScaleMode iScaleMode ) : int
DefaultScale ( enumScaleMode iScaleMode, double dblZoomFactor ) : int
DefaultScale1 ( enumScaleMode iScaleMode, double dblZoomFactor ) : float
DivisionMark ( Graphics g, int iPosition, int iProportion ) : void
DrawControl ( Graphics graphics ) : void
DrawProgressBar ( Graphics g, long lMillisecond, System barBrush ) : void
DrawProgressBars ( Graphics g ) : void
DrawTimeScale ( Graphics g ) : void
DrawValue ( Graphics g, int iValue, int iPosition, int iSpaceAvailable ) : void
GetMillisecondScale ( enumTimeScale timeScale ) : int
GetMousePosition ( ) : Point
GetTimeScaleAbbreviation ( enumTimeScale timeScale ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Line ( Graphics g, int x1, int y1, int x2, int y2 ) : void
Offset ( ) : int
OnCurrentFrameMoved ( KeyFrame frameSelected ) : void
OnHooverValue ( HooverValueEventArgs e ) : void
OnKeyFrameAdded ( KeyFrame frameSelected ) : void
OnKeyFrameMoved ( KeyFrame frameSelected ) : void
OnKeyFrameMoving ( KeyFrame frameSelected ) : void
OnKeyFrameRemoved ( KeyFrame frameSelected ) : void
OnKeyFrameSelected ( KeyFrame frameSelected ) : void
OnPaint ( PaintEventArgs e ) : void
OnScaleModeChanged ( ScaleModeChangedEventArgs e ) : void
PreFilterMessage ( Message &m ) : bool
RecalculateDivisions ( ) : void
RecalculateTimeScale ( ) : void
RecalculateZoom ( ) : void
RemoveKeyFrame ( Point pMousePos ) : void
RemoveVideoFrame ( Point pMousePos ) : void
RulerControl_DoubleClick ( object sender, System e ) : void
RulerControl_MouseDown ( object sender, System e ) : void
RulerControl_MouseMove ( object sender, System e ) : void
RulerControl_MouseUp ( object sender, System e ) : void
Start ( ) : int

Method Details

Clear() public method

public Clear ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

OnEnter() protected method

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
return void

OnHandleDestroyed() protected method

protected OnHandleDestroyed ( EventArgs e ) : void
e System.EventArgs
return void

OnLeave() protected method

protected OnLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

PixelToScaleValue() public method

public PixelToScaleValue ( int iOffset ) : double
iOffset int
return double

RedrawBitmap() public method

public RedrawBitmap ( ) : void
return void

Refresh() public method

public Refresh ( ) : void
return void

RenderTrackLine() public method

public RenderTrackLine ( Graphics g ) : void
g Graphics
return void

ResetTime() public method

public ResetTime ( ) : void
return void

ScaleValueToPixel() public method

public ScaleValueToPixel ( double nScaleValue ) : int
nScaleValue double
return int

TimeRuler() public method

public TimeRuler ( ) : System
return System

Property Details

_aryKeyFrames protected_oe property

protected KeyFrameCollection _aryKeyFrames
return KeyFrameCollection