C# Class AnimatGuiCtrls.Controls.TimeRuler

Inheritance: System.Windows.Forms.Control, IMessageFilter
Afficher le fichier Open project: NeuroRoboticTech/AnimatLabPublicSource Class Usage Examples

Protected Properties

Свойство Type Description
_aryKeyFrames KeyFrameCollection

Private Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
OnEnter ( EventArgs e ) : void
OnHandleDestroyed ( EventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnResize ( EventArgs e ) : void

Private Methods

Méthode 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 méthode

public Clear ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OnEnter() protected méthode

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnHandleDestroyed() protected méthode

protected OnHandleDestroyed ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnLeave() protected méthode

protected OnLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnResize() protected méthode

protected OnResize ( EventArgs e ) : void
e System.EventArgs
Résultat void

PixelToScaleValue() public méthode

public PixelToScaleValue ( int iOffset ) : double
iOffset int
Résultat double

RedrawBitmap() public méthode

public RedrawBitmap ( ) : void
Résultat void

Refresh() public méthode

public Refresh ( ) : void
Résultat void

RenderTrackLine() public méthode

public RenderTrackLine ( Graphics g ) : void
g Graphics
Résultat void

ResetTime() public méthode

public ResetTime ( ) : void
Résultat void

ScaleValueToPixel() public méthode

public ScaleValueToPixel ( double nScaleValue ) : int
nScaleValue double
Résultat int

TimeRuler() public méthode

public TimeRuler ( ) : System
Résultat System

Property Details

_aryKeyFrames protected_oe property

protected KeyFrameCollection _aryKeyFrames
Résultat KeyFrameCollection