C# Class SadConsoleEditor.Panels.AnimationFramesPanel

Inheritance: CustomPanel
ファイルを表示 Open project: Thraka/SadConsoleEditor Class Usage Examples

Public Methods

Method 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

Method 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 method

public AnimationFramesPanel ( Action frameChangeCallback ) : System
frameChangeCallback Action
return System

Loaded() public method

public Loaded ( ) : void
return void

ProcessMouse() public method

public ProcessMouse ( SadConsole info ) : void
info SadConsole
return void

Redraw() public method

public Redraw ( ControlBase control ) : int
control SadConsole.Controls.ControlBase
return int

SetAnimation() public method

public SetAnimation ( AnimatedTextSurface animation ) : void
animation SadConsole.Consoles.AnimatedTextSurface
return void

TryNextFrame() public method

public TryNextFrame ( ) : void
return void

TryPreviousFrame() public method

public TryPreviousFrame ( ) : void
return void