mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
223 lines
10 KiB
C#
223 lines
10 KiB
C#
namespace TTF2OPFF_Converter
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.FontComboBox = new System.Windows.Forms.ComboBox();
|
|
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
this.BrowseButton = new System.Windows.Forms.Button();
|
|
this.ConvertButton = new System.Windows.Forms.Button();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.CompressionComboBox = new System.Windows.Forms.ComboBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
this.TestButton2 = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(80, 119);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(31, 13);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Font:";
|
|
//
|
|
// FontComboBox
|
|
//
|
|
this.FontComboBox.FormattingEnabled = true;
|
|
this.FontComboBox.Location = new System.Drawing.Point(117, 116);
|
|
this.FontComboBox.Name = "FontComboBox";
|
|
this.FontComboBox.Size = new System.Drawing.Size(200, 21);
|
|
this.FontComboBox.Sorted = true;
|
|
this.FontComboBox.TabIndex = 1;
|
|
this.FontComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.FontComboBox_KeyPress);
|
|
//
|
|
// saveFileDialog1
|
|
//
|
|
this.saveFileDialog1.Filter = "Orvid Pre-Compiled Font File (*.opff)|*.opff";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(50, 150);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(61, 13);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "Output File:";
|
|
//
|
|
// textBox1
|
|
//
|
|
this.textBox1.Location = new System.Drawing.Point(117, 147);
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.Size = new System.Drawing.Size(200, 20);
|
|
this.textBox1.TabIndex = 3;
|
|
//
|
|
// BrowseButton
|
|
//
|
|
this.BrowseButton.Location = new System.Drawing.Point(323, 144);
|
|
this.BrowseButton.Name = "BrowseButton";
|
|
this.BrowseButton.Size = new System.Drawing.Size(75, 23);
|
|
this.BrowseButton.TabIndex = 4;
|
|
this.BrowseButton.Text = "Browse";
|
|
this.BrowseButton.UseVisualStyleBackColor = true;
|
|
this.BrowseButton.Click += new System.EventHandler(this.BrowseButton_Click);
|
|
//
|
|
// ConvertButton
|
|
//
|
|
this.ConvertButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.ConvertButton.Location = new System.Drawing.Point(181, 268);
|
|
this.ConvertButton.Name = "ConvertButton";
|
|
this.ConvertButton.Size = new System.Drawing.Size(87, 31);
|
|
this.ConvertButton.TabIndex = 5;
|
|
this.ConvertButton.Text = "Convert!";
|
|
this.ConvertButton.UseVisualStyleBackColor = true;
|
|
this.ConvertButton.Click += new System.EventHandler(this.ConvertButton_Click);
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.Size = new System.Drawing.Size(32, 32);
|
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
|
this.pictureBox1.TabIndex = 6;
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(301, 268);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
this.button1.TabIndex = 7;
|
|
this.button1.Text = "Test";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// CompressionComboBox
|
|
//
|
|
this.CompressionComboBox.FormattingEnabled = true;
|
|
this.CompressionComboBox.Items.AddRange(new object[] {
|
|
"None",
|
|
"LZMA"});
|
|
this.CompressionComboBox.Location = new System.Drawing.Point(117, 173);
|
|
this.CompressionComboBox.Name = "CompressionComboBox";
|
|
this.CompressionComboBox.Size = new System.Drawing.Size(200, 21);
|
|
this.CompressionComboBox.TabIndex = 8;
|
|
this.CompressionComboBox.SelectedIndexChanged += new System.EventHandler(this.CompressionComboBox_SelectedIndexChanged);
|
|
this.CompressionComboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CompressionComboBox_KeyDown);
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(2, 176);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(109, 13);
|
|
this.label3.TabIndex = 9;
|
|
this.label3.Text = "Compression Method:";
|
|
//
|
|
// pictureBox2
|
|
//
|
|
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.pictureBox2.Location = new System.Drawing.Point(311, 12);
|
|
this.pictureBox2.Name = "pictureBox2";
|
|
this.pictureBox2.Size = new System.Drawing.Size(32, 32);
|
|
this.pictureBox2.TabIndex = 10;
|
|
this.pictureBox2.TabStop = false;
|
|
//
|
|
// textBox2
|
|
//
|
|
this.textBox2.Location = new System.Drawing.Point(288, 242);
|
|
this.textBox2.Name = "textBox2";
|
|
this.textBox2.Size = new System.Drawing.Size(100, 20);
|
|
this.textBox2.TabIndex = 11;
|
|
this.textBox2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox2_KeyDown);
|
|
//
|
|
// TestButton2
|
|
//
|
|
this.TestButton2.Location = new System.Drawing.Point(42, 268);
|
|
this.TestButton2.Name = "TestButton2";
|
|
this.TestButton2.Size = new System.Drawing.Size(75, 44);
|
|
this.TestButton2.TabIndex = 12;
|
|
this.TestButton2.Text = "Test Image Fomat";
|
|
this.TestButton2.UseVisualStyleBackColor = true;
|
|
this.TestButton2.Click += new System.EventHandler(this.TestButton2_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(449, 363);
|
|
this.Controls.Add(this.TestButton2);
|
|
this.Controls.Add(this.textBox2);
|
|
this.Controls.Add(this.pictureBox2);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.CompressionComboBox);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.Controls.Add(this.ConvertButton);
|
|
this.Controls.Add(this.BrowseButton);
|
|
this.Controls.Add(this.textBox1);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.FontComboBox);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "Form1";
|
|
this.Text = "Orvid\'s TTF to OPFF Converter";
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.ComboBox FontComboBox;
|
|
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
private System.Windows.Forms.Button BrowseButton;
|
|
private System.Windows.Forms.Button ConvertButton;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.ComboBox CompressionComboBox;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.PictureBox pictureBox2;
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
private System.Windows.Forms.Button TestButton2;
|
|
}
|
|
}
|
|
|