Compare commits
54 Commits
5a0ad1d3d0
...
v1
Author | SHA1 | Date | |
---|---|---|---|
|
279a24ac27 | ||
faf14caec2 | |||
6a8ff0eb50 | |||
011c24b94b | |||
6fbe668284 | |||
5fc69e9992 | |||
f2b01d4a27 | |||
5164060ffc | |||
68bce8e14e | |||
6fb5a1f773 | |||
2a940c8933 | |||
0aeec8bd19 | |||
d24143d1a6 | |||
03ef799381 | |||
647e5f5601 | |||
|
c5e440ee44 | ||
|
34bec25b3d | ||
|
b1acbdd98f | ||
|
6d5f90aaac | ||
72ad6e5be0 | |||
9d1ca65f34 | |||
|
dd3f4f4b4b | ||
|
8889b846dc | ||
|
fe0e1dabfd | ||
|
e0786bdb07 | ||
4fa818f35e | |||
11b268a350 | |||
703e8d91ef | |||
de8aa295da | |||
|
232b543a35 | ||
cc63ce349a | |||
|
793337cc5b | ||
|
c5f832b44a | ||
|
024c7b76bd | ||
|
cc161169f1 | ||
|
0ba03444d1 | ||
|
302977c3f4 | ||
a89bbc59ed | |||
691b87b842 | |||
|
ceddd5f66f | ||
|
84561f1ac1 | ||
|
fc60991d85 | ||
|
04bace7267 | ||
|
54ade42409 | ||
|
e927b2685d | ||
|
40f006a309 | ||
|
8da1614ab2 | ||
|
dcea501d11 | ||
|
462aca461e | ||
|
d9277effdd | ||
|
6e366ac081 | ||
|
d871d35d06 | ||
|
f307827fb6 | ||
|
3ce38f2e46 |
2
.gitignore
vendored
@@ -4,6 +4,8 @@
|
||||
##
|
||||
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
|
||||
|
||||
examples/tests/32x32/
|
||||
|
||||
# User-specific files
|
||||
*.rsuser
|
||||
*.suo
|
||||
|
136
McBitFont/About.Designer.cs
generated
Normal file
@@ -0,0 +1,136 @@
|
||||
namespace McBitFont {
|
||||
partial class About {
|
||||
/// <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() {
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(About));
|
||||
this.lblVersion = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblVersion
|
||||
//
|
||||
this.lblVersion.AutoSize = true;
|
||||
this.lblVersion.Location = new System.Drawing.Point(12, 189);
|
||||
this.lblVersion.Name = "lblVersion";
|
||||
this.lblVersion.Size = new System.Drawing.Size(63, 13);
|
||||
this.lblVersion.TabIndex = 0;
|
||||
this.lblVersion.Text = "Version: 1.1";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.label1.Location = new System.Drawing.Point(0, 80);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(384, 35);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "McBitFont";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.label2.Location = new System.Drawing.Point(0, 115);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(384, 25);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "McFLY\'s Bit Font and Image Editor";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pictureBox1.Image = global::McBitFont.Properties.Resources.icon_64;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.pictureBox1.Margin = new System.Windows.Forms.Padding(3, 10, 3, 3);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(384, 75);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pictureBox1.TabIndex = 3;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// linkLabel1
|
||||
//
|
||||
this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(0, 140);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(384, 23);
|
||||
this.linkLabel1.TabIndex = 4;
|
||||
this.linkLabel1.Text = "mcfly@mcflyer.ru";
|
||||
this.linkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.button1.Location = new System.Drawing.Point(146, 175);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(89, 27);
|
||||
this.button1.TabIndex = 5;
|
||||
this.button1.Text = "OK";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// About
|
||||
//
|
||||
this.AcceptButton = this.button1;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(384, 211);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.linkLabel1);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.lblVersion);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "About";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "About";
|
||||
this.Load += new System.EventHandler(this.About_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label lblVersion;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
}
|
||||
}
|
25
McBitFont/About.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace McBitFont {
|
||||
public partial class About : Form {
|
||||
public About() {
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void About_Load(object sender, EventArgs e) {
|
||||
lblVersion.Text = "Version: v" + MainForm.version;
|
||||
}
|
||||
|
||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) {
|
||||
System.Diagnostics.Process.Start("mailto:mcfly@mcflyer.ru");
|
||||
}
|
||||
}
|
||||
}
|
140
McBitFont/About.resx
Normal file
@@ -0,0 +1,140 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAEBAAAAEAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAQAMAAAAAAAAAAAAAAAAAAAAA
|
||||
AAA1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTXW1tbW1tbW
|
||||
1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW
|
||||
1tbW1tbW1tbW1tYAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW1tbW1tbW1tbW1tYA
|
||||
AAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW1tbW1tbW1tbW1tYAAAAAAADW1tbW1tY1
|
||||
NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW1tbW1tbW1tbW1tYAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYA
|
||||
AAAAAADW1tbW1tbW1tbW1tbW1tbW1tYAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tYA
|
||||
AAAAAADW1tbW1tYAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tYAAAAAAADW1tbW1tYA
|
||||
AAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tYAAAAAAAAAAAAAAADW1tYAAAAAAADW1tbW1tY1
|
||||
NTU1NTXW1tbW1tYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYA
|
||||
AAAAAAAAAAAAAADW1tbW1tYAAAAAAAAAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAAAAAADW1tbW
|
||||
1tbW1tbW1tYAAAAAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW1tbW1tbW1tbW1tYA
|
||||
AAAAAADW1tbW1tY1NTU1NTXW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tY1
|
||||
NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTUAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
@@ -1,6 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
378
McBitFont/Export.Designer.cs
generated
Normal file
@@ -0,0 +1,378 @@
|
||||
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() {
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.txtOutput = new System.Windows.Forms.RichTextBox();
|
||||
this.gbScan = new System.Windows.Forms.GroupBox();
|
||||
this.cbVDir = new System.Windows.Forms.ComboBox();
|
||||
this.cbHDir = new System.Windows.Forms.ComboBox();
|
||||
this.cbOrder = new System.Windows.Forms.ComboBox();
|
||||
this.gbOptions = new System.Windows.Forms.GroupBox();
|
||||
this.cbZeroes = new System.Windows.Forms.CheckBox();
|
||||
this.cbHeader = new System.Windows.Forms.CheckBox();
|
||||
this.cbComments = new System.Windows.Forms.CheckBox();
|
||||
this.gbNumbers = new System.Windows.Forms.GroupBox();
|
||||
this.cbBitOrder = new System.Windows.Forms.ComboBox();
|
||||
this.cbNumSize = new System.Windows.Forms.ComboBox();
|
||||
this.cbNumBase = new System.Windows.Forms.ComboBox();
|
||||
this.gbText = new System.Windows.Forms.GroupBox();
|
||||
this.lblXLines = new System.Windows.Forms.Label();
|
||||
this.nudXLines = new System.Windows.Forms.NumericUpDown();
|
||||
this.cbLines = new System.Windows.Forms.ComboBox();
|
||||
this.cbFormat = new System.Windows.Forms.ComboBox();
|
||||
this.btnGenerate = new System.Windows.Forms.Button();
|
||||
this.btnClose = new System.Windows.Forms.Button();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.gbScan.SuspendLayout();
|
||||
this.gbOptions.SuspendLayout();
|
||||
this.gbNumbers.SuspendLayout();
|
||||
this.gbText.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudXLines)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// txtOutput
|
||||
//
|
||||
this.txtOutput.AcceptsTab = true;
|
||||
this.txtOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtOutput.AutoWordSelection = true;
|
||||
this.txtOutput.DetectUrls = false;
|
||||
this.txtOutput.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.txtOutput.HideSelection = false;
|
||||
this.txtOutput.Location = new System.Drawing.Point(151, 12);
|
||||
this.txtOutput.Name = "txtOutput";
|
||||
this.txtOutput.Size = new System.Drawing.Size(529, 507);
|
||||
this.txtOutput.TabIndex = 0;
|
||||
this.txtOutput.Text = "";
|
||||
this.txtOutput.WordWrap = false;
|
||||
//
|
||||
// gbScan
|
||||
//
|
||||
this.gbScan.Controls.Add(this.cbVDir);
|
||||
this.gbScan.Controls.Add(this.cbHDir);
|
||||
this.gbScan.Controls.Add(this.cbOrder);
|
||||
this.gbScan.Location = new System.Drawing.Point(5, 12);
|
||||
this.gbScan.Name = "gbScan";
|
||||
this.gbScan.Size = new System.Drawing.Size(140, 105);
|
||||
this.gbScan.TabIndex = 1;
|
||||
this.gbScan.TabStop = false;
|
||||
this.gbScan.Text = "Scan";
|
||||
//
|
||||
// cbVDir
|
||||
//
|
||||
this.cbVDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbVDir.FormattingEnabled = true;
|
||||
this.cbVDir.Items.AddRange(new object[] {
|
||||
"Top to Bottom",
|
||||
"Bottom to Top"});
|
||||
this.cbVDir.Location = new System.Drawing.Point(10, 73);
|
||||
this.cbVDir.Name = "cbVDir";
|
||||
this.cbVDir.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbVDir.TabIndex = 2;
|
||||
//
|
||||
// cbHDir
|
||||
//
|
||||
this.cbHDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbHDir.FormattingEnabled = true;
|
||||
this.cbHDir.Items.AddRange(new object[] {
|
||||
"Left to Right",
|
||||
"Right to Left"});
|
||||
this.cbHDir.Location = new System.Drawing.Point(10, 46);
|
||||
this.cbHDir.Name = "cbHDir";
|
||||
this.cbHDir.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbHDir.TabIndex = 1;
|
||||
//
|
||||
// cbOrder
|
||||
//
|
||||
this.cbOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbOrder.FormattingEnabled = true;
|
||||
this.cbOrder.Items.AddRange(new object[] {
|
||||
"Columns",
|
||||
"Rows"});
|
||||
this.cbOrder.Location = new System.Drawing.Point(10, 19);
|
||||
this.cbOrder.Name = "cbOrder";
|
||||
this.cbOrder.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbOrder.TabIndex = 0;
|
||||
this.cbOrder.SelectedIndexChanged += new System.EventHandler(this.cbOrder_SelectedIndexChanged);
|
||||
//
|
||||
// gbOptions
|
||||
//
|
||||
this.gbOptions.Controls.Add(this.cbZeroes);
|
||||
this.gbOptions.Controls.Add(this.cbHeader);
|
||||
this.gbOptions.Controls.Add(this.cbComments);
|
||||
this.gbOptions.Location = new System.Drawing.Point(5, 345);
|
||||
this.gbOptions.Name = "gbOptions";
|
||||
this.gbOptions.Size = new System.Drawing.Size(140, 88);
|
||||
this.gbOptions.TabIndex = 3;
|
||||
this.gbOptions.TabStop = false;
|
||||
this.gbOptions.Text = "Options";
|
||||
//
|
||||
// cbZeroes
|
||||
//
|
||||
this.cbZeroes.AutoSize = true;
|
||||
this.cbZeroes.Checked = true;
|
||||
this.cbZeroes.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbZeroes.Location = new System.Drawing.Point(6, 65);
|
||||
this.cbZeroes.Name = "cbZeroes";
|
||||
this.cbZeroes.Size = new System.Drawing.Size(98, 17);
|
||||
this.cbZeroes.TabIndex = 2;
|
||||
this.cbZeroes.Text = "Leading zeroes";
|
||||
this.toolTip1.SetToolTip(this.cbZeroes, "Add leading zeroes: 0x01 / 0x1");
|
||||
this.cbZeroes.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cbHeader
|
||||
//
|
||||
this.cbHeader.AutoSize = true;
|
||||
this.cbHeader.Checked = true;
|
||||
this.cbHeader.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbHeader.Location = new System.Drawing.Point(6, 19);
|
||||
this.cbHeader.Name = "cbHeader";
|
||||
this.cbHeader.Size = new System.Drawing.Size(86, 17);
|
||||
this.cbHeader.TabIndex = 1;
|
||||
this.cbHeader.Text = "Meta header";
|
||||
this.toolTip1.SetToolTip(this.cbHeader, "Add meta header with meta data");
|
||||
this.cbHeader.UseVisualStyleBackColor = true;
|
||||
this.cbHeader.CheckedChanged += new System.EventHandler(this.cbFormat_SelectedIndexChanged);
|
||||
//
|
||||
// cbComments
|
||||
//
|
||||
this.cbComments.AutoSize = true;
|
||||
this.cbComments.Checked = true;
|
||||
this.cbComments.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbComments.Location = new System.Drawing.Point(6, 42);
|
||||
this.cbComments.Name = "cbComments";
|
||||
this.cbComments.Size = new System.Drawing.Size(75, 17);
|
||||
this.cbComments.TabIndex = 0;
|
||||
this.cbComments.Text = "Comments";
|
||||
this.toolTip1.SetToolTip(this.cbComments, "Add descriptive comments");
|
||||
this.cbComments.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// gbNumbers
|
||||
//
|
||||
this.gbNumbers.Controls.Add(this.cbBitOrder);
|
||||
this.gbNumbers.Controls.Add(this.cbNumSize);
|
||||
this.gbNumbers.Controls.Add(this.cbNumBase);
|
||||
this.gbNumbers.Location = new System.Drawing.Point(5, 123);
|
||||
this.gbNumbers.Name = "gbNumbers";
|
||||
this.gbNumbers.Size = new System.Drawing.Size(140, 105);
|
||||
this.gbNumbers.TabIndex = 4;
|
||||
this.gbNumbers.TabStop = false;
|
||||
this.gbNumbers.Text = "Numbers";
|
||||
//
|
||||
// cbBitOrder
|
||||
//
|
||||
this.cbBitOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBitOrder.FormattingEnabled = true;
|
||||
this.cbBitOrder.Items.AddRange(new object[] {
|
||||
"LSB Top",
|
||||
"MSB Top"});
|
||||
this.cbBitOrder.Location = new System.Drawing.Point(10, 19);
|
||||
this.cbBitOrder.Name = "cbBitOrder";
|
||||
this.cbBitOrder.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbBitOrder.TabIndex = 5;
|
||||
//
|
||||
// cbNumSize
|
||||
//
|
||||
this.cbNumSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbNumSize.FormattingEnabled = true;
|
||||
this.cbNumSize.Items.AddRange(new object[] {
|
||||
"8 bit",
|
||||
"16 bit",
|
||||
"32 bit"});
|
||||
this.cbNumSize.Location = new System.Drawing.Point(10, 73);
|
||||
this.cbNumSize.Name = "cbNumSize";
|
||||
this.cbNumSize.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbNumSize.TabIndex = 4;
|
||||
//
|
||||
// cbNumBase
|
||||
//
|
||||
this.cbNumBase.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbNumBase.FormattingEnabled = true;
|
||||
this.cbNumBase.Items.AddRange(new object[] {
|
||||
"Hexadecimal",
|
||||
"Binary",
|
||||
"Decimal"});
|
||||
this.cbNumBase.Location = new System.Drawing.Point(10, 46);
|
||||
this.cbNumBase.Name = "cbNumBase";
|
||||
this.cbNumBase.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbNumBase.TabIndex = 3;
|
||||
//
|
||||
// gbText
|
||||
//
|
||||
this.gbText.Controls.Add(this.lblXLines);
|
||||
this.gbText.Controls.Add(this.nudXLines);
|
||||
this.gbText.Controls.Add(this.cbLines);
|
||||
this.gbText.Controls.Add(this.cbFormat);
|
||||
this.gbText.Location = new System.Drawing.Point(5, 234);
|
||||
this.gbText.Name = "gbText";
|
||||
this.gbText.Size = new System.Drawing.Size(140, 105);
|
||||
this.gbText.TabIndex = 5;
|
||||
this.gbText.TabStop = false;
|
||||
this.gbText.Text = "Text format";
|
||||
//
|
||||
// lblXLines
|
||||
//
|
||||
this.lblXLines.AutoSize = true;
|
||||
this.lblXLines.Enabled = false;
|
||||
this.lblXLines.Location = new System.Drawing.Point(10, 76);
|
||||
this.lblXLines.Name = "lblXLines";
|
||||
this.lblXLines.Size = new System.Drawing.Size(60, 13);
|
||||
this.lblXLines.TabIndex = 9;
|
||||
this.lblXLines.Text = "X numbers:";
|
||||
//
|
||||
// nudXLines
|
||||
//
|
||||
this.nudXLines.Enabled = false;
|
||||
this.nudXLines.Location = new System.Drawing.Point(76, 73);
|
||||
this.nudXLines.Maximum = new decimal(new int[] {
|
||||
64,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudXLines.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudXLines.Name = "nudXLines";
|
||||
this.nudXLines.Size = new System.Drawing.Size(55, 20);
|
||||
this.nudXLines.TabIndex = 8;
|
||||
this.nudXLines.Value = new decimal(new int[] {
|
||||
8,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// cbLines
|
||||
//
|
||||
this.cbLines.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbLines.FormattingEnabled = true;
|
||||
this.cbLines.Items.AddRange(new object[] {
|
||||
"1 Column per line",
|
||||
"1 Symbol per line",
|
||||
"X Numbers per line"});
|
||||
this.cbLines.Location = new System.Drawing.Point(10, 46);
|
||||
this.cbLines.Name = "cbLines";
|
||||
this.cbLines.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbLines.TabIndex = 7;
|
||||
this.cbLines.SelectedIndexChanged += new System.EventHandler(this.cbLines_SelectedIndexChanged);
|
||||
//
|
||||
// cbFormat
|
||||
//
|
||||
this.cbFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbFormat.FormattingEnabled = true;
|
||||
this.cbFormat.Items.AddRange(new object[] {
|
||||
"1D C array",
|
||||
"2D C array",
|
||||
"Comma separated"});
|
||||
this.cbFormat.Location = new System.Drawing.Point(10, 19);
|
||||
this.cbFormat.Name = "cbFormat";
|
||||
this.cbFormat.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbFormat.TabIndex = 6;
|
||||
this.cbFormat.SelectedIndexChanged += new System.EventHandler(this.cbFormat_SelectedIndexChanged);
|
||||
//
|
||||
// btnGenerate
|
||||
//
|
||||
this.btnGenerate.Location = new System.Drawing.Point(5, 439);
|
||||
this.btnGenerate.Name = "btnGenerate";
|
||||
this.btnGenerate.Size = new System.Drawing.Size(140, 30);
|
||||
this.btnGenerate.TabIndex = 6;
|
||||
this.btnGenerate.Text = "Generate";
|
||||
this.btnGenerate.UseVisualStyleBackColor = true;
|
||||
this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnClose.Location = new System.Drawing.Point(5, 487);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(140, 30);
|
||||
this.btnClose.TabIndex = 7;
|
||||
this.btnClose.Text = "Close";
|
||||
this.btnClose.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// toolTip1
|
||||
//
|
||||
this.toolTip1.AutoPopDelay = 10000;
|
||||
this.toolTip1.InitialDelay = 500;
|
||||
this.toolTip1.ReshowDelay = 100;
|
||||
//
|
||||
// Export
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.btnClose;
|
||||
this.ClientSize = new System.Drawing.Size(692, 531);
|
||||
this.Controls.Add(this.btnClose);
|
||||
this.Controls.Add(this.btnGenerate);
|
||||
this.Controls.Add(this.gbText);
|
||||
this.Controls.Add(this.gbNumbers);
|
||||
this.Controls.Add(this.gbOptions);
|
||||
this.Controls.Add(this.gbScan);
|
||||
this.Controls.Add(this.txtOutput);
|
||||
this.MinimumSize = new System.Drawing.Size(700, 570);
|
||||
this.Name = "Export";
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Export";
|
||||
this.Load += new System.EventHandler(this.Export_Load);
|
||||
this.gbScan.ResumeLayout(false);
|
||||
this.gbOptions.ResumeLayout(false);
|
||||
this.gbOptions.PerformLayout();
|
||||
this.gbNumbers.ResumeLayout(false);
|
||||
this.gbText.ResumeLayout(false);
|
||||
this.gbText.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudXLines)).EndInit();
|
||||
this.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;
|
||||
}
|
||||
}
|
394
McBitFont/Export.cs
Normal file
@@ -0,0 +1,394 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace McBitFont {
|
||||
public partial class Export : Form {
|
||||
|
||||
private MainForm mainForm;
|
||||
|
||||
//private List<string> comments = new List<string>();
|
||||
private Dictionary<string, string> comments = new Dictionary<string, string>();
|
||||
|
||||
public Export(object sender) {
|
||||
InitializeComponent();
|
||||
|
||||
mainForm = (MainForm)sender;
|
||||
}
|
||||
|
||||
private void Export_Load(object sender, EventArgs e) {
|
||||
var groupBoxes = Controls.OfType<GroupBox>();
|
||||
foreach (var gb in groupBoxes) {
|
||||
var comboBoxes = gb.Controls.OfType<ComboBox>();
|
||||
foreach (var cb in comboBoxes) {
|
||||
cb.SelectedIndex = 0;
|
||||
}
|
||||
}
|
||||
comments.Add("header",
|
||||
"// File generated by McBitFont " + MainForm.version + "\n" +
|
||||
"// made by Anton Mukhin (mcfly@mcflyer.ru)\n" +
|
||||
"//\n" +
|
||||
"//\n"
|
||||
);
|
||||
comments.Add("scan_order", "// Scan order: ");
|
||||
comments.Add("scan_hdir", "// Horizontal direction: ");
|
||||
comments.Add("scan_vdir", "// Vertical direction: ");
|
||||
|
||||
comments.Add("num_bit_order", "// Bit order: ");
|
||||
comments.Add("num_base", "// Numbers base: ");
|
||||
comments.Add("num_size", "// Numbers size: ");
|
||||
|
||||
comments.Add("text_format", "// Text format: ");
|
||||
comments.Add("text_lines", "// Numbers per line: ");
|
||||
|
||||
comments.Add("font_header_map",
|
||||
"// Font header map:\n" +
|
||||
"// width; // Font width in pixels\n" +
|
||||
"// height; // Font height in pixels\n" +
|
||||
"// space; // Font space in pixels\n" +
|
||||
"// first; // First character code\n" +
|
||||
"// last; // Last character code\n"
|
||||
);
|
||||
}
|
||||
|
||||
private void cbOrder_SelectedIndexChanged(object sender, EventArgs e) {
|
||||
switch (cbOrder.SelectedIndex) {
|
||||
case 0: // Columns
|
||||
cbBitOrder.Items[0] = "LSB Top";
|
||||
cbBitOrder.Items[1] = "MSB Top";
|
||||
cbLines.Items[0] = "1 Column per line";
|
||||
break;
|
||||
case 1: // Rows
|
||||
cbBitOrder.Items[0] = "LSB Left";
|
||||
cbBitOrder.Items[1] = "MSB Left";
|
||||
cbLines.Items[0] = "1 Row per line";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnGenerate_Click(object sender, EventArgs e) {
|
||||
string output = "";
|
||||
txtOutput.Clear();
|
||||
bool com = cbComments.Checked;
|
||||
bool hdr = cbHeader.Checked;
|
||||
int lines = cbLines.SelectedIndex;
|
||||
int format = cbFormat.SelectedIndex;
|
||||
bool mono = mainForm.monospaced;
|
||||
int lineslim = (int)nudXLines.Value;
|
||||
int fcount = mainForm.frames.Count;
|
||||
|
||||
int imin, jmin, imax, jmax, idir, jdir;
|
||||
|
||||
if (com) {
|
||||
// Header comments
|
||||
output += comments["header"];
|
||||
output += comments["scan_order"] + cbOrder.Text + "\n";
|
||||
output += comments["scan_hdir"] + cbHDir.Text + "\n";
|
||||
output += comments["scan_vdir"] + cbVDir.Text + "\n\n";
|
||||
|
||||
output += comments["num_bit_order"] + cbBitOrder.Text + "\n";
|
||||
output += comments["num_base"] + cbNumBase.Text + "\n";
|
||||
output += comments["num_size"] + cbNumSize.Text + "\n\n";
|
||||
|
||||
output += comments["text_format"] + cbFormat.Text + "\n";
|
||||
output += comments["text_lines"] + cbLines.Text + "\n\n";
|
||||
|
||||
if (hdr) {
|
||||
// comment about meta header map
|
||||
output += comments["font_header_map"] + "\n\n";
|
||||
}
|
||||
}
|
||||
|
||||
// Figure out mins and maxes
|
||||
if (cbOrder.SelectedIndex == 0) {
|
||||
if (cbHDir.SelectedIndex == 0) {
|
||||
// Columns; Left to right
|
||||
imin = 0;
|
||||
imax = mainForm.dotWidth;
|
||||
idir = 1;
|
||||
} else {
|
||||
// Columns; Right to left
|
||||
imin = mainForm.dotWidth - 1;
|
||||
imax = -1;
|
||||
idir = -1;
|
||||
}
|
||||
if (cbVDir.SelectedIndex == 0) {
|
||||
// Columns; Top to bottom
|
||||
jmin = 0;
|
||||
jmax = mainForm.dotHeight;
|
||||
jdir = 1;
|
||||
} else {
|
||||
// Columns; Bottom to top
|
||||
jmin = mainForm.dotHeight - 1;
|
||||
jmax = -1;
|
||||
jdir = -1;
|
||||
}
|
||||
} else {
|
||||
if (cbVDir.SelectedIndex == 0) {
|
||||
// Rows; Left to right
|
||||
imin = 0;
|
||||
imax = mainForm.dotHeight;
|
||||
idir = 1;
|
||||
} else {
|
||||
// Rows; Right to left
|
||||
imin = mainForm.dotHeight - 1;
|
||||
imax = -1;
|
||||
idir = -1;
|
||||
}
|
||||
if (cbHDir.SelectedIndex == 0) {
|
||||
// Rows; Top to bottom
|
||||
jmin = 0;
|
||||
jmax = mainForm.dotWidth;
|
||||
jdir = 1;
|
||||
} else {
|
||||
// Rows; Bottom to top
|
||||
jmin = mainForm.dotWidth - 1;
|
||||
jmax = -1;
|
||||
jdir = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ushort bits = 8;
|
||||
string dataType = "uint8_t";
|
||||
switch (cbNumSize.SelectedIndex) {
|
||||
case 0:
|
||||
bits = 8;
|
||||
dataType = "uint8_t";
|
||||
break;
|
||||
case 1:
|
||||
bits = 16;
|
||||
dataType = "uint16_t";
|
||||
break;
|
||||
case 2:
|
||||
bits = 32;
|
||||
dataType = "uint32_t";
|
||||
break;
|
||||
}
|
||||
|
||||
int nbase = 16;
|
||||
string prefix = "0x";
|
||||
string pref = "";
|
||||
int pad = 2;
|
||||
switch (cbNumBase.SelectedIndex) {
|
||||
case 0:
|
||||
nbase = 16;
|
||||
prefix = "0x";
|
||||
pad = cbZeroes.Checked ? bits / 4 : 0;
|
||||
break;
|
||||
case 1:
|
||||
nbase = 2;
|
||||
prefix = "0b";
|
||||
pad = cbZeroes.Checked ? bits : 0;
|
||||
break;
|
||||
case 2:
|
||||
nbase = 10;
|
||||
prefix = "";
|
||||
pad = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
// Array definition
|
||||
if ( format == 0 || format == 1 ) output += "const " + dataType + " " + mainForm.prjName + "[]" + (format==1?"[]":"") + " = {\n";
|
||||
|
||||
// Should we add the meta header?
|
||||
if (hdr) {
|
||||
output +=
|
||||
" // Meta header\n" +
|
||||
" " + (mono ? mainForm.frames.First().width.ToString() : "0") + ", // Font width in pixels; 0 - variable width\n" +
|
||||
" " + mainForm.frames.First().height.ToString() + ", // Font height in pixels\n" +
|
||||
" 0, // Font space (between symbols) in pixels\n" +
|
||||
" " + mainForm.frames.First().code.ToString() + ", // First character code\n" +
|
||||
" " + mainForm.frames.Last().code.ToString() + ", // Last character code\n"
|
||||
;
|
||||
}
|
||||
|
||||
// Brackets for 2D array definition
|
||||
string obracket = format == 1 ? "{ " : "";
|
||||
string cbracket = format == 1 ? " }" : "";
|
||||
|
||||
// Number output counter
|
||||
int numcount = 0;
|
||||
|
||||
if (com) output += " // Data:\n";
|
||||
MainForm.FrameMiniature flast = mainForm.frames.Last();
|
||||
foreach ( MainForm.FrameMiniature f in mainForm.frames) {
|
||||
// For each frame
|
||||
uint b = 0; // current number bits
|
||||
int t, x, y; // t - calculated bit number; x - actual x; y - actual y
|
||||
|
||||
if (com && lines != 1 && fcount > 1) {
|
||||
// Comments enabled and other than "1 symbol per line" selected
|
||||
// Print a symbol comment before its data
|
||||
output += " // " + f.code.ToString() + " --> " + mainForm.decodeSymbol(f.code) + "\n";
|
||||
}
|
||||
if (lines == 1) {
|
||||
// "1 symbol per line" - new line offset
|
||||
output += " ";
|
||||
numcount = 0;
|
||||
}
|
||||
if (!mono && fcount > 1) {
|
||||
// Not a single image; Variable width font - lets post the width as a 1st number
|
||||
|
||||
// Should we post a prefix to the number?
|
||||
pref = (!cbZeroes.Checked && ((f.width < 10 && nbase == 16) || (f.width < 2 && nbase == 2))) ? "" : prefix;
|
||||
output += (lines != 1 ? " " : "") + pref + Convert.ToString(f.width, nbase).PadLeft(pad, '0') + (lines != 0 ? (lines == 1 ? ", " : "") : ",\n");
|
||||
// Count posted numbers
|
||||
numcount++;
|
||||
if (lines != 2) numcount = 0;
|
||||
if (lines == 2 && numcount >= lineslim) {
|
||||
numcount = 0;
|
||||
output += "\n ";
|
||||
}
|
||||
}
|
||||
if (lines == 2 && numcount == 0) {
|
||||
// "X numbers per line" - first line of a symbol offset
|
||||
output += " ";
|
||||
}
|
||||
|
||||
//Figure out mins and maxes for variable width fonts
|
||||
if (!mono && fcount > 1) {
|
||||
if (cbOrder.SelectedIndex == 0) {
|
||||
if (cbHDir.SelectedIndex == 0) {
|
||||
// Columns; Left to right
|
||||
imax = f.width;
|
||||
} else {
|
||||
// Columns; Right to left
|
||||
imin = f.width - 1;
|
||||
}
|
||||
if (cbVDir.SelectedIndex == 0) {
|
||||
// Columns; Top to bottom
|
||||
jmax = f.height;
|
||||
} else {
|
||||
// Columns; Bottom to top
|
||||
jmin = f.height - 1;
|
||||
}
|
||||
} else {
|
||||
if (cbVDir.SelectedIndex == 0) {
|
||||
// Rows; Left to right
|
||||
imax = f.height;
|
||||
} else {
|
||||
// Rows; Right to left
|
||||
imin = f.height - 1;
|
||||
}
|
||||
if (cbHDir.SelectedIndex == 0) {
|
||||
// Rows; Top to bottom
|
||||
jmax = f.width;
|
||||
} else {
|
||||
// Rows; Bottom to top
|
||||
jmin = f.width - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = imin; i != imax; i += idir) {
|
||||
if (lines == 0) {
|
||||
// "Column/Row per line" - new line offset
|
||||
output += " " + obracket;
|
||||
numcount = 0;
|
||||
}
|
||||
for (int j = jmin; j != jmax; j += jdir) {
|
||||
if (jdir < 0) t = jmin - j;
|
||||
else t = j;
|
||||
if (t % bits == 0) b = 0;
|
||||
|
||||
if (cbOrder.SelectedIndex == 0) { // Columns
|
||||
x = i; y = j;
|
||||
} else { // Rows
|
||||
x = j; y = i;
|
||||
}
|
||||
|
||||
if (f.data[x, y]) {
|
||||
if ((cbBitOrder.SelectedIndex == 0 && jdir > 0) || (cbBitOrder.SelectedIndex == 1 && jdir < 0)) {
|
||||
// LSB on top/Left
|
||||
b |= (uint)(1 << (t % bits));
|
||||
} else {
|
||||
// MSB on top/Left
|
||||
b |= (uint)(1 << (bits - (t % bits) - 1));
|
||||
}
|
||||
|
||||
}
|
||||
if (((t + 1) % bits == 0) || j + jdir == jmax) {
|
||||
// we have filled a number with bits - let's post it
|
||||
|
||||
// should we post a comma before the number?
|
||||
output += numcount == 0 ? "" : ", ";
|
||||
|
||||
// should we post a prefix to the number?
|
||||
pref = (!cbZeroes.Checked && ((b < 10 && nbase == 16) || (b < 2 && nbase == 2))) ? "" : prefix;
|
||||
output += pref + Convert.ToString(b, nbase).PadLeft(pad, '0');
|
||||
|
||||
// count posted numbers
|
||||
numcount++;
|
||||
if (lines == 2 && numcount >= lineslim && !(j + jdir == jmax && i + idir == imax)) {
|
||||
// "X numbers per line" - line break
|
||||
numcount = 0;
|
||||
output += ",\n ";
|
||||
}
|
||||
}
|
||||
}
|
||||
if (lines == 0) {
|
||||
// "Column/Row per line" - closing line
|
||||
output += cbracket + ((i+idir==imax) && f.Equals(flast) ? "" : ",") + "\n";
|
||||
}
|
||||
}
|
||||
if (lines == 1) {
|
||||
// "1 symbol per line" - closing line
|
||||
if (!f.Equals(flast) && f.width > 0) output += ",";
|
||||
if (com && fcount > 1) {
|
||||
//...with a comment
|
||||
output += " // " + f.code.ToString() + " --> " + mainForm.decodeSymbol(f.code);
|
||||
}
|
||||
output += "\n";
|
||||
}
|
||||
if (lines == 2) {
|
||||
// "X numbers per line" - closing line
|
||||
if (!f.Equals(flast)) output += ",";
|
||||
output += "\n";
|
||||
numcount = 0;
|
||||
}
|
||||
}
|
||||
// Close array definition
|
||||
output += "};\n";
|
||||
|
||||
txtOutput.Text = output;
|
||||
txtOutput.SelectionStart = 0;
|
||||
txtOutput.ScrollToCaret();
|
||||
}
|
||||
|
||||
private void cbFormat_SelectedIndexChanged(object sender, EventArgs e) {
|
||||
if (cbFormat.SelectedIndex == 1 && cbHeader.Checked) {
|
||||
MessageBox.Show("Cannot pack the font meta header into 2D array!\nChoose 1D array or disable the meta header.\n(Setting array format to 1D array)", "No header in 2D array!", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
cbFormat.SelectedIndex = 0;
|
||||
}
|
||||
if (!mainForm.monospaced && cbFormat.SelectedIndex == 1 && mainForm.frames.Count > 1) {
|
||||
MessageBox.Show("Cannot pack the variable width font into 2D array!\n(Setting array format to 1D array)", "2D arrays are for monospaced fonts only!", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
cbFormat.SelectedIndex = 0;
|
||||
}
|
||||
if (cbFormat.SelectedIndex == 1) {
|
||||
cbLines.SelectedIndex = 0;
|
||||
cbLines.Enabled = false;
|
||||
} else {
|
||||
cbLines.Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void cbLines_SelectedIndexChanged(object sender, EventArgs e) {
|
||||
if (cbLines.SelectedIndex == 2) {
|
||||
nudXLines.Enabled = true;
|
||||
lblXLines.Enabled = true;
|
||||
} else {
|
||||
nudXLines.Enabled = false;
|
||||
lblXLines.Enabled = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
126
McBitFont/Export.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
3
McBitFont/FodyWeavers.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
|
||||
<Costura />
|
||||
</Weavers>
|
677
McBitFont/Form1.Designer.cs
generated
@@ -1,5 +1,5 @@
|
||||
namespace McBitFont {
|
||||
partial class Form1 {
|
||||
partial class MainForm {
|
||||
/// <summary>
|
||||
/// Обязательная переменная конструктора.
|
||||
/// </summary>
|
||||
@@ -24,21 +24,17 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent() {
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("adasd");
|
||||
System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("ddddd", 0);
|
||||
System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("ffff");
|
||||
System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("");
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||
this.dotPanel = new System.Windows.Forms.Panel();
|
||||
this.nudX = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudY = new System.Windows.Forms.NumericUpDown();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.lblType = new System.Windows.Forms.Label();
|
||||
this.cbZoom = new System.Windows.Forms.ComboBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.pbZoom = new System.Windows.Forms.ProgressBar();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btnClear = new System.Windows.Forms.Button();
|
||||
this.btnMirrorY = new System.Windows.Forms.Button();
|
||||
this.btnMirrorX = new System.Windows.Forms.Button();
|
||||
this.btnInvert = new System.Windows.Forms.Button();
|
||||
@@ -46,14 +42,50 @@
|
||||
this.btnShiftUp = new System.Windows.Forms.Button();
|
||||
this.btnShiftRight = new System.Windows.Forms.Button();
|
||||
this.btnShiftLeft = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.outBox = new System.Windows.Forms.TextBox();
|
||||
this.btnExport = new System.Windows.Forms.Button();
|
||||
this.miniList = new System.Windows.Forms.ListView();
|
||||
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.ilMiniatures = new System.Windows.Forms.ImageList(this.components);
|
||||
this.btnApply = new System.Windows.Forms.Button();
|
||||
this.hScroll = new System.Windows.Forms.HScrollBar();
|
||||
this.vScroll = new System.Windows.Forms.VScrollBar();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.openDEVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveDEVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.prependSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.appendSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.removeSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.applyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ClearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.shiftUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.shiftDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.shiftLeftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.shiftRightToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.invertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mirrorXToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mirrorYToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.dlgSave = new System.Windows.Forms.SaveFileDialog();
|
||||
this.dlgOpen = new System.Windows.Forms.OpenFileDialog();
|
||||
this.btnBaseline = new System.Windows.Forms.Button();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.chkLeftSide = new System.Windows.Forms.CheckBox();
|
||||
this.chkTopSide = new System.Windows.Forms.CheckBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudX)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudY)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dotPanel
|
||||
@@ -61,32 +93,30 @@
|
||||
this.dotPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.dotPanel.AutoScroll = true;
|
||||
this.dotPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.dotPanel.BackColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.dotPanel.Location = new System.Drawing.Point(12, 12);
|
||||
this.dotPanel.Location = new System.Drawing.Point(12, 27);
|
||||
this.dotPanel.Name = "dotPanel";
|
||||
this.dotPanel.Size = new System.Drawing.Size(613, 542);
|
||||
this.dotPanel.Size = new System.Drawing.Size(389, 498);
|
||||
this.dotPanel.TabIndex = 0;
|
||||
this.dotPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.dotPanel_Paint);
|
||||
this.dotPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dotPanel_MouseMove);
|
||||
this.dotPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.dotPanel_MouseMove);
|
||||
this.dotPanel.Resize += new System.EventHandler(this.cbZoom_SelectedIndexChanged);
|
||||
//
|
||||
// nudX
|
||||
//
|
||||
this.nudX.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nudX.Location = new System.Drawing.Point(810, 12);
|
||||
this.nudX.Location = new System.Drawing.Point(666, 27);
|
||||
this.nudX.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudX.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudX.Name = "nudX";
|
||||
this.nudX.Size = new System.Drawing.Size(55, 20);
|
||||
this.nudX.Size = new System.Drawing.Size(40, 20);
|
||||
this.nudX.TabIndex = 1;
|
||||
this.toolTip1.SetToolTip(this.nudX, "Symbol width");
|
||||
this.nudX.Value = new decimal(new int[] {
|
||||
32,
|
||||
0,
|
||||
@@ -97,7 +127,7 @@
|
||||
// nudY
|
||||
//
|
||||
this.nudY.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nudY.Location = new System.Drawing.Point(810, 38);
|
||||
this.nudY.Location = new System.Drawing.Point(666, 49);
|
||||
this.nudY.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
@@ -109,8 +139,9 @@
|
||||
0,
|
||||
0});
|
||||
this.nudY.Name = "nudY";
|
||||
this.nudY.Size = new System.Drawing.Size(55, 20);
|
||||
this.nudY.Size = new System.Drawing.Size(40, 20);
|
||||
this.nudY.TabIndex = 2;
|
||||
this.toolTip1.SetToolTip(this.nudY, "Symbol height");
|
||||
this.nudY.Value = new decimal(new int[] {
|
||||
32,
|
||||
0,
|
||||
@@ -122,7 +153,7 @@
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(766, 14);
|
||||
this.label1.Location = new System.Drawing.Point(622, 29);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(38, 13);
|
||||
this.label1.TabIndex = 3;
|
||||
@@ -132,25 +163,25 @@
|
||||
//
|
||||
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(763, 40);
|
||||
this.label2.Location = new System.Drawing.Point(619, 51);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(41, 13);
|
||||
this.label2.TabIndex = 4;
|
||||
this.label2.Text = "Height:";
|
||||
//
|
||||
// label3
|
||||
// lblType
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(631, 12);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(35, 13);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "label3";
|
||||
this.lblType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblType.Location = new System.Drawing.Point(554, 138);
|
||||
this.lblType.Name = "lblType";
|
||||
this.lblType.Size = new System.Drawing.Size(217, 13);
|
||||
this.lblType.TabIndex = 0;
|
||||
this.lblType.Text = "Monospaced";
|
||||
this.lblType.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||
//
|
||||
// cbZoom
|
||||
//
|
||||
this.cbZoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cbZoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cbZoom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbZoom.FormattingEnabled = true;
|
||||
this.cbZoom.Items.AddRange(new object[] {
|
||||
@@ -166,36 +197,29 @@
|
||||
"40",
|
||||
"45",
|
||||
"50"});
|
||||
this.cbZoom.Location = new System.Drawing.Point(631, 533);
|
||||
this.cbZoom.Location = new System.Drawing.Point(554, 45);
|
||||
this.cbZoom.Name = "cbZoom";
|
||||
this.cbZoom.Size = new System.Drawing.Size(59, 21);
|
||||
this.cbZoom.TabIndex = 6;
|
||||
this.cbZoom.TabStop = false;
|
||||
this.toolTip1.SetToolTip(this.cbZoom, "Canvas zoom level");
|
||||
this.cbZoom.SelectedIndexChanged += new System.EventHandler(this.cbZoom_SelectedIndexChanged);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(628, 517);
|
||||
this.label4.Location = new System.Drawing.Point(553, 29);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(62, 13);
|
||||
this.label4.TabIndex = 7;
|
||||
this.label4.Text = "Zoom level:";
|
||||
//
|
||||
// pbZoom
|
||||
//
|
||||
this.pbZoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pbZoom.Location = new System.Drawing.Point(696, 533);
|
||||
this.pbZoom.Name = "pbZoom";
|
||||
this.pbZoom.Size = new System.Drawing.Size(169, 21);
|
||||
this.pbZoom.Step = 1;
|
||||
this.pbZoom.TabIndex = 8;
|
||||
this.pbZoom.Visible = false;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.btnClear);
|
||||
this.panel1.Controls.Add(this.btnMirrorY);
|
||||
this.panel1.Controls.Add(this.btnMirrorX);
|
||||
this.panel1.Controls.Add(this.btnInvert);
|
||||
@@ -203,176 +227,562 @@
|
||||
this.panel1.Controls.Add(this.btnShiftUp);
|
||||
this.panel1.Controls.Add(this.btnShiftRight);
|
||||
this.panel1.Controls.Add(this.btnShiftLeft);
|
||||
this.panel1.Location = new System.Drawing.Point(634, 70);
|
||||
this.panel1.Location = new System.Drawing.Point(428, 27);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(231, 80);
|
||||
this.panel1.Size = new System.Drawing.Size(120, 121);
|
||||
this.panel1.TabIndex = 9;
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.btnClear.Location = new System.Drawing.Point(7, 8);
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.Size = new System.Drawing.Size(30, 30);
|
||||
this.btnClear.TabIndex = 7;
|
||||
this.btnClear.Text = "○";
|
||||
this.toolTip1.SetToolTip(this.btnClear, "Clear canvas");
|
||||
this.btnClear.UseVisualStyleBackColor = true;
|
||||
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
||||
//
|
||||
// btnMirrorY
|
||||
//
|
||||
this.btnMirrorY.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.btnMirrorY.Location = new System.Drawing.Point(188, 4);
|
||||
this.btnMirrorY.Location = new System.Drawing.Point(79, 80);
|
||||
this.btnMirrorY.Name = "btnMirrorY";
|
||||
this.btnMirrorY.Size = new System.Drawing.Size(30, 30);
|
||||
this.btnMirrorY.TabIndex = 6;
|
||||
this.btnMirrorY.Text = "⩥";
|
||||
this.toolTip1.SetToolTip(this.btnMirrorY, "Mirror by Y axis (vertical)");
|
||||
this.btnMirrorY.UseVisualStyleBackColor = true;
|
||||
this.btnMirrorY.Click += new System.EventHandler(this.btnMirrorY_Click);
|
||||
//
|
||||
// btnMirrorX
|
||||
//
|
||||
this.btnMirrorX.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.btnMirrorX.Location = new System.Drawing.Point(152, 4);
|
||||
this.btnMirrorX.Location = new System.Drawing.Point(43, 80);
|
||||
this.btnMirrorX.Name = "btnMirrorX";
|
||||
this.btnMirrorX.Size = new System.Drawing.Size(30, 30);
|
||||
this.btnMirrorX.TabIndex = 5;
|
||||
this.btnMirrorX.Text = "◮";
|
||||
this.toolTip1.SetToolTip(this.btnMirrorX, "Mirror by X axis (horizontal)");
|
||||
this.btnMirrorX.UseVisualStyleBackColor = true;
|
||||
this.btnMirrorX.Click += new System.EventHandler(this.btnMirrorX_Click);
|
||||
//
|
||||
// btnInvert
|
||||
//
|
||||
this.btnInvert.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.btnInvert.Location = new System.Drawing.Point(116, 4);
|
||||
this.btnInvert.Location = new System.Drawing.Point(7, 80);
|
||||
this.btnInvert.Name = "btnInvert";
|
||||
this.btnInvert.Size = new System.Drawing.Size(30, 30);
|
||||
this.btnInvert.TabIndex = 4;
|
||||
this.btnInvert.Text = "◪";
|
||||
this.toolTip1.SetToolTip(this.btnInvert, "Invert pixel colors");
|
||||
this.btnInvert.UseVisualStyleBackColor = true;
|
||||
this.btnInvert.Click += new System.EventHandler(this.btnInvert_Click);
|
||||
//
|
||||
// btnShiftDown
|
||||
//
|
||||
this.btnShiftDown.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.btnShiftDown.Location = new System.Drawing.Point(44, 40);
|
||||
this.btnShiftDown.Location = new System.Drawing.Point(43, 44);
|
||||
this.btnShiftDown.Name = "btnShiftDown";
|
||||
this.btnShiftDown.Size = new System.Drawing.Size(30, 30);
|
||||
this.btnShiftDown.TabIndex = 3;
|
||||
this.btnShiftDown.Text = "▼";
|
||||
this.toolTip1.SetToolTip(this.btnShiftDown, "Shift pixels down");
|
||||
this.btnShiftDown.UseVisualStyleBackColor = true;
|
||||
this.btnShiftDown.Click += new System.EventHandler(this.btnShiftDown_Click);
|
||||
//
|
||||
// btnShiftUp
|
||||
//
|
||||
this.btnShiftUp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.btnShiftUp.Location = new System.Drawing.Point(44, 4);
|
||||
this.btnShiftUp.Location = new System.Drawing.Point(43, 8);
|
||||
this.btnShiftUp.Name = "btnShiftUp";
|
||||
this.btnShiftUp.Size = new System.Drawing.Size(30, 30);
|
||||
this.btnShiftUp.TabIndex = 2;
|
||||
this.btnShiftUp.Text = "▲";
|
||||
this.toolTip1.SetToolTip(this.btnShiftUp, "Shift pixels up");
|
||||
this.btnShiftUp.UseVisualStyleBackColor = true;
|
||||
this.btnShiftUp.Click += new System.EventHandler(this.btnShiftUp_Click);
|
||||
//
|
||||
// btnShiftRight
|
||||
//
|
||||
this.btnShiftRight.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.btnShiftRight.Location = new System.Drawing.Point(80, 40);
|
||||
this.btnShiftRight.Location = new System.Drawing.Point(79, 44);
|
||||
this.btnShiftRight.Name = "btnShiftRight";
|
||||
this.btnShiftRight.Size = new System.Drawing.Size(30, 30);
|
||||
this.btnShiftRight.TabIndex = 1;
|
||||
this.btnShiftRight.Text = "▶";
|
||||
this.toolTip1.SetToolTip(this.btnShiftRight, "Shift pixels right");
|
||||
this.btnShiftRight.UseVisualStyleBackColor = true;
|
||||
this.btnShiftRight.Click += new System.EventHandler(this.btnShiftRight_Click);
|
||||
//
|
||||
// btnShiftLeft
|
||||
//
|
||||
this.btnShiftLeft.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.btnShiftLeft.Location = new System.Drawing.Point(8, 40);
|
||||
this.btnShiftLeft.Location = new System.Drawing.Point(7, 44);
|
||||
this.btnShiftLeft.Name = "btnShiftLeft";
|
||||
this.btnShiftLeft.Size = new System.Drawing.Size(30, 30);
|
||||
this.btnShiftLeft.TabIndex = 0;
|
||||
this.btnShiftLeft.Text = "◀";
|
||||
this.toolTip1.SetToolTip(this.btnShiftLeft, "Shift pixels left");
|
||||
this.btnShiftLeft.UseVisualStyleBackColor = true;
|
||||
this.btnShiftLeft.Click += new System.EventHandler(this.btnShiftLeft_Click);
|
||||
//
|
||||
// button1
|
||||
// btnExport
|
||||
//
|
||||
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button1.Location = new System.Drawing.Point(634, 156);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 10;
|
||||
this.button1.Text = "Generate";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// outBox
|
||||
//
|
||||
this.outBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.outBox.Font = new System.Drawing.Font("Consolas", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.outBox.Location = new System.Drawing.Point(634, 185);
|
||||
this.outBox.Multiline = true;
|
||||
this.outBox.Name = "outBox";
|
||||
this.outBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.outBox.Size = new System.Drawing.Size(230, 134);
|
||||
this.outBox.TabIndex = 11;
|
||||
this.outBox.Text = "Output text here";
|
||||
this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnExport.Location = new System.Drawing.Point(696, 109);
|
||||
this.btnExport.Name = "btnExport";
|
||||
this.btnExport.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnExport.TabIndex = 10;
|
||||
this.btnExport.Text = "Export";
|
||||
this.toolTip1.SetToolTip(this.btnExport, "Configure and export data");
|
||||
this.btnExport.UseVisualStyleBackColor = true;
|
||||
this.btnExport.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// miniList
|
||||
//
|
||||
this.miniList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.miniList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.miniList.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.miniList.GridLines = true;
|
||||
this.miniList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||||
this.miniList.HideSelection = false;
|
||||
this.miniList.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
|
||||
listViewItem1,
|
||||
listViewItem2,
|
||||
listViewItem3,
|
||||
listViewItem4});
|
||||
this.miniList.LargeImageList = this.imageList1;
|
||||
this.miniList.Location = new System.Drawing.Point(634, 325);
|
||||
this.miniList.LargeImageList = this.ilMiniatures;
|
||||
this.miniList.Location = new System.Drawing.Point(428, 154);
|
||||
this.miniList.MultiSelect = false;
|
||||
this.miniList.Name = "miniList";
|
||||
this.miniList.ShowGroups = false;
|
||||
this.miniList.Size = new System.Drawing.Size(230, 189);
|
||||
this.miniList.SmallImageList = this.imageList1;
|
||||
this.miniList.Size = new System.Drawing.Size(343, 395);
|
||||
this.miniList.SmallImageList = this.ilMiniatures;
|
||||
this.miniList.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
||||
this.miniList.TabIndex = 12;
|
||||
this.miniList.TabStop = false;
|
||||
this.miniList.TileSize = new System.Drawing.Size(50, 70);
|
||||
this.miniList.TileSize = new System.Drawing.Size(50, 50);
|
||||
this.miniList.UseCompatibleStateImageBehavior = false;
|
||||
this.miniList.SelectedIndexChanged += new System.EventHandler(this.miniList_SelectedIndexChanged);
|
||||
//
|
||||
// imageList1
|
||||
// ilMiniatures
|
||||
//
|
||||
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
|
||||
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
|
||||
this.imageList1.Images.SetKeyName(0, "firmware.png");
|
||||
this.ilMiniatures.ColorDepth = System.Windows.Forms.ColorDepth.Depth4Bit;
|
||||
this.ilMiniatures.ImageSize = new System.Drawing.Size(50, 50);
|
||||
this.ilMiniatures.TransparentColor = System.Drawing.Color.Transparent;
|
||||
//
|
||||
// button2
|
||||
// btnApply
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(790, 156);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.TabIndex = 13;
|
||||
this.button2.Text = "button2";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
this.btnApply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnApply.Location = new System.Drawing.Point(615, 109);
|
||||
this.btnApply.Name = "btnApply";
|
||||
this.btnApply.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnApply.TabIndex = 13;
|
||||
this.btnApply.Text = "Apply";
|
||||
this.toolTip1.SetToolTip(this.btnApply, "Apply changes made to the symbol");
|
||||
this.btnApply.UseVisualStyleBackColor = true;
|
||||
this.btnApply.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// Form1
|
||||
// hScroll
|
||||
//
|
||||
this.hScroll.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.hScroll.Location = new System.Drawing.Point(12, 528);
|
||||
this.hScroll.Name = "hScroll";
|
||||
this.hScroll.Size = new System.Drawing.Size(389, 21);
|
||||
this.hScroll.TabIndex = 14;
|
||||
this.hScroll.ValueChanged += new System.EventHandler(this.scroll_ValueChanged);
|
||||
//
|
||||
// vScroll
|
||||
//
|
||||
this.vScroll.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.vScroll.LargeChange = 25;
|
||||
this.vScroll.Location = new System.Drawing.Point(404, 27);
|
||||
this.vScroll.Name = "vScroll";
|
||||
this.vScroll.Size = new System.Drawing.Size(21, 498);
|
||||
this.vScroll.TabIndex = 15;
|
||||
this.vScroll.ValueChanged += new System.EventHandler(this.scroll_ValueChanged);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(554, 114);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(24, 13);
|
||||
this.label5.TabIndex = 16;
|
||||
this.label5.Text = "X,Y";
|
||||
this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem,
|
||||
this.editToolStripMenuItem,
|
||||
this.toolsToolStripMenuItem,
|
||||
this.aboutToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(784, 24);
|
||||
this.menuStrip1.TabIndex = 17;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
//
|
||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.newToolStripMenuItem,
|
||||
this.openToolStripMenuItem,
|
||||
this.openDEVToolStripMenuItem,
|
||||
this.saveDEVToolStripMenuItem,
|
||||
this.saveToolStripMenuItem,
|
||||
this.saveAsToolStripMenuItem,
|
||||
this.exitToolStripMenuItem});
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||
this.fileToolStripMenuItem.Text = "File";
|
||||
//
|
||||
// newToolStripMenuItem
|
||||
//
|
||||
this.newToolStripMenuItem.Image = global::McBitFont.Properties.Resources.file;
|
||||
this.newToolStripMenuItem.Name = "newToolStripMenuItem";
|
||||
this.newToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+N";
|
||||
this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
|
||||
this.newToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.newToolStripMenuItem.Text = "New";
|
||||
this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click);
|
||||
//
|
||||
// openToolStripMenuItem
|
||||
//
|
||||
this.openToolStripMenuItem.Image = global::McBitFont.Properties.Resources.folder_open;
|
||||
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
|
||||
this.openToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+O";
|
||||
this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
|
||||
this.openToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.openToolStripMenuItem.Text = "Open";
|
||||
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
|
||||
//
|
||||
// openDEVToolStripMenuItem
|
||||
//
|
||||
this.openDEVToolStripMenuItem.Name = "openDEVToolStripMenuItem";
|
||||
this.openDEVToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.openDEVToolStripMenuItem.Text = "Open DEV";
|
||||
this.openDEVToolStripMenuItem.Visible = false;
|
||||
this.openDEVToolStripMenuItem.Click += new System.EventHandler(this.openDEVToolStripMenuItem_Click);
|
||||
//
|
||||
// saveDEVToolStripMenuItem
|
||||
//
|
||||
this.saveDEVToolStripMenuItem.Name = "saveDEVToolStripMenuItem";
|
||||
this.saveDEVToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.saveDEVToolStripMenuItem.Text = "Save as (new format)";
|
||||
this.saveDEVToolStripMenuItem.Click += new System.EventHandler(this.saveJSONToolStripMenuItem_Click);
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
this.saveToolStripMenuItem.Image = global::McBitFont.Properties.Resources.Famfamfam_Silk_Disk_16;
|
||||
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||
this.saveToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+S";
|
||||
this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.saveToolStripMenuItem.Text = "Save";
|
||||
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click_1);
|
||||
//
|
||||
// saveAsToolStripMenuItem
|
||||
//
|
||||
this.saveAsToolStripMenuItem.Image = global::McBitFont.Properties.Resources.Famfamfam_Silk_Disk_16;
|
||||
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
|
||||
this.saveAsToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Shift+S";
|
||||
this.saveAsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
| System.Windows.Forms.Keys.S)));
|
||||
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.saveAsToolStripMenuItem.Text = "Save as";
|
||||
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
||||
//
|
||||
// exitToolStripMenuItem
|
||||
//
|
||||
this.exitToolStripMenuItem.Image = global::McBitFont.Properties.Resources.Famfamfam_Silk_Door_out_16;
|
||||
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||
this.exitToolStripMenuItem.ShortcutKeyDisplayString = "Alt+X";
|
||||
this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.X)));
|
||||
this.exitToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.exitToolStripMenuItem.Text = "Exit";
|
||||
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
||||
//
|
||||
// editToolStripMenuItem
|
||||
//
|
||||
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.copyToolStripMenuItem,
|
||||
this.pasteToolStripMenuItem,
|
||||
this.prependSymbolToolStripMenuItem,
|
||||
this.appendSymbolToolStripMenuItem,
|
||||
this.removeSymbolToolStripMenuItem,
|
||||
this.applyToolStripMenuItem});
|
||||
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
||||
this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
|
||||
this.editToolStripMenuItem.Text = "Edit";
|
||||
//
|
||||
// copyToolStripMenuItem
|
||||
//
|
||||
this.copyToolStripMenuItem.Enabled = false;
|
||||
this.copyToolStripMenuItem.Image = global::McBitFont.Properties.Resources.Famfamfam_Silk_Page_copy_16;
|
||||
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
|
||||
this.copyToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+C";
|
||||
this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
|
||||
this.copyToolStripMenuItem.Size = new System.Drawing.Size(212, 22);
|
||||
this.copyToolStripMenuItem.Text = "Copy";
|
||||
this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
|
||||
//
|
||||
// pasteToolStripMenuItem
|
||||
//
|
||||
this.pasteToolStripMenuItem.Enabled = false;
|
||||
this.pasteToolStripMenuItem.Image = global::McBitFont.Properties.Resources.Famfamfam_Silk_Page_paste_16;
|
||||
this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
|
||||
this.pasteToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+V";
|
||||
this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
|
||||
this.pasteToolStripMenuItem.Size = new System.Drawing.Size(212, 22);
|
||||
this.pasteToolStripMenuItem.Text = "Paste";
|
||||
this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
|
||||
//
|
||||
// prependSymbolToolStripMenuItem
|
||||
//
|
||||
this.prependSymbolToolStripMenuItem.Enabled = false;
|
||||
this.prependSymbolToolStripMenuItem.Image = global::McBitFont.Properties.Resources.action_add;
|
||||
this.prependSymbolToolStripMenuItem.Name = "prependSymbolToolStripMenuItem";
|
||||
this.prependSymbolToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Ins";
|
||||
this.prependSymbolToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Insert)));
|
||||
this.prependSymbolToolStripMenuItem.Size = new System.Drawing.Size(212, 22);
|
||||
this.prependSymbolToolStripMenuItem.Text = "Prepend symbol";
|
||||
this.prependSymbolToolStripMenuItem.Click += new System.EventHandler(this.prependSymbolToolStripMenuItem_Click);
|
||||
//
|
||||
// appendSymbolToolStripMenuItem
|
||||
//
|
||||
this.appendSymbolToolStripMenuItem.Enabled = false;
|
||||
this.appendSymbolToolStripMenuItem.Image = global::McBitFont.Properties.Resources.action_add;
|
||||
this.appendSymbolToolStripMenuItem.Name = "appendSymbolToolStripMenuItem";
|
||||
this.appendSymbolToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+End";
|
||||
this.appendSymbolToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.End)));
|
||||
this.appendSymbolToolStripMenuItem.Size = new System.Drawing.Size(212, 22);
|
||||
this.appendSymbolToolStripMenuItem.Text = "Append symbol";
|
||||
this.appendSymbolToolStripMenuItem.Click += new System.EventHandler(this.prependSymbolToolStripMenuItem_Click);
|
||||
//
|
||||
// removeSymbolToolStripMenuItem
|
||||
//
|
||||
this.removeSymbolToolStripMenuItem.Enabled = false;
|
||||
this.removeSymbolToolStripMenuItem.Image = global::McBitFont.Properties.Resources.action_remove;
|
||||
this.removeSymbolToolStripMenuItem.Name = "removeSymbolToolStripMenuItem";
|
||||
this.removeSymbolToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Del";
|
||||
this.removeSymbolToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete)));
|
||||
this.removeSymbolToolStripMenuItem.Size = new System.Drawing.Size(212, 22);
|
||||
this.removeSymbolToolStripMenuItem.Text = "Remove symbol";
|
||||
this.removeSymbolToolStripMenuItem.Click += new System.EventHandler(this.removeSymbolToolStripMenuItem_Click);
|
||||
//
|
||||
// applyToolStripMenuItem
|
||||
//
|
||||
this.applyToolStripMenuItem.Image = global::McBitFont.Properties.Resources.action_check;
|
||||
this.applyToolStripMenuItem.Name = "applyToolStripMenuItem";
|
||||
this.applyToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Space";
|
||||
this.applyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Space)));
|
||||
this.applyToolStripMenuItem.Size = new System.Drawing.Size(212, 22);
|
||||
this.applyToolStripMenuItem.Text = "Apply";
|
||||
this.applyToolStripMenuItem.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// toolsToolStripMenuItem
|
||||
//
|
||||
this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ClearToolStripMenuItem,
|
||||
this.shiftUpToolStripMenuItem,
|
||||
this.shiftDownToolStripMenuItem,
|
||||
this.shiftLeftToolStripMenuItem,
|
||||
this.shiftRightToolStripMenuItem,
|
||||
this.invertToolStripMenuItem,
|
||||
this.mirrorXToolStripMenuItem,
|
||||
this.mirrorYToolStripMenuItem,
|
||||
this.exportToolStripMenuItem});
|
||||
this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
|
||||
this.toolsToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
|
||||
this.toolsToolStripMenuItem.Text = "Tools";
|
||||
//
|
||||
// ClearToolStripMenuItem
|
||||
//
|
||||
this.ClearToolStripMenuItem.Name = "ClearToolStripMenuItem";
|
||||
this.ClearToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+W";
|
||||
this.ClearToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W)));
|
||||
this.ClearToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||
this.ClearToolStripMenuItem.Text = "Clear canvas";
|
||||
this.ClearToolStripMenuItem.Click += new System.EventHandler(this.btnClear_Click);
|
||||
//
|
||||
// shiftUpToolStripMenuItem
|
||||
//
|
||||
this.shiftUpToolStripMenuItem.Image = global::McBitFont.Properties.Resources.arrow_top;
|
||||
this.shiftUpToolStripMenuItem.Name = "shiftUpToolStripMenuItem";
|
||||
this.shiftUpToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Up";
|
||||
this.shiftUpToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Up)));
|
||||
this.shiftUpToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||
this.shiftUpToolStripMenuItem.Text = "Shift Up";
|
||||
this.shiftUpToolStripMenuItem.Click += new System.EventHandler(this.btnShiftUp_Click);
|
||||
//
|
||||
// shiftDownToolStripMenuItem
|
||||
//
|
||||
this.shiftDownToolStripMenuItem.Image = global::McBitFont.Properties.Resources.arrow_down;
|
||||
this.shiftDownToolStripMenuItem.Name = "shiftDownToolStripMenuItem";
|
||||
this.shiftDownToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Down";
|
||||
this.shiftDownToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Down)));
|
||||
this.shiftDownToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||
this.shiftDownToolStripMenuItem.Text = "Shift Down";
|
||||
this.shiftDownToolStripMenuItem.Click += new System.EventHandler(this.btnShiftDown_Click);
|
||||
//
|
||||
// shiftLeftToolStripMenuItem
|
||||
//
|
||||
this.shiftLeftToolStripMenuItem.Image = global::McBitFont.Properties.Resources.arrow_back;
|
||||
this.shiftLeftToolStripMenuItem.Name = "shiftLeftToolStripMenuItem";
|
||||
this.shiftLeftToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Left";
|
||||
this.shiftLeftToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Left)));
|
||||
this.shiftLeftToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||
this.shiftLeftToolStripMenuItem.Text = "Shift left";
|
||||
this.shiftLeftToolStripMenuItem.Click += new System.EventHandler(this.btnShiftLeft_Click);
|
||||
//
|
||||
// shiftRightToolStripMenuItem
|
||||
//
|
||||
this.shiftRightToolStripMenuItem.Image = global::McBitFont.Properties.Resources.arrow_next;
|
||||
this.shiftRightToolStripMenuItem.Name = "shiftRightToolStripMenuItem";
|
||||
this.shiftRightToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Right";
|
||||
this.shiftRightToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Right)));
|
||||
this.shiftRightToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||
this.shiftRightToolStripMenuItem.Text = "Shift Right";
|
||||
this.shiftRightToolStripMenuItem.Click += new System.EventHandler(this.btnShiftRight_Click);
|
||||
//
|
||||
// invertToolStripMenuItem
|
||||
//
|
||||
this.invertToolStripMenuItem.Image = global::McBitFont.Properties.Resources.Ionic_Ionicons_Invert_mode_outline_16;
|
||||
this.invertToolStripMenuItem.Name = "invertToolStripMenuItem";
|
||||
this.invertToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+I";
|
||||
this.invertToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)));
|
||||
this.invertToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||
this.invertToolStripMenuItem.Text = "Invert";
|
||||
this.invertToolStripMenuItem.Click += new System.EventHandler(this.btnInvert_Click);
|
||||
//
|
||||
// mirrorXToolStripMenuItem
|
||||
//
|
||||
this.mirrorXToolStripMenuItem.Image = global::McBitFont.Properties.Resources.Famfamfam_Silk_Shape_flip_horizontal_16;
|
||||
this.mirrorXToolStripMenuItem.Name = "mirrorXToolStripMenuItem";
|
||||
this.mirrorXToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+X";
|
||||
this.mirrorXToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
|
||||
this.mirrorXToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||
this.mirrorXToolStripMenuItem.Text = "Mirror X";
|
||||
this.mirrorXToolStripMenuItem.Click += new System.EventHandler(this.btnMirrorX_Click);
|
||||
//
|
||||
// mirrorYToolStripMenuItem
|
||||
//
|
||||
this.mirrorYToolStripMenuItem.Image = global::McBitFont.Properties.Resources.Famfamfam_Silk_Shape_flip_vertical_16;
|
||||
this.mirrorYToolStripMenuItem.Name = "mirrorYToolStripMenuItem";
|
||||
this.mirrorYToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Y";
|
||||
this.mirrorYToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
|
||||
this.mirrorYToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||
this.mirrorYToolStripMenuItem.Text = "Mirror Y";
|
||||
this.mirrorYToolStripMenuItem.Click += new System.EventHandler(this.btnMirrorY_Click);
|
||||
//
|
||||
// exportToolStripMenuItem
|
||||
//
|
||||
this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
|
||||
this.exportToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+E";
|
||||
this.exportToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)));
|
||||
this.exportToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||
this.exportToolStripMenuItem.Text = "Export";
|
||||
this.exportToolStripMenuItem.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// aboutToolStripMenuItem
|
||||
//
|
||||
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(52, 20);
|
||||
this.aboutToolStripMenuItem.Text = "About";
|
||||
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
||||
//
|
||||
// dlgSave
|
||||
//
|
||||
this.dlgSave.DefaultExt = "mbf";
|
||||
this.dlgSave.Filter = "McBitFont files|*.mbf|McBitFont new format|*.mbfont|All files|*.*";
|
||||
//
|
||||
// dlgOpen
|
||||
//
|
||||
this.dlgOpen.DefaultExt = "mbf";
|
||||
this.dlgOpen.Filter = "McBitFont files|*.mbf|All files|*.*";
|
||||
//
|
||||
// btnBaseline
|
||||
//
|
||||
this.btnBaseline.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnBaseline.Location = new System.Drawing.Point(615, 80);
|
||||
this.btnBaseline.Name = "btnBaseline";
|
||||
this.btnBaseline.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnBaseline.TabIndex = 18;
|
||||
this.btnBaseline.Text = "Baseline";
|
||||
this.toolTip1.SetToolTip(this.btnBaseline, "Set irtual base line for the font");
|
||||
this.btnBaseline.UseVisualStyleBackColor = true;
|
||||
this.btnBaseline.Click += new System.EventHandler(this.btnBaseline_Click);
|
||||
//
|
||||
// toolTip1
|
||||
//
|
||||
this.toolTip1.AutoPopDelay = 10000;
|
||||
this.toolTip1.InitialDelay = 500;
|
||||
this.toolTip1.ReshowDelay = 100;
|
||||
//
|
||||
// chkLeftSide
|
||||
//
|
||||
this.chkLeftSide.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkLeftSide.AutoSize = true;
|
||||
this.chkLeftSide.Location = new System.Drawing.Point(712, 29);
|
||||
this.chkLeftSide.Name = "chkLeftSide";
|
||||
this.chkLeftSide.Size = new System.Drawing.Size(66, 17);
|
||||
this.chkLeftSide.TabIndex = 19;
|
||||
this.chkLeftSide.Text = "Left side";
|
||||
this.toolTip1.SetToolTip(this.chkLeftSide, "Width changes will be made on Left/Right side");
|
||||
this.chkLeftSide.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkTopSide
|
||||
//
|
||||
this.chkTopSide.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkTopSide.AutoSize = true;
|
||||
this.chkTopSide.Location = new System.Drawing.Point(712, 50);
|
||||
this.chkTopSide.Name = "chkTopSide";
|
||||
this.chkTopSide.Size = new System.Drawing.Size(67, 17);
|
||||
this.chkTopSide.TabIndex = 20;
|
||||
this.chkTopSide.Text = "Top side";
|
||||
this.toolTip1.SetToolTip(this.chkTopSide, "Height changes will be made on Top/Bottom side");
|
||||
this.chkTopSide.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(877, 566);
|
||||
this.Controls.Add(this.button2);
|
||||
this.ClientSize = new System.Drawing.Size(784, 561);
|
||||
this.Controls.Add(this.chkTopSide);
|
||||
this.Controls.Add(this.chkLeftSide);
|
||||
this.Controls.Add(this.btnBaseline);
|
||||
this.Controls.Add(this.btnApply);
|
||||
this.Controls.Add(this.btnExport);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.vScroll);
|
||||
this.Controls.Add(this.hScroll);
|
||||
this.Controls.Add(this.miniList);
|
||||
this.Controls.Add(this.outBox);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.pbZoom);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.cbZoom);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.lblType);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.nudY);
|
||||
this.Controls.Add(this.nudX);
|
||||
this.Controls.Add(this.dotPanel);
|
||||
this.Name = "Form1";
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.MinimumSize = new System.Drawing.Size(800, 600);
|
||||
this.Name = "MainForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "McBitFont";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
||||
this.Load += new System.EventHandler(this.Form1_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudX)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudY)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -385,10 +795,9 @@
|
||||
private System.Windows.Forms.NumericUpDown nudY;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label lblType;
|
||||
private System.Windows.Forms.ComboBox cbZoom;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.ProgressBar pbZoom;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Button btnShiftLeft;
|
||||
private System.Windows.Forms.Button btnShiftRight;
|
||||
@@ -397,11 +806,47 @@
|
||||
private System.Windows.Forms.Button btnInvert;
|
||||
private System.Windows.Forms.Button btnMirrorX;
|
||||
private System.Windows.Forms.Button btnMirrorY;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.TextBox outBox;
|
||||
private System.Windows.Forms.Button btnExport;
|
||||
private System.Windows.Forms.ListView miniList;
|
||||
private System.Windows.Forms.ImageList imageList1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.ImageList ilMiniatures;
|
||||
private System.Windows.Forms.Button btnApply;
|
||||
private System.Windows.Forms.HScrollBar hScroll;
|
||||
private System.Windows.Forms.VScrollBar vScroll;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem removeSymbolToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem shiftUpToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem shiftDownToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem shiftLeftToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem shiftRightToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem invertToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem mirrorXToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem mirrorYToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
||||
private System.Windows.Forms.SaveFileDialog dlgSave;
|
||||
private System.Windows.Forms.OpenFileDialog dlgOpen;
|
||||
private System.Windows.Forms.ToolStripMenuItem applyToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem exportToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem prependSymbolToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem appendSymbolToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
|
||||
private System.Windows.Forms.Button btnBaseline;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.Button btnClear;
|
||||
private System.Windows.Forms.ToolStripMenuItem ClearToolStripMenuItem;
|
||||
private System.Windows.Forms.CheckBox chkLeftSide;
|
||||
private System.Windows.Forms.CheckBox chkTopSide;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveDEVToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem openDEVToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -117,45 +117,39 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>436, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ilMiniatures.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>127, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dlgSave.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>242, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dlgOpen.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>336, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAA8
|
||||
BwAAAk1TRnQBSQFMAwEBAAEIAQABCAEAATIBAAEyAQAE/wEFAQAI/wFCAU0BdgcAAXYDAAEoAwAByAMA
|
||||
ATIDAAEBAQABBAUAAYgBExgAAYACAAGAAwACgAEAAYADAAGAAQABgAEAAoACAAPAAQADgAMAAf8CAAH/
|
||||
AwAC/wEAAf8DAAH/AQAB/wEAAv8CAAP//wA1AAEPAYgB8AEAAQ8BiAHwAQABDwGIAfBZAAEHAQABgAEA
|
||||
AQcBAAFwAQABCAEAAXBZAAEHAQABgAEAAQcBAAFwAQABCAEAAXBZAAEHAQABgAEAAQcBAAFwAQABCAEA
|
||||
AXBZAAEHAQABgAEAAQcBAAFwAQABCAEAAXBZAAEHAQABgAEAAQcBAAFwAQABCAEAAXBZAAEPAXcB8AEA
|
||||
AQ8BdwHwAQABDwF3AfBZAAv/WAAB9wsAAX9WAAEPAYALAAEIAfBVAAEHDQABcFUAAfANAAEPUQABDwJ3
|
||||
AX8B8A0AAQ8B9wJ3AfBNAAEIAgABBwHwDQABDwFwAgABgE0AAQgCAAEHAfADAAEHAfgDAAGPAXADAAEP
|
||||
AXACAAGATQABDwKIAY8B8AMAAXABDwMAAfABBwMAAQ8B+AKIAfBRAAHwAgABBwEAAQcDAAFwAQABcAIA
|
||||
AQ9VAAHwAgABcAEAAfABAAF3AQABDwEAAQcCAAEPVQAB8AEAAQcBAAEPAQABBwEAAXABAAHwAQABcAEA
|
||||
AQ9VAAHwAQABcAEAAfABjwH/AQAB/wH4AQ8BAAEHAQABD1EAAQ8CdwF/AfABBwEAAQ8BAAFwAwABBwEA
|
||||
AfABAAFwAQ8B9wJ3AfBNAAEIAgABBwHwAYABAAHwAQABjwMAAfgBAAEPAQABCAEPAXACAAGATQABCAIA
|
||||
AQcB8AGAAQAB8AEAAY8DAAH4AQABDwEAAQgBDwFwAgABgE0AAQ8CdwF/AfABBwEAAQ8BAAFwAwABBwEA
|
||||
AfABAAFwAQ8B9wJ3AfBRAAHwAQABcAEAAfABjwH/AQAB/wH4AQ8BAAEHAQABD1UAAfABAAEHAQABDwEA
|
||||
AQcBAAFwAQAB8AEAAXABAAEPVQAB8AIAAXABAAHwAQABdwEAAQ8BAAEHAgABD1UAAfACAAEHAQABBwMA
|
||||
AXABAAFwAgABD1EAAQ8CiAGPAfADAAFwAQ8DAAHwAQcDAAEPAfgCiAHwTQABCAIAAQcB8AMAAQcB+AMA
|
||||
AY8BcAMAAQ8BcAIAAYBNAAEIAgABBwHwDQABDwFwAgABgE0AAQ8CdwF/AfANAAEPAfcCdwHwUQAB8A0A
|
||||
AQ9VAAEHDQABcFUAAQ8BgAsAAQgB8FYAAfcLAAF/WAAL/1kAAQ8BdwHwAQABDwF3AfABAAEPAXcB8FkA
|
||||
AQcBAAGAAQABBwEAAXABAAEIAQABcFkAAQcBAAGAAQABBwEAAXABAAEIAQABcFkAAQcBAAGAAQABBwEA
|
||||
AXABAAEIAQABcFkAAQcBAAGAAQABBwEAAXABAAEIAQABcFkAAQcBAAGAAQABBwEAAXABAAEIAQABcFkA
|
||||
AQ8BiAHwAQABDwGIAfABAAEPAYgB8P8AfwABQgFNAT4HAAE+AwABKAMAAcgDAAEyAwABAQEAAQEFAAF4
|
||||
AQUWAAP/AQAG/wHAFQAG/wHAFQAG/wHAFQAB/wH+Ah4BHwH/AcAVAAH/Af4CHgEfAf8BwBUAAf8B/gIe
|
||||
AR8B/wHAFQAB/wH+Ah4BHwH/AcAVAAH/Af4CHgEfAf8BwBUAAf8B/gIeAR8B/wHAFQAB/wH+Ah4BHwH/
|
||||
AcAVAAH/AfwCAAEPAf8BwBUAAf8B8AIAAQMB/wHAFQAB/wHgAgABAQH/AcAVAAH/AeACAAEBAf8BwBUA
|
||||
Af8BwAMAAf8BwBUAAeAEAAEBAcAVAAHgBAABAQHAFQAB4AQAAQEBwBUAAeABAAEYAQYBAAEBAcAVAAH/
|
||||
AcABOAEHAQAB/wHAFQAB/wHAAXABAwGAAf8BwBUAAf8BwAHgAcEBwAH/AcAVAAH/AcECwAHgAf8BwBUA
|
||||
AeABAwGHAfgBcAEBAcAVAAHgAQcBAwHwATgBAQHAFQAB4AEHAQMB8AE4AQEBwBUAAeABAwGHAfgBcAEB
|
||||
AcAVAAH/AcECwAHgAf8BwBUAAf8BwAHgAcEBwAH/AcAVAAH/AcABcAEDAYAB/wHAFQAB/wHAATgBBwEA
|
||||
Af8BwBUAAeABAAEYAQYBAAEBAcAVAAHgBAABAQHAFQAB4AQAAQEBwBUAAeAEAAEBAcAVAAH/AcADAAH/
|
||||
AcAVAAH/AeACAAEBAf8BwBUAAf8B4AIAAQEB/wHAFQAB/wHwAgABAwH/AcAVAAH/AfwCAAEPAf8BwBUA
|
||||
Af8B/gIeAR8B/wHAFQAB/wH+Ah4BHwH/AcAVAAH/Af4CHgEfAf8BwBUAAf8B/gIeAR8B/wHAFQAB/wH+
|
||||
Ah4BHwH/AcAVAAH/Af4CHgEfAf8BwBUAAf8B/gIeAR8B/wHAFQAG/wHAFQAG/wHAFQAG/wHAFQAL
|
||||
AAABAAEAEBAAAAEAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAQAMAAAAAAAAAAAAAAAAAAAAA
|
||||
AAA1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTXW1tbW1tbW
|
||||
1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW
|
||||
1tbW1tbW1tbW1tYAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW1tbW1tbW1tbW1tYA
|
||||
AAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW1tbW1tbW1tbW1tYAAAAAAADW1tbW1tY1
|
||||
NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW1tbW1tbW1tbW1tYAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYA
|
||||
AAAAAADW1tbW1tbW1tbW1tbW1tbW1tYAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tYA
|
||||
AAAAAADW1tbW1tYAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tYAAAAAAADW1tbW1tYA
|
||||
AAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tYAAAAAAAAAAAAAAADW1tYAAAAAAADW1tbW1tY1
|
||||
NTU1NTXW1tbW1tYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYA
|
||||
AAAAAAAAAAAAAADW1tbW1tYAAAAAAAAAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAAAAAADW1tbW
|
||||
1tbW1tbW1tYAAAAAAAAAAADW1tbW1tY1NTU1NTXW1tbW1tYAAAAAAADW1tbW1tbW1tbW1tbW1tbW1tYA
|
||||
AAAAAADW1tbW1tY1NTU1NTXW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tY1
|
||||
NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTUAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Costura.Fody.6.0.0\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.6.0.0\build\Costura.Fody.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
@@ -12,6 +13,24 @@
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.7.0.0</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
@@ -25,16 +44,67 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DebugType>embedded</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>icon_64.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestCertificateThumbprint>0A7368787FA9EE4B7327F4CB5CD09A2A4CBF3168</ManifestCertificateThumbprint>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestKeyFile>McBitFont_TemporaryKey.pfx</ManifestKeyFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<GenerateManifests>true</GenerateManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignManifests>true</SignManifests>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Costura, Version=6.0.0.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Costura.Fody.6.0.0\lib\netstandard2.0\Costura.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MessagePack, Version=3.1.3.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MessagePack.3.1.3\lib\net472\MessagePack.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MessagePack.Annotations, Version=3.1.3.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MessagePack.Annotations.3.1.3\lib\netstandard2.0\MessagePack.Annotations.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.NET.StringTools, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.NET.StringTools.17.11.4\lib\net472\Microsoft.NET.StringTools.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Collections.Immutable.8.0.0\lib\net462\System.Collections.Immutable.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
@@ -46,17 +116,44 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="About.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="About.Designer.cs">
|
||||
<DependentUpon>About.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Export.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Export.Designer.cs">
|
||||
<DependentUpon>Export.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="New.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="New.Designer.cs">
|
||||
<DependentUpon>New.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="About.resx">
|
||||
<DependentUpon>About.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Export.resx">
|
||||
<DependentUpon>Export.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="New.resx">
|
||||
<DependentUpon>New.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
@@ -65,7 +162,10 @@
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="McBitFont_TemporaryKey.pfx" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
@@ -79,5 +179,96 @@
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\action_add.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\action_remove.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\arrow_back.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\arrow_down.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\arrow_next.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\arrow_top.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\file.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\folder_open.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\save.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\action_check.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Famfamfam-Silk-Shape-flip-vertical.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Famfamfam-Silk-Shape-flip-horizontal.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Famfamfam-Silk-Page-paste.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Famfamfam-Silk-Page-copy.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Famfamfam-Silk-Door-out.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Famfamfam-Silk-Disk.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Famfamfam-Silk-Page-white.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Famfamfam-Silk-Folder-page.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Famfamfam-Silk-Folder.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Ionic-Ionicons-Invert-mode-outline.16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="icon.ico" />
|
||||
<Content Include="icon_64.ico" />
|
||||
<None Include="Resources\icon_64.png" />
|
||||
<None Include="Resources\icon_32.png" />
|
||||
<None Include="Resources\icon.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\MessagePackAnalyzer.3.1.3\build\MessagePackAnalyzer.targets" Condition="Exists('..\packages\MessagePackAnalyzer.3.1.3\build\MessagePackAnalyzer.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\MessagePackAnalyzer.3.1.3\build\MessagePackAnalyzer.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MessagePackAnalyzer.3.1.3\build\MessagePackAnalyzer.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Fody.6.8.2\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.8.2\build\Fody.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Costura.Fody.6.0.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.6.0.0\build\Costura.Fody.props'))" />
|
||||
<Error Condition="!Exists('..\packages\Costura.Fody.6.0.0\build\Costura.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.6.0.0\build\Costura.Fody.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\Fody.6.8.2\build\Fody.targets" Condition="Exists('..\packages\Fody.6.8.2\build\Fody.targets')" />
|
||||
<Import Project="..\packages\Costura.Fody.6.0.0\build\Costura.Fody.targets" Condition="Exists('..\packages\Costura.Fody.6.0.0\build\Costura.Fody.targets')" />
|
||||
</Project>
|
526
McBitFont/New.Designer.cs
generated
Normal file
@@ -0,0 +1,526 @@
|
||||
namespace McBitFont {
|
||||
partial class New {
|
||||
/// <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.components = new System.ComponentModel.Container();
|
||||
this.nudNewX = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudNewY = new System.Windows.Forms.NumericUpDown();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.rbMono = new System.Windows.Forms.RadioButton();
|
||||
this.rbVar = new System.Windows.Forms.RadioButton();
|
||||
this.cbNotPrintable = new System.Windows.Forms.CheckBox();
|
||||
this.cbLatin = new System.Windows.Forms.CheckBox();
|
||||
this.cbExtended = new System.Windows.Forms.CheckBox();
|
||||
this.btnOK = new System.Windows.Forms.Button();
|
||||
this.btnCancel = new System.Windows.Forms.Button();
|
||||
this.cbSingle = new System.Windows.Forms.CheckBox();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.cbEncoding = new System.Windows.Forms.ComboBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.pbChar2 = new System.Windows.Forms.PictureBox();
|
||||
this.pbChar1 = new System.Windows.Forms.PictureBox();
|
||||
this.btnFont = new System.Windows.Forms.Button();
|
||||
this.dlgFont = new System.Windows.Forms.FontDialog();
|
||||
this.cbFontBased = new System.Windows.Forms.CheckBox();
|
||||
this.lblFont = new System.Windows.Forms.Label();
|
||||
this.nudShiftX = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudShiftY = new System.Windows.Forms.NumericUpDown();
|
||||
this.lblShiftX = new System.Windows.Forms.Label();
|
||||
this.lblShiftY = new System.Windows.Forms.Label();
|
||||
this.pnlFont = new System.Windows.Forms.Panel();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.nudChar2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudChar1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.cbDigits = new System.Windows.Forms.CheckBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudNewX)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudNewY)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbChar2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbChar1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudShiftX)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudShiftY)).BeginInit();
|
||||
this.pnlFont.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudChar2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudChar1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// nudNewX
|
||||
//
|
||||
this.nudNewX.Location = new System.Drawing.Point(68, 32);
|
||||
this.nudNewX.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudNewX.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudNewX.Name = "nudNewX";
|
||||
this.nudNewX.Size = new System.Drawing.Size(57, 20);
|
||||
this.nudNewX.TabIndex = 0;
|
||||
this.nudNewX.Value = new decimal(new int[] {
|
||||
32,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudNewX.ValueChanged += new System.EventHandler(this.nudNewX_ValueChanged);
|
||||
this.nudNewX.Enter += new System.EventHandler(this.nudFocus);
|
||||
//
|
||||
// nudNewY
|
||||
//
|
||||
this.nudNewY.Location = new System.Drawing.Point(68, 58);
|
||||
this.nudNewY.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudNewY.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudNewY.Name = "nudNewY";
|
||||
this.nudNewY.Size = new System.Drawing.Size(57, 20);
|
||||
this.nudNewY.TabIndex = 1;
|
||||
this.nudNewY.Value = new decimal(new int[] {
|
||||
32,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudNewY.ValueChanged += new System.EventHandler(this.nudNewX_ValueChanged);
|
||||
this.nudNewY.Enter += new System.EventHandler(this.nudFocus);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(24, 34);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(38, 13);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "Width:";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(21, 60);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(41, 13);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "Height:";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// rbMono
|
||||
//
|
||||
this.rbMono.AutoSize = true;
|
||||
this.rbMono.Checked = true;
|
||||
this.rbMono.Location = new System.Drawing.Point(24, 84);
|
||||
this.rbMono.Name = "rbMono";
|
||||
this.rbMono.Size = new System.Drawing.Size(87, 17);
|
||||
this.rbMono.TabIndex = 4;
|
||||
this.rbMono.TabStop = true;
|
||||
this.rbMono.Text = "Monospaced";
|
||||
this.rbMono.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbVar
|
||||
//
|
||||
this.rbVar.AutoSize = true;
|
||||
this.rbVar.Location = new System.Drawing.Point(24, 107);
|
||||
this.rbVar.Name = "rbVar";
|
||||
this.rbVar.Size = new System.Drawing.Size(91, 17);
|
||||
this.rbVar.TabIndex = 5;
|
||||
this.rbVar.Text = "Variable width";
|
||||
this.rbVar.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cbNotPrintable
|
||||
//
|
||||
this.cbNotPrintable.AutoSize = true;
|
||||
this.cbNotPrintable.Location = new System.Drawing.Point(140, 77);
|
||||
this.cbNotPrintable.Name = "cbNotPrintable";
|
||||
this.cbNotPrintable.Size = new System.Drawing.Size(116, 17);
|
||||
this.cbNotPrintable.TabIndex = 7;
|
||||
this.cbNotPrintable.Text = "0-31 (Not printable)";
|
||||
this.cbNotPrintable.UseVisualStyleBackColor = true;
|
||||
this.cbNotPrintable.CheckedChanged += new System.EventHandler(this.checkboxChanged);
|
||||
//
|
||||
// cbLatin
|
||||
//
|
||||
this.cbLatin.AutoSize = true;
|
||||
this.cbLatin.Checked = true;
|
||||
this.cbLatin.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbLatin.Location = new System.Drawing.Point(140, 100);
|
||||
this.cbLatin.Name = "cbLatin";
|
||||
this.cbLatin.Size = new System.Drawing.Size(91, 17);
|
||||
this.cbLatin.TabIndex = 8;
|
||||
this.cbLatin.Text = "32-127 (Latin)";
|
||||
this.cbLatin.UseVisualStyleBackColor = true;
|
||||
this.cbLatin.CheckedChanged += new System.EventHandler(this.checkboxChanged);
|
||||
//
|
||||
// cbExtended
|
||||
//
|
||||
this.cbExtended.AutoSize = true;
|
||||
this.cbExtended.Location = new System.Drawing.Point(140, 123);
|
||||
this.cbExtended.Name = "cbExtended";
|
||||
this.cbExtended.Size = new System.Drawing.Size(119, 17);
|
||||
this.cbExtended.TabIndex = 9;
|
||||
this.cbExtended.Text = "128-255 (Extended)";
|
||||
this.cbExtended.UseVisualStyleBackColor = true;
|
||||
this.cbExtended.CheckedChanged += new System.EventHandler(this.checkboxChanged);
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnOK.Location = new System.Drawing.Point(47, 178);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOK.TabIndex = 10;
|
||||
this.btnOK.Text = "OK";
|
||||
this.btnOK.UseVisualStyleBackColor = true;
|
||||
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.Location = new System.Drawing.Point(140, 178);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel.TabIndex = 11;
|
||||
this.btnCancel.Text = "Cancel";
|
||||
this.btnCancel.UseVisualStyleBackColor = true;
|
||||
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||
//
|
||||
// cbSingle
|
||||
//
|
||||
this.cbSingle.AutoSize = true;
|
||||
this.cbSingle.Location = new System.Drawing.Point(140, 31);
|
||||
this.cbSingle.Name = "cbSingle";
|
||||
this.cbSingle.Size = new System.Drawing.Size(84, 17);
|
||||
this.cbSingle.TabIndex = 12;
|
||||
this.cbSingle.Text = "Single frame";
|
||||
this.cbSingle.UseVisualStyleBackColor = true;
|
||||
this.cbSingle.CheckedChanged += new System.EventHandler(this.checkboxChanged);
|
||||
//
|
||||
// toolTip1
|
||||
//
|
||||
this.toolTip1.AutoPopDelay = 10000;
|
||||
this.toolTip1.InitialDelay = 500;
|
||||
this.toolTip1.ReshowDelay = 100;
|
||||
this.toolTip1.ToolTipTitle = "Info";
|
||||
//
|
||||
// cbEncoding
|
||||
//
|
||||
this.cbEncoding.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbEncoding.Enabled = false;
|
||||
this.cbEncoding.FormattingEnabled = true;
|
||||
this.cbEncoding.Location = new System.Drawing.Point(140, 146);
|
||||
this.cbEncoding.Name = "cbEncoding";
|
||||
this.cbEncoding.Size = new System.Drawing.Size(121, 21);
|
||||
this.cbEncoding.TabIndex = 13;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.pbChar2);
|
||||
this.panel1.Controls.Add(this.pbChar1);
|
||||
this.panel1.Location = new System.Drawing.Point(6, 24);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(200, 124);
|
||||
this.panel1.TabIndex = 14;
|
||||
//
|
||||
// pbChar2
|
||||
//
|
||||
this.pbChar2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.pbChar2.Location = new System.Drawing.Point(100, 0);
|
||||
this.pbChar2.Name = "pbChar2";
|
||||
this.pbChar2.Size = new System.Drawing.Size(100, 124);
|
||||
this.pbChar2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pbChar2.TabIndex = 1;
|
||||
this.pbChar2.TabStop = false;
|
||||
//
|
||||
// pbChar1
|
||||
//
|
||||
this.pbChar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.pbChar1.Location = new System.Drawing.Point(0, 0);
|
||||
this.pbChar1.Name = "pbChar1";
|
||||
this.pbChar1.Size = new System.Drawing.Size(100, 124);
|
||||
this.pbChar1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pbChar1.TabIndex = 0;
|
||||
this.pbChar1.TabStop = false;
|
||||
//
|
||||
// btnFont
|
||||
//
|
||||
this.btnFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnFont.Location = new System.Drawing.Point(6, 178);
|
||||
this.btnFont.Name = "btnFont";
|
||||
this.btnFont.Size = new System.Drawing.Size(71, 23);
|
||||
this.btnFont.TabIndex = 15;
|
||||
this.btnFont.Text = "Font ...";
|
||||
this.btnFont.UseVisualStyleBackColor = true;
|
||||
this.btnFont.Click += new System.EventHandler(this.btnFont_Click);
|
||||
//
|
||||
// dlgFont
|
||||
//
|
||||
this.dlgFont.Font = new System.Drawing.Font("Courier New", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.dlgFont.ShowEffects = false;
|
||||
//
|
||||
// cbFontBased
|
||||
//
|
||||
this.cbFontBased.AutoSize = true;
|
||||
this.cbFontBased.Location = new System.Drawing.Point(24, 130);
|
||||
this.cbFontBased.Name = "cbFontBased";
|
||||
this.cbFontBased.Size = new System.Drawing.Size(101, 17);
|
||||
this.cbFontBased.TabIndex = 16;
|
||||
this.cbFontBased.Text = "Based on a font";
|
||||
this.cbFontBased.UseVisualStyleBackColor = true;
|
||||
this.cbFontBased.CheckedChanged += new System.EventHandler(this.checkboxChanged);
|
||||
//
|
||||
// lblFont
|
||||
//
|
||||
this.lblFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.lblFont.Location = new System.Drawing.Point(83, 183);
|
||||
this.lblFont.Name = "lblFont";
|
||||
this.lblFont.Size = new System.Drawing.Size(123, 18);
|
||||
this.lblFont.TabIndex = 17;
|
||||
this.lblFont.Text = "font";
|
||||
//
|
||||
// nudShiftX
|
||||
//
|
||||
this.nudShiftX.Location = new System.Drawing.Point(61, 2);
|
||||
this.nudShiftX.Minimum = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
this.nudShiftX.Name = "nudShiftX";
|
||||
this.nudShiftX.Size = new System.Drawing.Size(45, 20);
|
||||
this.nudShiftX.TabIndex = 18;
|
||||
this.nudShiftX.ValueChanged += new System.EventHandler(this.nudNewX_ValueChanged);
|
||||
//
|
||||
// nudShiftY
|
||||
//
|
||||
this.nudShiftY.Location = new System.Drawing.Point(161, 2);
|
||||
this.nudShiftY.Minimum = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
this.nudShiftY.Name = "nudShiftY";
|
||||
this.nudShiftY.Size = new System.Drawing.Size(45, 20);
|
||||
this.nudShiftY.TabIndex = 19;
|
||||
this.nudShiftY.ValueChanged += new System.EventHandler(this.nudNewX_ValueChanged);
|
||||
//
|
||||
// lblShiftX
|
||||
//
|
||||
this.lblShiftX.AutoSize = true;
|
||||
this.lblShiftX.Location = new System.Drawing.Point(14, 4);
|
||||
this.lblShiftX.Name = "lblShiftX";
|
||||
this.lblShiftX.Size = new System.Drawing.Size(41, 13);
|
||||
this.lblShiftX.TabIndex = 20;
|
||||
this.lblShiftX.Text = "Shift X:";
|
||||
this.lblShiftX.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lblShiftY
|
||||
//
|
||||
this.lblShiftY.AutoSize = true;
|
||||
this.lblShiftY.Location = new System.Drawing.Point(114, 4);
|
||||
this.lblShiftY.Name = "lblShiftY";
|
||||
this.lblShiftY.Size = new System.Drawing.Size(41, 13);
|
||||
this.lblShiftY.TabIndex = 21;
|
||||
this.lblShiftY.Text = "Shift Y:";
|
||||
this.lblShiftY.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// pnlFont
|
||||
//
|
||||
this.pnlFont.Controls.Add(this.label4);
|
||||
this.pnlFont.Controls.Add(this.label3);
|
||||
this.pnlFont.Controls.Add(this.nudChar2);
|
||||
this.pnlFont.Controls.Add(this.nudChar1);
|
||||
this.pnlFont.Controls.Add(this.lblShiftX);
|
||||
this.pnlFont.Controls.Add(this.lblShiftY);
|
||||
this.pnlFont.Controls.Add(this.panel1);
|
||||
this.pnlFont.Controls.Add(this.btnFont);
|
||||
this.pnlFont.Controls.Add(this.nudShiftY);
|
||||
this.pnlFont.Controls.Add(this.lblFont);
|
||||
this.pnlFont.Controls.Add(this.nudShiftX);
|
||||
this.pnlFont.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pnlFont.Location = new System.Drawing.Point(270, 0);
|
||||
this.pnlFont.Name = "pnlFont";
|
||||
this.pnlFont.Size = new System.Drawing.Size(214, 211);
|
||||
this.pnlFont.TabIndex = 22;
|
||||
this.pnlFont.Visible = false;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(112, 152);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(45, 13);
|
||||
this.label4.TabIndex = 25;
|
||||
this.label4.Text = "Sample:";
|
||||
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(14, 152);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(45, 13);
|
||||
this.label3.TabIndex = 24;
|
||||
this.label3.Text = "Sample:";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// nudChar2
|
||||
//
|
||||
this.nudChar2.Location = new System.Drawing.Point(161, 149);
|
||||
this.nudChar2.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudChar2.Name = "nudChar2";
|
||||
this.nudChar2.Size = new System.Drawing.Size(45, 20);
|
||||
this.nudChar2.TabIndex = 23;
|
||||
this.nudChar2.Value = new decimal(new int[] {
|
||||
97,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudChar2.ValueChanged += new System.EventHandler(this.nudNewX_ValueChanged);
|
||||
//
|
||||
// nudChar1
|
||||
//
|
||||
this.nudChar1.Location = new System.Drawing.Point(61, 149);
|
||||
this.nudChar1.Maximum = new decimal(new int[] {
|
||||
255,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudChar1.Name = "nudChar1";
|
||||
this.nudChar1.Size = new System.Drawing.Size(45, 20);
|
||||
this.nudChar1.TabIndex = 22;
|
||||
this.nudChar1.Value = new decimal(new int[] {
|
||||
65,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudChar1.ValueChanged += new System.EventHandler(this.nudNewX_ValueChanged);
|
||||
//
|
||||
// cbDigits
|
||||
//
|
||||
this.cbDigits.AutoSize = true;
|
||||
this.cbDigits.Location = new System.Drawing.Point(140, 54);
|
||||
this.cbDigits.Name = "cbDigits";
|
||||
this.cbDigits.Size = new System.Drawing.Size(74, 17);
|
||||
this.cbDigits.TabIndex = 23;
|
||||
this.cbDigits.Text = "Digits only";
|
||||
this.cbDigits.UseVisualStyleBackColor = true;
|
||||
this.cbDigits.CheckedChanged += new System.EventHandler(this.checkboxChanged);
|
||||
//
|
||||
// New
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.ClientSize = new System.Drawing.Size(484, 211);
|
||||
this.Controls.Add(this.cbDigits);
|
||||
this.Controls.Add(this.pnlFont);
|
||||
this.Controls.Add(this.cbFontBased);
|
||||
this.Controls.Add(this.cbEncoding);
|
||||
this.Controls.Add(this.cbSingle);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Controls.Add(this.btnOK);
|
||||
this.Controls.Add(this.cbExtended);
|
||||
this.Controls.Add(this.cbLatin);
|
||||
this.Controls.Add(this.cbNotPrintable);
|
||||
this.Controls.Add(this.rbVar);
|
||||
this.Controls.Add(this.rbMono);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.nudNewY);
|
||||
this.Controls.Add(this.nudNewX);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(300, 220);
|
||||
this.Name = "New";
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "New";
|
||||
this.Load += new System.EventHandler(this.New_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudNewX)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudNewY)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbChar2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbChar1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudShiftX)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudShiftY)).EndInit();
|
||||
this.pnlFont.ResumeLayout(false);
|
||||
this.pnlFont.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudChar2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudChar1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public System.Windows.Forms.NumericUpDown nudNewX;
|
||||
public System.Windows.Forms.NumericUpDown nudNewY;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
public System.Windows.Forms.RadioButton rbMono;
|
||||
public System.Windows.Forms.RadioButton rbVar;
|
||||
public System.Windows.Forms.CheckBox cbNotPrintable;
|
||||
public System.Windows.Forms.CheckBox cbLatin;
|
||||
public System.Windows.Forms.CheckBox cbExtended;
|
||||
private System.Windows.Forms.Button btnOK;
|
||||
private System.Windows.Forms.Button btnCancel;
|
||||
public System.Windows.Forms.CheckBox cbSingle;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
public System.Windows.Forms.ComboBox cbEncoding;
|
||||
public System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.PictureBox pbChar2;
|
||||
private System.Windows.Forms.PictureBox pbChar1;
|
||||
private System.Windows.Forms.Button btnFont;
|
||||
public System.Windows.Forms.FontDialog dlgFont;
|
||||
public System.Windows.Forms.CheckBox cbFontBased;
|
||||
private System.Windows.Forms.Label lblFont;
|
||||
public System.Windows.Forms.NumericUpDown nudShiftX;
|
||||
public System.Windows.Forms.NumericUpDown nudShiftY;
|
||||
private System.Windows.Forms.Label lblShiftX;
|
||||
private System.Windows.Forms.Label lblShiftY;
|
||||
private System.Windows.Forms.Panel pnlFont;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label3;
|
||||
public System.Windows.Forms.NumericUpDown nudChar2;
|
||||
public System.Windows.Forms.NumericUpDown nudChar1;
|
||||
public System.Windows.Forms.CheckBox cbDigits;
|
||||
}
|
||||
}
|
182
McBitFont/New.cs
Normal file
@@ -0,0 +1,182 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
namespace McBitFont {
|
||||
public partial class New : Form {
|
||||
|
||||
public class EncodingItem {
|
||||
public string Text { get; set; }
|
||||
public int Code { get; set; }
|
||||
|
||||
public EncodingItem(int code, string text) {
|
||||
Code = code;
|
||||
Text = text;
|
||||
}
|
||||
|
||||
public override string ToString() {
|
||||
return Text;
|
||||
}
|
||||
}
|
||||
|
||||
private MainForm mainForm;
|
||||
|
||||
|
||||
public New(MainForm form) {
|
||||
InitializeComponent();
|
||||
mainForm = form;
|
||||
this.Width = 300; this.Height = 250;
|
||||
}
|
||||
|
||||
private void New_Load(object sender, EventArgs e) {
|
||||
toolTip1.SetToolTip(nudNewX, "Frame Width;\nCharacter width;\nDefault character width for Variable width fonts");
|
||||
toolTip1.SetToolTip(nudNewY, "Frame Height;\nCharacter height");
|
||||
toolTip1.SetToolTip(rbMono, "Monospaced font");
|
||||
toolTip1.SetToolTip(rbVar, "Variable width font");
|
||||
toolTip1.SetToolTip(cbSingle, "Create one single frame");
|
||||
toolTip1.SetToolTip(cbDigits, "Only digits characters with codes 48 - 57");
|
||||
toolTip1.SetToolTip(cbNotPrintable, "Add not printable characters with codes 0 - 31");
|
||||
toolTip1.SetToolTip(cbLatin, "Add Latin characters with codes 32 - 127");
|
||||
toolTip1.SetToolTip(cbExtended, "Add Extended characters with codes 128 - 255");
|
||||
|
||||
cbEncoding.Items.Clear();
|
||||
cbEncoding.Items.Add(new EncodingItem(1250, "Central European"));
|
||||
cbEncoding.Items.Add(new EncodingItem(1251, "Cyrillic"));
|
||||
cbEncoding.Items.Add(new EncodingItem(1252, "Western European"));
|
||||
cbEncoding.Items.Add(new EncodingItem(1253, "Greek"));
|
||||
cbEncoding.Items.Add(new EncodingItem(1254, "Turkish"));
|
||||
cbEncoding.Items.Add(new EncodingItem(1255, "Hebrew"));
|
||||
cbEncoding.Items.Add(new EncodingItem(1256, "Arabic"));
|
||||
cbEncoding.Items.Add(new EncodingItem(1257, "Baltic"));
|
||||
cbEncoding.SelectedIndex = 1;
|
||||
|
||||
lblFont.Text = dlgFont.Font.Name + " " + dlgFont.Font.Size.ToString();
|
||||
updateChars();
|
||||
}
|
||||
|
||||
private void updateChars() {
|
||||
int neww, newh;
|
||||
const int pbw = 100;
|
||||
const int pbh = 124;
|
||||
int w = (int)nudNewX.Value;
|
||||
int h = (int)nudNewY.Value;
|
||||
int difw = pbw - w;
|
||||
int difh = pbh - h;
|
||||
string[] chars = { "A", "a" };
|
||||
PictureBox[] pbs = { pbChar1, pbChar2 };
|
||||
|
||||
if (difw > 0) {
|
||||
if (difh > 0) {
|
||||
//not wider, not taller
|
||||
if (difw < difh) {
|
||||
neww = pbw;
|
||||
newh = h * pbw / w;
|
||||
} else {
|
||||
newh = pbh;
|
||||
neww = w * pbh / h;
|
||||
}
|
||||
} else {
|
||||
// not wider, taller
|
||||
newh = pbh;
|
||||
neww = w * pbh / h;
|
||||
}
|
||||
} else {
|
||||
if (difh > 0) {
|
||||
//wider, not taller
|
||||
neww = pbw;
|
||||
newh = h * pbw / w;
|
||||
} else {
|
||||
// wider, taller
|
||||
if (difw > difh) {
|
||||
neww = pbw;
|
||||
newh = h * pbw / w;
|
||||
} else {
|
||||
newh = pbh;
|
||||
neww = w * pbh / h;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Bitmap bmp, result;
|
||||
Graphics g;
|
||||
chars[0] = mainForm.decodeSymbol((int)nudChar1.Value);
|
||||
chars[1] = mainForm.decodeSymbol((int)nudChar2.Value);
|
||||
for (int i = 0; i < 2; i++) {
|
||||
bmp = new Bitmap((int)nudNewX.Value, (int)nudNewY.Value);
|
||||
g = Graphics.FromImage(bmp);
|
||||
g.Clear(Color.White);
|
||||
g.SmoothingMode = SmoothingMode.None;
|
||||
g.InterpolationMode = InterpolationMode.NearestNeighbor;
|
||||
g.PixelOffsetMode = PixelOffsetMode.Half;
|
||||
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit;
|
||||
g.DrawString(chars[i], dlgFont.Font, Brushes.Black, (int)nudShiftX.Value, (int)nudShiftY.Value);
|
||||
g.Flush();
|
||||
|
||||
result = new Bitmap(neww, newh);
|
||||
using (Graphics gr = Graphics.FromImage(result)) {
|
||||
gr.InterpolationMode = InterpolationMode.NearestNeighbor;
|
||||
gr.PixelOffsetMode = PixelOffsetMode.Half;
|
||||
gr.DrawImage(bmp, 0, 0, neww, newh);
|
||||
}
|
||||
pbs[i].Image = result;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnCancel_Click(object sender, EventArgs e) {
|
||||
DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
private void btnOK_Click(object sender, EventArgs e) {
|
||||
DialogResult= DialogResult.OK;
|
||||
}
|
||||
|
||||
private void nudFocus(object sender, EventArgs e) {
|
||||
NumericUpDown nud = (NumericUpDown)sender;
|
||||
|
||||
nud.Select(0, nud.Text.Length);
|
||||
}
|
||||
|
||||
private void btnFont_Click(object sender, EventArgs e) {
|
||||
if (dlgFont.ShowDialog() == DialogResult.OK) {
|
||||
lblFont.Text = dlgFont.Font.Name + " " + dlgFont.Font.Size.ToString();
|
||||
updateChars();
|
||||
}
|
||||
}
|
||||
|
||||
private void nudNewX_ValueChanged(object sender, EventArgs e) {
|
||||
updateChars();
|
||||
}
|
||||
|
||||
private void checkboxChanged(object sender, EventArgs e) {
|
||||
if (!(sender as CheckBox).Focused) return;
|
||||
|
||||
bool c = !cbSingle.Checked;
|
||||
bool d = !cbDigits.Checked;
|
||||
bool p = cbNotPrintable.Checked;
|
||||
bool x = cbExtended.Checked;
|
||||
bool f = cbFontBased.Checked;
|
||||
|
||||
cbDigits.Enabled = c;
|
||||
cbNotPrintable.Enabled = c && d;
|
||||
cbLatin.Enabled = c && d;
|
||||
cbExtended.Enabled = c && d;
|
||||
cbFontBased.Enabled = c;
|
||||
cbEncoding.Enabled = c && d && x;
|
||||
rbMono.Enabled = c;
|
||||
rbVar.Enabled = c;
|
||||
pnlFont.Visible = c && f;
|
||||
if (p && x) cbLatin.Checked = true;
|
||||
this.Width = c && f ? 500 : 300;
|
||||
btnOK.Enabled = !c || !d || x || p || cbLatin.Checked;
|
||||
}
|
||||
}
|
||||
}
|
126
McBitFont/New.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dlgFont.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>114, 17</value>
|
||||
</metadata>
|
||||
</root>
|
@@ -13,7 +13,7 @@ namespace McBitFont {
|
||||
static void Main() {
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Form1());
|
||||
Application.Run(new MainForm());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -6,11 +6,11 @@ using System.Runtime.InteropServices;
|
||||
// набора атрибутов. Измените значения этих атрибутов для изменения сведений,
|
||||
// связанных со сборкой.
|
||||
[assembly: AssemblyTitle("McBitFont")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyDescription("McFLY's Bit Font and Image Editor")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("McBitFont")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyCopyright("© Anton Mukhin, 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// Можно задать все значения или принять номера сборки и редакции по умолчанию
|
||||
// используя "*", как показано ниже:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: AssemblyVersion("1.7.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.0.0")]
|
||||
|
273
McBitFont/Properties/Resources.Designer.cs
generated
@@ -1,53 +1,54 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Этот код создан программным средством.
|
||||
// Версия среды выполнения: 4.0.30319.42000
|
||||
// Этот код создан программой.
|
||||
// Исполняемая версия:4.0.30319.42000
|
||||
//
|
||||
// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
|
||||
// код создан повторно.
|
||||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||
// повторной генерации кода.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace McBitFont.Properties {
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Класс ресурсов со строгим типом для поиска локализованных строк и пр.
|
||||
/// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
|
||||
/// </summary>
|
||||
// Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder
|
||||
// класс с помощью таких средств, как ResGen или Visual Studio.
|
||||
// Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen
|
||||
// с параметром /str или заново постройте свой VS-проект.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
// Этот класс создан автоматически классом StronglyTypedResourceBuilder
|
||||
// с помощью такого средства, как ResGen или Visual Studio.
|
||||
// Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
|
||||
// с параметром /str или перестройте свой проект VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
|
||||
/// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if ((resourceMan == null)) {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("McBitFont.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Переопределяет свойство CurrentUICulture текущего потока для всех
|
||||
/// подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
|
||||
/// Перезаписывает свойство CurrentUICulture текущего потока для всех
|
||||
/// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
@@ -58,5 +59,235 @@ namespace McBitFont.Properties {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap action_add {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("action_add", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap action_check {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("action_check", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap action_remove {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("action_remove", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap arrow_back {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("arrow_back", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap arrow_down {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("arrow_down", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap arrow_next {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("arrow_next", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap arrow_top {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("arrow_top", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Disk_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Famfamfam-Silk-Disk.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Door_out_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Famfamfam-Silk-Door-out.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Folder_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Famfamfam-Silk-Folder.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Folder_page_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Famfamfam-Silk-Folder-page.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Page_copy_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Famfamfam-Silk-Page-copy.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Page_paste_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Famfamfam-Silk-Page-paste.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Page_white_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Famfamfam-Silk-Page-white.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Shape_flip_horizontal_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Famfamfam-Silk-Shape-flip-horizontal.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Shape_flip_vertical_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Famfamfam-Silk-Shape-flip-vertical.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap file {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("file", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap folder_open {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("folder_open", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap icon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("icon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap icon_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("icon_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap icon_64 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("icon_64", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Ionic_Ionicons_Invert_mode_outline_16 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Ionic-Ionicons-Invert-mode-outline.16", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap save {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("save", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -46,7 +46,7 @@
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
@@ -60,6 +60,7 @@
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
@@ -68,9 +69,10 @@
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
@@ -85,9 +87,10 @@
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
@@ -109,9 +112,79 @@
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="Ionic-Ionicons-Invert-mode-outline.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Ionic-Ionicons-Invert-mode-outline.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="arrow_next" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\arrow_next.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Famfamfam-Silk-Page-copy.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Famfamfam-Silk-Page-copy.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Famfamfam-Silk-Disk.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Famfamfam-Silk-Disk.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="arrow_back" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\arrow_back.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="action_check" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\action_check.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Famfamfam-Silk-Page-white.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Famfamfam-Silk-Page-white.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="save" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Famfamfam-Silk-Door-out.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Famfamfam-Silk-Door-out.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Famfamfam-Silk-Folder-page.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Famfamfam-Silk-Folder-page.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Famfamfam-Silk-Folder.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Famfamfam-Silk-Folder.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="action_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\action_add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="folder_open" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\folder_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Famfamfam-Silk-Page-paste.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Famfamfam-Silk-Page-paste.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="action_remove" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\action_remove.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="file" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\file.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Famfamfam-Silk-Shape-flip-vertical.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Famfamfam-Silk-Shape-flip-vertical.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Famfamfam-Silk-Shape-flip-horizontal.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Famfamfam-Silk-Shape-flip-horizontal.16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="arrow_top" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\arrow_top.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="arrow_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\arrow_down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="icon_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icon_32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="icon_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icon_64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
McBitFont/Resources/Famfamfam-Silk-Disk.16.png
Normal file
After Width: | Height: | Size: 899 B |
BIN
McBitFont/Resources/Famfamfam-Silk-Door-out.16.png
Normal file
After Width: | Height: | Size: 932 B |
BIN
McBitFont/Resources/Famfamfam-Silk-Folder-page.16.png
Normal file
After Width: | Height: | Size: 931 B |
BIN
McBitFont/Resources/Famfamfam-Silk-Folder.16.png
Normal file
After Width: | Height: | Size: 732 B |
BIN
McBitFont/Resources/Famfamfam-Silk-Page-copy.16.png
Normal file
After Width: | Height: | Size: 966 B |
BIN
McBitFont/Resources/Famfamfam-Silk-Page-paste.16.png
Normal file
After Width: | Height: | Size: 914 B |
BIN
McBitFont/Resources/Famfamfam-Silk-Page-white.16.png
Normal file
After Width: | Height: | Size: 388 B |
BIN
McBitFont/Resources/Famfamfam-Silk-Shape-flip-horizontal.16.png
Normal file
After Width: | Height: | Size: 465 B |
BIN
McBitFont/Resources/Famfamfam-Silk-Shape-flip-vertical.16.png
Normal file
After Width: | Height: | Size: 465 B |
BIN
McBitFont/Resources/Ionic-Ionicons-Invert-mode-outline.16.png
Normal file
After Width: | Height: | Size: 239 B |
BIN
McBitFont/Resources/action_add.png
Normal file
After Width: | Height: | Size: 318 B |
BIN
McBitFont/Resources/action_check.png
Normal file
After Width: | Height: | Size: 371 B |
BIN
McBitFont/Resources/action_remove.png
Normal file
After Width: | Height: | Size: 201 B |
BIN
McBitFont/Resources/arrow_back.png
Normal file
After Width: | Height: | Size: 422 B |
BIN
McBitFont/Resources/arrow_down.png
Normal file
After Width: | Height: | Size: 412 B |
BIN
McBitFont/Resources/arrow_next.png
Normal file
After Width: | Height: | Size: 420 B |
BIN
McBitFont/Resources/arrow_top.png
Normal file
After Width: | Height: | Size: 386 B |
BIN
McBitFont/Resources/file.png
Normal file
After Width: | Height: | Size: 263 B |
BIN
McBitFont/Resources/folder_open.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
McBitFont/Resources/icon.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
McBitFont/Resources/icon_32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
McBitFont/Resources/icon_64.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
McBitFont/Resources/save.png
Normal file
After Width: | Height: | Size: 353 B |
BIN
McBitFont/icon.ico
Normal file
After Width: | Height: | Size: 894 B |
BIN
McBitFont/icon_64.ico
Normal file
After Width: | Height: | Size: 13 KiB |
16
McBitFont/packages.config
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Costura.Fody" version="6.0.0" targetFramework="net472" developmentDependency="true" />
|
||||
<package id="Fody" version="6.8.2" targetFramework="net472" developmentDependency="true" />
|
||||
<package id="MessagePack" version="3.1.3" targetFramework="net472" />
|
||||
<package id="MessagePack.Annotations" version="3.1.3" targetFramework="net472" />
|
||||
<package id="MessagePackAnalyzer" version="3.1.3" targetFramework="net472" developmentDependency="true" />
|
||||
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net472" />
|
||||
<package id="Microsoft.NET.StringTools" version="17.11.4" targetFramework="net472" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
||||
<package id="System.Collections.Immutable" version="8.0.0" targetFramework="net472" />
|
||||
<package id="System.Memory" version="4.5.5" targetFramework="net472" />
|
||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net472" />
|
||||
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net472" />
|
||||
</packages>
|
35
README.md
@@ -1,3 +1,36 @@
|
||||
# McBitFont
|
||||
|
||||
pixel based Font to C arrays converter
|
||||
McFLY's Bit Font and Image Editor
|
||||
|
||||
Features:
|
||||
- Generate a project based on a font installed in the system
|
||||
- Basic pixel manipulations: shift, flip, invert, etc...
|
||||
- Save / Load your project for later edits
|
||||
- Export as a C array in different formats
|
||||
|
||||
Requires .Net Framework 4.7+
|
||||
|
||||
Some basic hints on the interface:
|
||||
- Mouse 1 to mark a puxel black
|
||||
- Mouse 2 to mark a puxel white
|
||||
- Drag the mouse holding a button to draw pixels
|
||||
- Mouse Scroll to scroll up and down
|
||||
- Crtl + scroll to zoom
|
||||
- Shift + scroll to scroll left and right
|
||||
|
||||
Download in the Releases section!
|
||||
|
||||
|
||||
### Screenshots:
|
||||
|
||||
Main window
|
||||
|
||||

|
||||
|
||||
New project dialog
|
||||
|
||||

|
||||
|
||||
Export dialog
|
||||
|
||||

|
||||
|
15
TODO.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Application:
|
||||
|
||||
Functionality:
|
||||
- Context menu in symbol navigator
|
||||
- Delete symbols before/after selected
|
||||
- Shift all symbols on code line (change symbol codes)
|
||||
- Specify starting code (extends the shift)
|
||||
- Ability to make monospaced font a variable width one
|
||||
- Undo/Redo
|
||||
- Image import from a file
|
||||
- Import from a text array
|
||||
- Rectangle selection to mass-paint, shift and mirror pixels
|
||||
- "Packed" fonts export
|
||||
|
||||
Bugs:
|
BIN
examples/CP437_Cyr_8x16.mbf
Normal file
BIN
examples/Font_5x7.mbf
Normal file
BIN
examples/Numbers_11x16.mbf
Normal file
BIN
examples/Numbers_13x20.mbf
Normal file
BIN
examples/gyver_icons_7x7.mbf
Normal file
BIN
examples/gyver_icons_8x8.mbf
Normal file
BIN
examples/haxrcorp_4089_cyrillic_altgr.mbf
Normal file
BIN
examples/helvB08_PREFAB.mbf
Normal file
BIN
examples/helvB08_t_cyrillic.mbf
Normal file
BIN
examples/icons_9x9.mbf
Normal file
BIN
icons/Avosoft-Warm-Toolbar-Paste.16.png
Normal file
After Width: | Height: | Size: 661 B |
BIN
icons/Custom-Icon-Design-Flatastic-1-Copy.16.png
Normal file
After Width: | Height: | Size: 585 B |
BIN
icons/Custom-Icon-Design-Flatastic-8-Paste.16.png
Normal file
After Width: | Height: | Size: 584 B |
BIN
icons/Everaldo-Crystal-Clear-Mimetype-kmultiple-copy.16.png
Normal file
After Width: | Height: | Size: 632 B |
BIN
icons/Famfamfam-Silk-Disk.16.png
Normal file
After Width: | Height: | Size: 899 B |
BIN
icons/Famfamfam-Silk-Door-out.16.png
Normal file
After Width: | Height: | Size: 932 B |
BIN
icons/Famfamfam-Silk-Folder-page.16.png
Normal file
After Width: | Height: | Size: 931 B |
BIN
icons/Famfamfam-Silk-Folder.16.png
Normal file
After Width: | Height: | Size: 732 B |
BIN
icons/Famfamfam-Silk-Page-copy.16.png
Normal file
After Width: | Height: | Size: 966 B |
BIN
icons/Famfamfam-Silk-Page-paste.16.png
Normal file
After Width: | Height: | Size: 914 B |
BIN
icons/Famfamfam-Silk-Page-white-copy.16.png
Normal file
After Width: | Height: | Size: 387 B |
BIN
icons/Famfamfam-Silk-Page-white.16.png
Normal file
After Width: | Height: | Size: 388 B |
BIN
icons/Famfamfam-Silk-Shape-flip-horizontal.16.png
Normal file
After Width: | Height: | Size: 465 B |
BIN
icons/Famfamfam-Silk-Shape-flip-vertical.16.png
Normal file
After Width: | Height: | Size: 465 B |
BIN
icons/Iconleak-Stainless-Copy.16.png
Normal file
After Width: | Height: | Size: 646 B |
BIN
icons/action_add.png
Normal file
After Width: | Height: | Size: 318 B |
BIN
icons/action_check.png
Normal file
After Width: | Height: | Size: 371 B |
BIN
icons/action_delete.png
Normal file
After Width: | Height: | Size: 388 B |
BIN
icons/action_remove.png
Normal file
After Width: | Height: | Size: 201 B |
BIN
icons/app/icon.ico
Normal file
After Width: | Height: | Size: 894 B |
BIN
icons/app/icon.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
icons/app/icon_32.ico
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
icons/app/icon_32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
icons/app/icon_64.ico
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
icons/app/icon_64.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
icons/application.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
icons/arrow_back.png
Normal file
After Width: | Height: | Size: 422 B |
BIN
icons/arrow_down.png
Normal file
After Width: | Height: | Size: 412 B |
BIN
icons/arrow_next.png
Normal file
After Width: | Height: | Size: 420 B |
BIN
icons/arrow_top.png
Normal file
After Width: | Height: | Size: 386 B |
BIN
icons/comments.png
Normal file
After Width: | Height: | Size: 279 B |
BIN
icons/download.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
icons/file.png
Normal file
After Width: | Height: | Size: 263 B |
BIN
icons/folder.png
Normal file
After Width: | Height: | Size: 360 B |
BIN
icons/folder_files.png
Normal file
After Width: | Height: | Size: 407 B |
BIN
icons/folder_open.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
icons/letter.png
Normal file
After Width: | Height: | Size: 330 B |
BIN
icons/letter_open.png
Normal file
After Width: | Height: | Size: 405 B |
BIN
icons/login.png
Normal file
After Width: | Height: | Size: 379 B |
BIN
icons/maximize.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
icons/minimize.png
Normal file
After Width: | Height: | Size: 381 B |
BIN
icons/reply.png
Normal file
After Width: | Height: | Size: 382 B |