C# Class MegaMan.LevelEditor.SpriteEditor

ファイルを表示 Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Public Methods

Method Description
SpriteEditor ( Project project ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosed ( EventArgs e ) : void
OnResize ( EventArgs e ) : void

Private Methods

Method Description
CreateTransparencyLayer ( ) : void
DrawPreview ( ) : void
InitPreview ( ) : void
InitSprite ( int width, int height ) : void
InitializeComponent ( ) : void

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

ReDrawSource ( ) : void
SetupLayout ( ) : void
SetupSheet ( ) : void
browseButton_Click ( object sender, EventArgs e ) : void
buttonAddFrame_Click ( object sender, EventArgs e ) : void
buttonOk_Click ( object sender, EventArgs e ) : void
buttonRefreshSize_Click ( object sender, EventArgs e ) : void
checkSnap_CheckedChanged ( object sender, EventArgs e ) : void
currentFrame_ValueChanged ( object sender, EventArgs e ) : void
duration_ValueChanged ( object sender, EventArgs e ) : void
radioBlack_CheckedChanged ( object sender, EventArgs e ) : void
radioWhite_CheckedChanged ( object sender, EventArgs e ) : void
sourceImage_Click ( object sender, EventArgs e ) : void
sourceImage_MouseEnter ( object sender, EventArgs e ) : void
sourceImage_MouseLeave ( object sender, EventArgs e ) : void
sourceImage_MouseMove ( object sender, MouseEventArgs e ) : void
timer_Tick ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e EventArgs
return void

OnResize() protected method

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

SpriteEditor() public method

public SpriteEditor ( Project project ) : System
project Project
return System