C# Class WWActorEdit.Forms.EnvironmentLightingEditorForm

ファイルを表示 Open project: pho/WindViewer Class Usage Examples

Public Methods

Method Description
EnvironmentLightingEditorForm ( MainForm parent ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ColoGroupBoxIndex_ValueChanged ( object sender, EventArgs e ) : void

Called when anything in the Color GroupBox change.

ColorDropdown_SelectedIndexChanged ( object sender, EventArgs e ) : void

Called when the user changes the Color dropdown index.

EnvRDropdown_SelectedIndexChanged ( object sender, EventArgs e ) : void

Called when the user changes the EnvR dropdown index. We'll need to update all of the Values to point to the new EnvR element.

EnvRGroupBoxIndex_ValueChanged ( object sender, EventArgs e ) : void

Called when any of the Indexes change in the EnvRGroup.

EnvRType_CheckedChanged ( object sender, EventArgs e ) : void

Called when the user changes the EnvR type from A to B or back. Need to update all of the Values because we're sharing controls for types A and B.

EnvironmentLightingEditorForm_Load ( object sender, EventArgs e ) : void

Called when the Form is loaded. This is a temporary solution until there's some form of Event evoked by Archives being loaded. We'll grab the loaded archives from the MainForm and populate our list of DZS files with it.

InitializeComponent ( ) : void

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

LoadDZSForStage ( ZeldaArc stage ) : void
PaleColorField_Click ( object sender, EventArgs e ) : void

Called when ANY of the color fields in Pale are clicked on.

PaleDropdown_SelectedIndexChanged ( object sender, EventArgs e ) : void
PaleIndex_ValueChanged ( object sender, EventArgs e ) : void

Called when any of the indexes in the Pale group change.

SetPaleColorBoxColor ( ByteColor color ) : Color
SetPaleColorBoxColor ( ByteColorAlpha color ) : Color
SetPaleMemoryColor ( PictureBox source ) : ByteColor
UpdateColoGroupBox ( ) : void

This will update all of the values within the Color GroupBox to point to whatever the //current _coloChunk's values are.

UpdateEnvrGroupBox ( ) : void

This will update the values within the Environment GroupBox to point to whatever the current _envrChunk's values are.

UpdatePaleGroupBox ( ) : void

This updates all of the values within the Pale Groupbox to point to whatever the current _paleChunk's values are.

UpdateVirtGroupBox ( ) : void
VirtColorField_Click ( object sender, EventArgs e ) : void
VirtDropdown_SelectedIndexChanged ( object sender, EventArgs e ) : void
VirtUnknownIndex_ValueChanged ( object sender, EventArgs e ) : void

Called when either of the Unknown groups in Virt change.

cancelButton_Click ( object sender, EventArgs e ) : void
saveButton_Click ( 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

EnvironmentLightingEditorForm() public method

public EnvironmentLightingEditorForm ( MainForm parent ) : System
parent MainForm
return System