191 lines
8.5 KiB
C#
191 lines
8.5 KiB
C#
namespace McBitFont {
|
|
partial class FontTester {
|
|
/// <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();
|
|
lblSpace = new System.Windows.Forms.Label();
|
|
nudSpace = new System.Windows.Forms.NumericUpDown();
|
|
lblText = new System.Windows.Forms.Label();
|
|
tbText = new System.Windows.Forms.TextBox();
|
|
dotPanel = new System.Windows.Forms.Panel();
|
|
vScroll = new System.Windows.Forms.VScrollBar();
|
|
hScroll = new System.Windows.Forms.HScrollBar();
|
|
lblZoom = new System.Windows.Forms.Label();
|
|
cbZoom = new System.Windows.Forms.ComboBox();
|
|
toolTip1 = new System.Windows.Forms.ToolTip(components);
|
|
chkBaseline = new System.Windows.Forms.CheckBox();
|
|
((System.ComponentModel.ISupportInitialize)nudSpace).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// lblSpace
|
|
//
|
|
lblSpace.AutoSize = true;
|
|
lblSpace.Location = new System.Drawing.Point(12, 9);
|
|
lblSpace.Name = "lblSpace";
|
|
lblSpace.Size = new System.Drawing.Size(41, 15);
|
|
lblSpace.TabIndex = 0;
|
|
lblSpace.Text = "Space:";
|
|
//
|
|
// nudSpace
|
|
//
|
|
nudSpace.Location = new System.Drawing.Point(59, 6);
|
|
nudSpace.Maximum = new decimal(new int[] { 255, 0, 0, 0 });
|
|
nudSpace.Name = "nudSpace";
|
|
nudSpace.Size = new System.Drawing.Size(40, 23);
|
|
nudSpace.TabIndex = 1;
|
|
toolTip1.SetToolTip(nudSpace, "Space between symbols in pixels");
|
|
nudSpace.Value = new decimal(new int[] { 1, 0, 0, 0 });
|
|
nudSpace.ValueChanged += Scrolling;
|
|
//
|
|
// lblText
|
|
//
|
|
lblText.AutoSize = true;
|
|
lblText.Location = new System.Drawing.Point(12, 37);
|
|
lblText.Name = "lblText";
|
|
lblText.Size = new System.Drawing.Size(138, 15);
|
|
lblText.TabIndex = 2;
|
|
lblText.Text = "Text to test the font with:";
|
|
//
|
|
// tbText
|
|
//
|
|
tbText.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
|
tbText.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
|
tbText.Location = new System.Drawing.Point(12, 55);
|
|
tbText.Name = "tbText";
|
|
tbText.Size = new System.Drawing.Size(260, 29);
|
|
tbText.TabIndex = 3;
|
|
toolTip1.SetToolTip(tbText, "Text to test the font with");
|
|
tbText.TextChanged += Text_Changed;
|
|
//
|
|
// dotPanel
|
|
//
|
|
dotPanel.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
|
dotPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
dotPanel.BackColor = System.Drawing.Color.White;
|
|
dotPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
dotPanel.Location = new System.Drawing.Point(12, 90);
|
|
dotPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
dotPanel.Name = "dotPanel";
|
|
dotPanel.Size = new System.Drawing.Size(238, 98);
|
|
dotPanel.TabIndex = 4;
|
|
dotPanel.Paint += PaintPixels;
|
|
dotPanel.Resize += ZoomChanged;
|
|
//
|
|
// vScroll
|
|
//
|
|
vScroll.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
|
vScroll.LargeChange = 25;
|
|
vScroll.Location = new System.Drawing.Point(251, 84);
|
|
vScroll.Name = "vScroll";
|
|
vScroll.Size = new System.Drawing.Size(21, 125);
|
|
vScroll.TabIndex = 17;
|
|
vScroll.ValueChanged += Scrolling;
|
|
//
|
|
// hScroll
|
|
//
|
|
hScroll.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
|
hScroll.Location = new System.Drawing.Point(12, 188);
|
|
hScroll.Name = "hScroll";
|
|
hScroll.Size = new System.Drawing.Size(238, 21);
|
|
hScroll.TabIndex = 16;
|
|
hScroll.ValueChanged += Scrolling;
|
|
//
|
|
// lblZoom
|
|
//
|
|
lblZoom.AutoSize = true;
|
|
lblZoom.Location = new System.Drawing.Point(173, 9);
|
|
lblZoom.Name = "lblZoom";
|
|
lblZoom.Size = new System.Drawing.Size(42, 15);
|
|
lblZoom.TabIndex = 18;
|
|
lblZoom.Text = "Zoom:";
|
|
//
|
|
// cbZoom
|
|
//
|
|
cbZoom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
cbZoom.FormattingEnabled = true;
|
|
cbZoom.Items.AddRange(new object[] { "2", "3", "5", "10", "15", "20", "25", "30", "35", "40", "45", "50" });
|
|
cbZoom.Location = new System.Drawing.Point(222, 6);
|
|
cbZoom.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
cbZoom.Name = "cbZoom";
|
|
cbZoom.Size = new System.Drawing.Size(50, 23);
|
|
cbZoom.TabIndex = 19;
|
|
cbZoom.TabStop = false;
|
|
toolTip1.SetToolTip(cbZoom, "Zoom level");
|
|
cbZoom.SelectedIndexChanged += ZoomChanged;
|
|
//
|
|
// chkBaseline
|
|
//
|
|
chkBaseline.AutoSize = true;
|
|
chkBaseline.Location = new System.Drawing.Point(203, 36);
|
|
chkBaseline.Name = "chkBaseline";
|
|
chkBaseline.Size = new System.Drawing.Size(69, 19);
|
|
chkBaseline.TabIndex = 20;
|
|
chkBaseline.Text = "Baseline";
|
|
chkBaseline.UseVisualStyleBackColor = true;
|
|
chkBaseline.CheckedChanged += Scrolling;
|
|
//
|
|
// FontTester
|
|
//
|
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
ClientSize = new System.Drawing.Size(284, 221);
|
|
Controls.Add(chkBaseline);
|
|
Controls.Add(cbZoom);
|
|
Controls.Add(lblZoom);
|
|
Controls.Add(vScroll);
|
|
Controls.Add(hScroll);
|
|
Controls.Add(dotPanel);
|
|
Controls.Add(tbText);
|
|
Controls.Add(lblText);
|
|
Controls.Add(nudSpace);
|
|
Controls.Add(lblSpace);
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
MinimumSize = new System.Drawing.Size(260, 260);
|
|
Name = "FontTester";
|
|
ShowIcon = false;
|
|
ShowInTaskbar = false;
|
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
Text = "Font Tester";
|
|
Load += FontTester_Load;
|
|
((System.ComponentModel.ISupportInitialize)nudSpace).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label lblSpace;
|
|
private System.Windows.Forms.NumericUpDown nudSpace;
|
|
private System.Windows.Forms.Label lblText;
|
|
private System.Windows.Forms.TextBox tbText;
|
|
private System.Windows.Forms.Panel dotPanel;
|
|
private System.Windows.Forms.VScrollBar vScroll;
|
|
private System.Windows.Forms.HScrollBar hScroll;
|
|
private System.Windows.Forms.Label lblZoom;
|
|
private System.Windows.Forms.ToolTip toolTip1;
|
|
private System.Windows.Forms.ComboBox cbZoom;
|
|
private System.Windows.Forms.CheckBox chkBaseline;
|
|
}
|
|
} |