C# Class HyoutaTools.Tales.Vesperia.Font.Viewer.FontViewer

Inheritance: System.Windows.Forms.Form
Mostra file Open project: AdmiralCurtiss/HyoutaTools Class Usage Examples

Public Properties

Property Type Description
Filepath string
FontInfoOffset int
FontPngDir string

Public Methods

Method Description
Draw ( int CharacterID, int xOffs, int yOffs ) : void
DrawLineBelowLetter ( int x, int y, int Length ) : void
FontViewer ( ) : System
FontViewer ( FontInfo f, String Font, String FontPngDir, int Fontblock, String Textlines, bool BoxByBox, bool ApproxDialogueColor ) : System
SaveAsPng ( String pngname ) : void
UpdateAll ( ) : void
UpdateAny ( ) : void
UpdateSingleCharacter ( ) : void
UpdateText ( String Textlines ) : void
UpdateText ( string Text ) : void
UpdateTextures ( String Filename ) : void
WriteElf ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

TownMapIDBox_ValueChanged ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
buttonWriteGN_Click ( object sender, EventArgs e ) : void
buttonWriteNewCharLength_Click ( object sender, EventArgs e ) : void
checkBoxApproxDialogue_CheckedChanged ( object sender, EventArgs e ) : void
numUpDownCharLength_ValueChanged ( object sender, EventArgs e ) : void
pictureBox1_MouseDown ( object sender, MouseEventArgs e ) : void
pictureBox2_Click ( object sender, EventArgs e ) : void
pictureBox2_MouseDown ( object sender, MouseEventArgs e ) : void
textBoxDisplayDelay_TextChanged ( object sender, EventArgs e ) : void
textBoxFilename_TextChanged ( 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

Draw() public method

public Draw ( int CharacterID, int xOffs, int yOffs ) : void
CharacterID int
xOffs int
yOffs int
return void

DrawLineBelowLetter() public method

public DrawLineBelowLetter ( int x, int y, int Length ) : void
x int
y int
Length int
return void

FontViewer() public method

public FontViewer ( ) : System
return System

FontViewer() public method

public FontViewer ( FontInfo f, String Font, String FontPngDir, int Fontblock, String Textlines, bool BoxByBox, bool ApproxDialogueColor ) : System
f FontInfo
Font String
FontPngDir String
Fontblock int
Textlines String
BoxByBox bool
ApproxDialogueColor bool
return System

SaveAsPng() public method

public SaveAsPng ( String pngname ) : void
pngname String
return void

UpdateAll() public method

public UpdateAll ( ) : void
return void

UpdateAny() public method

public UpdateAny ( ) : void
return void

UpdateSingleCharacter() public method

public UpdateSingleCharacter ( ) : void
return void

UpdateText() public method

public UpdateText ( String Textlines ) : void
Textlines String
return void

UpdateText() public method

public UpdateText ( string Text ) : void
Text string
return void

UpdateTextures() public method

public UpdateTextures ( String Filename ) : void
Filename String
return void

WriteElf() public method

public WriteElf ( ) : void
return void

Property Details

Filepath public_oe property

public string Filepath
return string

FontInfoOffset public_oe property

public int FontInfoOffset
return int

FontPngDir public_oe property

public string FontPngDir
return string