C# Class FSO.IDE.ResourceBrowser.ResourceEditors.SPR2ResourceControl

Mostrar archivo Open project: RHY3756547/FreeSO

Public Properties

Property Type Description
ActiveIff GameIffResource
GraphicChunk SPR2
Graphics Image[][]

Public Methods

Method Description
ExportSPR ( int index, string path ) : void
SPR2ResourceControl ( ) : System
SetActiveObject ( GameObject obj ) : void
SetActiveResource ( IffChunk chunk, GameIffResource res ) : void
SetDisplay ( ) : void
SetOBJDAttrs ( OBJDSelector selectors ) : void
UpdateGraphics ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AutoZooms_CheckedChanged ( object sender, EventArgs e ) : void
ChannelFromSlice ( Bitmap colDep, Bitmap alpha, Rectangle slice ) : Bitmap[]
DeleteButton_Click ( object sender, EventArgs e ) : void
DeleteRotation ( int id ) : void
ExportAll_Click ( object sender, EventArgs e ) : void
ExportButton_Click ( object sender, EventArgs e ) : void
FileBrowse ( FileDialog dialog ) : bool
FolderBrowse ( FolderBrowserDialog dialog ) : void
FrameList_SelectedIndexChanged ( object sender, EventArgs e ) : void
ImportAll_Click ( object sender, EventArgs e ) : void
ImportButton_Click ( object sender, EventArgs e ) : void
ImportSprites ( string path, int targrot ) : void
InitializeComponent ( ) : void

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

NewButton_Click ( object sender, EventArgs e ) : void
NewRotation ( int num ) : void
ReplaceSprite ( Bitmap bmps, int frame ) : void
SheetImport_Click ( object sender, EventArgs e ) : void
SmartDownscale ( Bitmap pixel, int factor, Color skip ) : Bitmap
comboBox1_SelectedIndexChanged ( 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

ExportSPR() public method

public ExportSPR ( int index, string path ) : void
index int
path string
return void

SPR2ResourceControl() public method

public SPR2ResourceControl ( ) : System
return System

SetActiveObject() public method

public SetActiveObject ( GameObject obj ) : void
obj GameObject
return void

SetActiveResource() public method

public SetActiveResource ( IffChunk chunk, GameIffResource res ) : void
chunk IffChunk
res GameIffResource
return void

SetDisplay() public method

public SetDisplay ( ) : void
return void

SetOBJDAttrs() public method

public SetOBJDAttrs ( OBJDSelector selectors ) : void
selectors OBJDSelector
return void

UpdateGraphics() public method

public UpdateGraphics ( ) : void
return void

Property Details

ActiveIff public_oe property

public GameIffResource ActiveIff
return GameIffResource

GraphicChunk public_oe property

public SPR2 GraphicChunk
return SPR2

Graphics public_oe property

public Image[][] Graphics
return Image[][]