C# Class MOTHER3Funland.ArrangementEditor

Show file Open project: jeffman/MOTHER-3-Funland

Public Properties

Property Type Description
EditLimit int

Private Properties

Property Type Description
DrawTile void
InitializeComponent void
btnExport_Click void
btnImport_Click void
btnTileMenu_Click void
chkFlipH_CheckedChanged void
chkFlipV_CheckedChanged void
contextControls_Opening void
mnuControlGrid_Click void
pArr_MouseClick void
pArr_MouseDown void
pArr_Paint void
pTile_MouseClick void
pTile_MouseUp void
pTile_Paint void
pTileset_MouseClick void
pTileset_MouseDown void
pTileset_Paint void
palSelector_PalChanged void
palSelector_PalModified void

Public Methods

Method Description
ArrangementEditor ( ) : System
Clear ( ) : void
GetArrangement ( ) : ArrEntry[]
GetPalette ( ) : MPalette
GetTileset ( ) : byte[]
GetTileset ( byte dest, int destOffset ) : void
RefreshArr ( ) : void
RefreshTile ( ) : void
RefreshTileset ( ) : void
RenderArr ( ) : void
RenderTile ( ) : void
RenderTileset ( ) : void
SetArrangement ( ArrEntry arr, int w, int h ) : void
SetPalette ( MPalette pal ) : void
SetTileset ( byte data, int gfxOffset, int tileCount = -1, int editlimit = -1 ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnTileModified ( EventArgs e ) : void

Private Methods

Method Description
DrawTile ( int x, int y ) : void
InitializeComponent ( ) : void

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

btnExport_Click ( object sender, EventArgs e ) : void
btnImport_Click ( object sender, EventArgs e ) : void
btnTileMenu_Click ( object sender, EventArgs e ) : void
chkFlipH_CheckedChanged ( object sender, EventArgs e ) : void
chkFlipV_CheckedChanged ( object sender, EventArgs e ) : void
contextControls_Opening ( object sender, CancelEventArgs e ) : void
mnuControlGrid_Click ( object sender, EventArgs e ) : void
pArr_MouseClick ( object sender, MouseEventArgs e ) : void
pArr_MouseDown ( object sender, MouseEventArgs e ) : void
pArr_Paint ( object sender, PaintEventArgs e ) : void
pTile_MouseClick ( object sender, MouseEventArgs e ) : void
pTile_MouseUp ( object sender, MouseEventArgs e ) : void
pTile_Paint ( object sender, PaintEventArgs e ) : void
pTileset_MouseClick ( object sender, MouseEventArgs e ) : void
pTileset_MouseDown ( object sender, MouseEventArgs e ) : void
pTileset_Paint ( object sender, PaintEventArgs e ) : void
palSelector_PalChanged ( object sender, EventArgs e ) : void
palSelector_PalModified ( object sender, EventArgs e ) : void

Method Details

ArrangementEditor() public method

public ArrangementEditor ( ) : System
return System

Clear() public method

public Clear ( ) : void
return void

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

GetArrangement() public method

public GetArrangement ( ) : ArrEntry[]
return ArrEntry[]

GetPalette() public method

public GetPalette ( ) : MPalette
return MPalette

GetTileset() public method

public GetTileset ( ) : byte[]
return byte[]

GetTileset() public method

public GetTileset ( byte dest, int destOffset ) : void
dest byte
destOffset int
return void

OnTileModified() protected method

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

RefreshArr() public method

public RefreshArr ( ) : void
return void

RefreshTile() public method

public RefreshTile ( ) : void
return void

RefreshTileset() public method

public RefreshTileset ( ) : void
return void

RenderArr() public method

public RenderArr ( ) : void
return void

RenderTile() public method

public RenderTile ( ) : void
return void

RenderTileset() public method

public RenderTileset ( ) : void
return void

SetArrangement() public method

public SetArrangement ( ArrEntry arr, int w, int h ) : void
arr ArrEntry
w int
h int
return void

SetPalette() public method

public SetPalette ( MPalette pal ) : void
pal MPalette
return void

SetTileset() public method

public SetTileset ( byte data, int gfxOffset, int tileCount = -1, int editlimit = -1 ) : void
data byte
gfxOffset int
tileCount int
editlimit int
return void

Property Details

EditLimit public property

public int EditLimit
return int