C# Class SadConsoleEditor.Panels.AnimationFramesPanel

Inheritance: CustomPanel
Afficher le fichier Open project: Thraka/SadConsoleEditor Class Usage Examples

Méthodes publiques

Méthode Description
AnimationFramesPanel ( Action frameChangeCallback ) : System
Loaded ( ) : void
ProcessMouse ( SadConsole info ) : void
Redraw ( ControlBase control ) : int
SetAnimation ( AnimatedTextSurface animation ) : void
TryNextFrame ( ) : void
TryPreviousFrame ( ) : void

Private Methods

Méthode Description
DrawFrameCount ( ) : void
EnableDisableControls ( int currentIndex ) : void
addNewFrameFromFile_ButtonClicked ( object sender, EventArgs e ) : void
addNewFrame_ButtonClicked ( object sender, EventArgs e ) : void
clonePreviousFrame_ButtonClicked ( object sender, EventArgs e ) : void
moveSelectedDown_ButtonClicked ( object sender, EventArgs e ) : void
moveSelectedUp_ButtonClicked ( object sender, EventArgs e ) : void
nextFrame_ButtonClicked ( object sender, EventArgs e ) : void
previousFrame_ButtonClicked ( object sender, EventArgs e ) : void
removeSelected_ButtonClicked ( object sender, EventArgs e ) : void
saveFrameToFile_ButtonClicked ( object sender, EventArgs e ) : void

Method Details

AnimationFramesPanel() public méthode

public AnimationFramesPanel ( Action frameChangeCallback ) : System
frameChangeCallback Action
Résultat System

Loaded() public méthode

public Loaded ( ) : void
Résultat void

ProcessMouse() public méthode

public ProcessMouse ( SadConsole info ) : void
info SadConsole
Résultat void

Redraw() public méthode

public Redraw ( ControlBase control ) : int
control SadConsole.Controls.ControlBase
Résultat int

SetAnimation() public méthode

public SetAnimation ( AnimatedTextSurface animation ) : void
animation SadConsole.Consoles.AnimatedTextSurface
Résultat void

TryNextFrame() public méthode

public TryNextFrame ( ) : void
Résultat void

TryPreviousFrame() public méthode

public TryPreviousFrame ( ) : void
Résultat void