385 lines
18 KiB
C#
385 lines
18 KiB
C#
namespace McBitFont {
|
|
partial class Export {
|
|
/// <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() {
|
|
components = new System.ComponentModel.Container();
|
|
txtOutput = new System.Windows.Forms.RichTextBox();
|
|
gbScan = new System.Windows.Forms.GroupBox();
|
|
cbVDir = new System.Windows.Forms.ComboBox();
|
|
cbHDir = new System.Windows.Forms.ComboBox();
|
|
cbOrder = new System.Windows.Forms.ComboBox();
|
|
gbOptions = new System.Windows.Forms.GroupBox();
|
|
cbPacked = new System.Windows.Forms.CheckBox();
|
|
cbZeroes = new System.Windows.Forms.CheckBox();
|
|
cbHeader = new System.Windows.Forms.CheckBox();
|
|
cbComments = new System.Windows.Forms.CheckBox();
|
|
gbNumbers = new System.Windows.Forms.GroupBox();
|
|
cbBitOrder = new System.Windows.Forms.ComboBox();
|
|
cbNumSize = new System.Windows.Forms.ComboBox();
|
|
cbNumBase = new System.Windows.Forms.ComboBox();
|
|
gbText = new System.Windows.Forms.GroupBox();
|
|
lblXLines = new System.Windows.Forms.Label();
|
|
nudXLines = new System.Windows.Forms.NumericUpDown();
|
|
cbLines = new System.Windows.Forms.ComboBox();
|
|
cbFormat = new System.Windows.Forms.ComboBox();
|
|
btnGenerate = new System.Windows.Forms.Button();
|
|
btnClose = new System.Windows.Forms.Button();
|
|
toolTip1 = new System.Windows.Forms.ToolTip(components);
|
|
gbScan.SuspendLayout();
|
|
gbOptions.SuspendLayout();
|
|
gbNumbers.SuspendLayout();
|
|
gbText.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)nudXLines).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// txtOutput
|
|
//
|
|
txtOutput.AcceptsTab = true;
|
|
txtOutput.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
|
txtOutput.AutoWordSelection = true;
|
|
txtOutput.DetectUrls = false;
|
|
txtOutput.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204);
|
|
txtOutput.HideSelection = false;
|
|
txtOutput.Location = new System.Drawing.Point(176, 14);
|
|
txtOutput.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
txtOutput.Name = "txtOutput";
|
|
txtOutput.Size = new System.Drawing.Size(616, 584);
|
|
txtOutput.TabIndex = 0;
|
|
txtOutput.Text = "";
|
|
txtOutput.WordWrap = false;
|
|
//
|
|
// gbScan
|
|
//
|
|
gbScan.Controls.Add(cbVDir);
|
|
gbScan.Controls.Add(cbHDir);
|
|
gbScan.Controls.Add(cbOrder);
|
|
gbScan.Location = new System.Drawing.Point(6, 14);
|
|
gbScan.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
gbScan.Name = "gbScan";
|
|
gbScan.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
gbScan.Size = new System.Drawing.Size(163, 121);
|
|
gbScan.TabIndex = 1;
|
|
gbScan.TabStop = false;
|
|
gbScan.Text = "Scan";
|
|
//
|
|
// cbVDir
|
|
//
|
|
cbVDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
cbVDir.FormattingEnabled = true;
|
|
cbVDir.Items.AddRange(new object[] { "Top to Bottom", "Bottom to Top" });
|
|
cbVDir.Location = new System.Drawing.Point(12, 84);
|
|
cbVDir.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbVDir.Name = "cbVDir";
|
|
cbVDir.Size = new System.Drawing.Size(140, 23);
|
|
cbVDir.TabIndex = 2;
|
|
//
|
|
// cbHDir
|
|
//
|
|
cbHDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
cbHDir.FormattingEnabled = true;
|
|
cbHDir.Items.AddRange(new object[] { "Left to Right", "Right to Left" });
|
|
cbHDir.Location = new System.Drawing.Point(12, 53);
|
|
cbHDir.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbHDir.Name = "cbHDir";
|
|
cbHDir.Size = new System.Drawing.Size(140, 23);
|
|
cbHDir.TabIndex = 1;
|
|
//
|
|
// cbOrder
|
|
//
|
|
cbOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
cbOrder.FormattingEnabled = true;
|
|
cbOrder.Items.AddRange(new object[] { "Columns", "Rows" });
|
|
cbOrder.Location = new System.Drawing.Point(12, 22);
|
|
cbOrder.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbOrder.Name = "cbOrder";
|
|
cbOrder.Size = new System.Drawing.Size(140, 23);
|
|
cbOrder.TabIndex = 0;
|
|
cbOrder.SelectedIndexChanged += cbOrder_SelectedIndexChanged;
|
|
//
|
|
// gbOptions
|
|
//
|
|
gbOptions.Controls.Add(cbPacked);
|
|
gbOptions.Controls.Add(cbZeroes);
|
|
gbOptions.Controls.Add(cbHeader);
|
|
gbOptions.Controls.Add(cbComments);
|
|
gbOptions.Location = new System.Drawing.Point(6, 398);
|
|
gbOptions.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
gbOptions.Name = "gbOptions";
|
|
gbOptions.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
gbOptions.Size = new System.Drawing.Size(163, 116);
|
|
gbOptions.TabIndex = 3;
|
|
gbOptions.TabStop = false;
|
|
gbOptions.Text = "Options";
|
|
//
|
|
// cbPacked
|
|
//
|
|
cbPacked.AutoSize = true;
|
|
cbPacked.Location = new System.Drawing.Point(7, 90);
|
|
cbPacked.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbPacked.Name = "cbPacked";
|
|
cbPacked.Size = new System.Drawing.Size(89, 19);
|
|
cbPacked.TabIndex = 3;
|
|
cbPacked.Text = "Packed font";
|
|
toolTip1.SetToolTip(cbPacked, "Pack symbols utilizing all bits within a symbol");
|
|
cbPacked.UseVisualStyleBackColor = true;
|
|
cbPacked.CheckedChanged += cbPacked_CheckedChanged;
|
|
//
|
|
// cbZeroes
|
|
//
|
|
cbZeroes.AutoSize = true;
|
|
cbZeroes.Checked = true;
|
|
cbZeroes.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
cbZeroes.Location = new System.Drawing.Point(7, 66);
|
|
cbZeroes.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbZeroes.Name = "cbZeroes";
|
|
cbZeroes.Size = new System.Drawing.Size(104, 19);
|
|
cbZeroes.TabIndex = 2;
|
|
cbZeroes.Text = "Leading zeroes";
|
|
toolTip1.SetToolTip(cbZeroes, "Add leading zeroes: 0x01 / 0x1");
|
|
cbZeroes.UseVisualStyleBackColor = true;
|
|
//
|
|
// cbHeader
|
|
//
|
|
cbHeader.AutoSize = true;
|
|
cbHeader.Checked = true;
|
|
cbHeader.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
cbHeader.Location = new System.Drawing.Point(7, 18);
|
|
cbHeader.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbHeader.Name = "cbHeader";
|
|
cbHeader.Size = new System.Drawing.Size(92, 19);
|
|
cbHeader.TabIndex = 1;
|
|
cbHeader.Text = "Meta header";
|
|
toolTip1.SetToolTip(cbHeader, "Add meta header with meta data");
|
|
cbHeader.UseVisualStyleBackColor = true;
|
|
cbHeader.CheckedChanged += cbFormat_SelectedIndexChanged;
|
|
//
|
|
// cbComments
|
|
//
|
|
cbComments.AutoSize = true;
|
|
cbComments.Checked = true;
|
|
cbComments.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
cbComments.Location = new System.Drawing.Point(7, 42);
|
|
cbComments.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbComments.Name = "cbComments";
|
|
cbComments.Size = new System.Drawing.Size(85, 19);
|
|
cbComments.TabIndex = 0;
|
|
cbComments.Text = "Comments";
|
|
toolTip1.SetToolTip(cbComments, "Add descriptive comments");
|
|
cbComments.UseVisualStyleBackColor = true;
|
|
//
|
|
// gbNumbers
|
|
//
|
|
gbNumbers.Controls.Add(cbBitOrder);
|
|
gbNumbers.Controls.Add(cbNumSize);
|
|
gbNumbers.Controls.Add(cbNumBase);
|
|
gbNumbers.Location = new System.Drawing.Point(6, 142);
|
|
gbNumbers.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
gbNumbers.Name = "gbNumbers";
|
|
gbNumbers.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
gbNumbers.Size = new System.Drawing.Size(163, 121);
|
|
gbNumbers.TabIndex = 4;
|
|
gbNumbers.TabStop = false;
|
|
gbNumbers.Text = "Numbers";
|
|
//
|
|
// cbBitOrder
|
|
//
|
|
cbBitOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
cbBitOrder.FormattingEnabled = true;
|
|
cbBitOrder.Items.AddRange(new object[] { "LSB Top", "MSB Top" });
|
|
cbBitOrder.Location = new System.Drawing.Point(12, 22);
|
|
cbBitOrder.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbBitOrder.Name = "cbBitOrder";
|
|
cbBitOrder.Size = new System.Drawing.Size(140, 23);
|
|
cbBitOrder.TabIndex = 5;
|
|
//
|
|
// cbNumSize
|
|
//
|
|
cbNumSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
cbNumSize.FormattingEnabled = true;
|
|
cbNumSize.Items.AddRange(new object[] { "8 bit", "16 bit", "32 bit" });
|
|
cbNumSize.Location = new System.Drawing.Point(12, 84);
|
|
cbNumSize.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbNumSize.Name = "cbNumSize";
|
|
cbNumSize.Size = new System.Drawing.Size(140, 23);
|
|
cbNumSize.TabIndex = 4;
|
|
//
|
|
// cbNumBase
|
|
//
|
|
cbNumBase.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
cbNumBase.FormattingEnabled = true;
|
|
cbNumBase.Items.AddRange(new object[] { "Hexadecimal", "Binary", "Decimal" });
|
|
cbNumBase.Location = new System.Drawing.Point(12, 53);
|
|
cbNumBase.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbNumBase.Name = "cbNumBase";
|
|
cbNumBase.Size = new System.Drawing.Size(140, 23);
|
|
cbNumBase.TabIndex = 3;
|
|
//
|
|
// gbText
|
|
//
|
|
gbText.Controls.Add(lblXLines);
|
|
gbText.Controls.Add(nudXLines);
|
|
gbText.Controls.Add(cbLines);
|
|
gbText.Controls.Add(cbFormat);
|
|
gbText.Location = new System.Drawing.Point(6, 270);
|
|
gbText.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
gbText.Name = "gbText";
|
|
gbText.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
gbText.Size = new System.Drawing.Size(163, 121);
|
|
gbText.TabIndex = 5;
|
|
gbText.TabStop = false;
|
|
gbText.Text = "Text format";
|
|
//
|
|
// lblXLines
|
|
//
|
|
lblXLines.AutoSize = true;
|
|
lblXLines.Enabled = false;
|
|
lblXLines.Location = new System.Drawing.Point(12, 88);
|
|
lblXLines.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
lblXLines.Name = "lblXLines";
|
|
lblXLines.Size = new System.Drawing.Size(67, 15);
|
|
lblXLines.TabIndex = 9;
|
|
lblXLines.Text = "X numbers:";
|
|
//
|
|
// nudXLines
|
|
//
|
|
nudXLines.Enabled = false;
|
|
nudXLines.Location = new System.Drawing.Point(89, 84);
|
|
nudXLines.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
nudXLines.Maximum = new decimal(new int[] { 64, 0, 0, 0 });
|
|
nudXLines.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
|
|
nudXLines.Name = "nudXLines";
|
|
nudXLines.Size = new System.Drawing.Size(64, 23);
|
|
nudXLines.TabIndex = 8;
|
|
nudXLines.Value = new decimal(new int[] { 8, 0, 0, 0 });
|
|
//
|
|
// cbLines
|
|
//
|
|
cbLines.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
cbLines.FormattingEnabled = true;
|
|
cbLines.Items.AddRange(new object[] { "1 Column per line", "1 Symbol per line", "X Numbers per line" });
|
|
cbLines.Location = new System.Drawing.Point(12, 53);
|
|
cbLines.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbLines.Name = "cbLines";
|
|
cbLines.Size = new System.Drawing.Size(140, 23);
|
|
cbLines.TabIndex = 7;
|
|
cbLines.SelectedIndexChanged += cbLines_SelectedIndexChanged;
|
|
//
|
|
// cbFormat
|
|
//
|
|
cbFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
cbFormat.FormattingEnabled = true;
|
|
cbFormat.Items.AddRange(new object[] { "1D C array", "2D C array", "Comma separated" });
|
|
cbFormat.Location = new System.Drawing.Point(12, 22);
|
|
cbFormat.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbFormat.Name = "cbFormat";
|
|
cbFormat.Size = new System.Drawing.Size(140, 23);
|
|
cbFormat.TabIndex = 6;
|
|
cbFormat.SelectedIndexChanged += cbFormat_SelectedIndexChanged;
|
|
//
|
|
// btnGenerate
|
|
//
|
|
btnGenerate.Location = new System.Drawing.Point(6, 520);
|
|
btnGenerate.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
btnGenerate.Name = "btnGenerate";
|
|
btnGenerate.Size = new System.Drawing.Size(163, 35);
|
|
btnGenerate.TabIndex = 6;
|
|
btnGenerate.Text = "Generate";
|
|
btnGenerate.UseVisualStyleBackColor = true;
|
|
btnGenerate.Click += btnGenerate_Click;
|
|
//
|
|
// btnClose
|
|
//
|
|
btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
btnClose.Location = new System.Drawing.Point(6, 562);
|
|
btnClose.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
btnClose.Name = "btnClose";
|
|
btnClose.Size = new System.Drawing.Size(163, 35);
|
|
btnClose.TabIndex = 7;
|
|
btnClose.Text = "Close";
|
|
btnClose.UseVisualStyleBackColor = true;
|
|
//
|
|
// toolTip1
|
|
//
|
|
toolTip1.AutoPopDelay = 10000;
|
|
toolTip1.InitialDelay = 500;
|
|
toolTip1.ReshowDelay = 100;
|
|
//
|
|
// Export
|
|
//
|
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
CancelButton = btnClose;
|
|
ClientSize = new System.Drawing.Size(807, 613);
|
|
Controls.Add(btnClose);
|
|
Controls.Add(btnGenerate);
|
|
Controls.Add(gbText);
|
|
Controls.Add(gbNumbers);
|
|
Controls.Add(gbOptions);
|
|
Controls.Add(gbScan);
|
|
Controls.Add(txtOutput);
|
|
Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
MinimumSize = new System.Drawing.Size(814, 652);
|
|
Name = "Export";
|
|
ShowIcon = false;
|
|
ShowInTaskbar = false;
|
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
Text = "Export";
|
|
Load += Export_Load;
|
|
gbScan.ResumeLayout(false);
|
|
gbOptions.ResumeLayout(false);
|
|
gbOptions.PerformLayout();
|
|
gbNumbers.ResumeLayout(false);
|
|
gbText.ResumeLayout(false);
|
|
gbText.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)nudXLines).EndInit();
|
|
ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.RichTextBox txtOutput;
|
|
private System.Windows.Forms.GroupBox gbScan;
|
|
private System.Windows.Forms.ComboBox cbVDir;
|
|
private System.Windows.Forms.ComboBox cbHDir;
|
|
private System.Windows.Forms.ComboBox cbOrder;
|
|
private System.Windows.Forms.GroupBox gbOptions;
|
|
private System.Windows.Forms.CheckBox cbHeader;
|
|
private System.Windows.Forms.CheckBox cbComments;
|
|
private System.Windows.Forms.GroupBox gbNumbers;
|
|
private System.Windows.Forms.ComboBox cbBitOrder;
|
|
private System.Windows.Forms.ComboBox cbNumSize;
|
|
private System.Windows.Forms.ComboBox cbNumBase;
|
|
private System.Windows.Forms.GroupBox gbText;
|
|
private System.Windows.Forms.Label lblXLines;
|
|
private System.Windows.Forms.NumericUpDown nudXLines;
|
|
private System.Windows.Forms.ComboBox cbLines;
|
|
private System.Windows.Forms.ComboBox cbFormat;
|
|
private System.Windows.Forms.Button btnGenerate;
|
|
private System.Windows.Forms.Button btnClose;
|
|
private System.Windows.Forms.CheckBox cbZeroes;
|
|
private System.Windows.Forms.ToolTip toolTip1;
|
|
private System.Windows.Forms.CheckBox cbPacked;
|
|
}
|
|
} |