C# Class TextEditor2.MainUI

Show file Open project: Sage-of-Mirrors/TheWindWaker_Text_Editor Class Usage Examples

Public Properties

Property Type Description
ArcFilePath string
ColorList List
Inhibit bool
IsBMCLoaded bool
IsBMGLoaded bool
IsSearchByText bool
LastSearchTerm string
MessageList List
SaveSearchID int
SaveSearchText string
SelectedMessageIndex int

Public Methods

Method Description
MainUI ( ) : System
colorEditor_saveTheColors ( List editedColorList ) : void
updown_KeyDown ( object sender, KeyEventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnIndexChanged ( int Index ) : void

Private Methods

Method Description
AddArrowTags ( string text ) : void

This handles the tag inserts at TextBoxMenu/Control Tags/Icons/Arrows. They are the up, down, left, and right arrows.

AddControlStickTags ( string text ) : void

This handles the tag inserts at TextBoxMenu/Control Tags/Controller Buttons/Control Stick. They are the Gamecube Controller's control stick's static icon along with its various animated variants.

AddDrawTags ( string text ) : void

This handles the tag inserts at TextBoxMenu/Control Tags/Draw. They are the draw instantly and draw by character tags.

AddIDBox ( ) : void
AddIconTags ( string text ) : void

This handles the tag inserts at TextBoxMenu/Control Tags/Icons. They are the heart, music note, and target starburst icons.

AddMainControllerTags ( string text ) : void

This handles the tag inserts at TextBoxMenu/Control Tags/Controller Buttons. They are button icons from the Gamecube's controller.

AddNewMessage ( ) : void
AddPlayerColorScaleTags ( string text ) : void

Handles the three tag inserts at TextBoxMenu/Control Tags. They are the player's name, text color, and text size.

AddSearchTextBox ( ) : void
AddWaitTags ( string text ) : void

This handles the tag inserts at TextBoxMenu/Control Tags/Wait. They are the wait, wait + dismiss, wait + dismiss (prompt), and dismiss tags.

ChangeTextAndBoxInfo ( ) : void
DeleteMessage ( ) : void
FillBoxInfo ( ) : void
FillMessageListBox ( ) : void
FillMessageTextBox ( ) : void
GetHighestMsgID ( ) : int
IDSearch ( int searchID ) : void
IndexBox_ValueChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

ItemIDUpDown_ValueChanged ( object sender, EventArgs e ) : void
LinesUpDown_ValueChanged ( object sender, EventArgs e ) : void
LoadMainUI ( ) : void
MessageListBox_MouseDown ( object sender, MouseEventArgs e ) : void
MessageListBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
MessageText_TextChanged ( object sender, EventArgs e ) : void
OpenFile ( ) : void
PosCombo_SelectionChangeCommitted ( object sender, EventArgs e ) : void
ProofreadTagsToCodes ( ) : void
SaveFiles ( ) : void
Search ( ) : void
SearchButton_Click ( object sender, EventArgs e ) : void
TextSearch ( string searchString ) : void
TypeCombo_SelectionChangeCommitted ( object sender, EventArgs e ) : void
UpdateSelectedMessage ( int index ) : void
addToolStripMenuItem_Click ( object sender, EventArgs e ) : void
arrowsToolStripMenuItem_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
controlStickToolStripMenuItem_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
controlTagsToolStripMenuItem1_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
controllerButtonsToolStripMenuItem_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
copyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
deleteToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
deleteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
drawToolStripMenuItem_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
iconsToolStripMenuItem_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
idOpt_CheckedChanged ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pasteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
proofreadToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
textColorsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
waitToolStripMenuItem_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs 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

MainUI() public method

public MainUI ( ) : System
return System

OnIndexChanged() protected method

protected OnIndexChanged ( int Index ) : void
Index int
return void

colorEditor_saveTheColors() public method

public colorEditor_saveTheColors ( List editedColorList ) : void
editedColorList List
return void

updown_KeyDown() public method

public updown_KeyDown ( object sender, KeyEventArgs e ) : void
sender object
e KeyEventArgs
return void

Property Details

ArcFilePath public property

public string ArcFilePath
return string

ColorList public property

public List ColorList
return List

Inhibit public property

public bool Inhibit
return bool

IsBMCLoaded public property

public bool IsBMCLoaded
return bool

IsBMGLoaded public property

public bool IsBMGLoaded
return bool

IsSearchByText public property

public bool IsSearchByText
return bool

LastSearchTerm public property

public string LastSearchTerm
return string

MessageList public property

public List MessageList
return List

SaveSearchID public property

public int SaveSearchID
return int

SaveSearchText public property

public string SaveSearchText
return string

SelectedMessageIndex public property

public int SelectedMessageIndex
return int