Compare commits
31 Commits
ca42d3819f
...
v2.1
Author | SHA1 | Date | |
---|---|---|---|
|
c10a8e49ff | ||
|
5d17ba5538 | ||
4f80a5df1b | |||
37f2bb5eac | |||
57d4ecfd54 | |||
912b15ff3f | |||
c892e3076d | |||
295b079dab | |||
d508f0ab35 | |||
68c2e10ab5 | |||
d7dfcd3931 | |||
b1986c0f28 | |||
1034bd98d6 | |||
|
c1a8d30760 | ||
|
ab77f9de21 | ||
|
a5e3c8812f | ||
|
1bf2de8b43 | ||
|
6e48acc3bf | ||
|
6c97aa32d1 | ||
|
a287ddaee7 | ||
|
0f2da5542c | ||
|
ce21792088 | ||
8c08c9a897 | |||
ca8b53ba74 | |||
038fd42841 | |||
|
ce3b0ddd94 | ||
|
e76778d8fb | ||
|
19c12754ef | ||
|
f33b107fdb | ||
|
4d39b3586e | ||
|
5e55c0a5ea |
2
.gitignore
vendored
@@ -4,6 +4,8 @@
|
|||||||
##
|
##
|
||||||
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
|
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
|
||||||
|
|
||||||
|
examples/tests/32x32/
|
||||||
|
|
||||||
# User-specific files
|
# User-specific files
|
||||||
*.rsuser
|
*.rsuser
|
||||||
*.suo
|
*.suo
|
||||||
|
161
McBitFont/About.Designer.cs
generated
@@ -24,103 +24,112 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent() {
|
private void InitializeComponent() {
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(About));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(About));
|
||||||
this.lblVersion = new System.Windows.Forms.Label();
|
lblVersion = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
label1 = new System.Windows.Forms.Label();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
label2 = new System.Windows.Forms.Label();
|
||||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
button1 = new System.Windows.Forms.Button();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
||||||
this.SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// lblVersion
|
// lblVersion
|
||||||
//
|
//
|
||||||
this.lblVersion.AutoSize = true;
|
lblVersion.AutoSize = true;
|
||||||
this.lblVersion.Location = new System.Drawing.Point(12, 189);
|
lblVersion.Location = new System.Drawing.Point(14, 210);
|
||||||
this.lblVersion.Name = "lblVersion";
|
lblVersion.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.lblVersion.Size = new System.Drawing.Size(63, 13);
|
lblVersion.Name = "lblVersion";
|
||||||
this.lblVersion.TabIndex = 0;
|
lblVersion.Size = new System.Drawing.Size(66, 15);
|
||||||
this.lblVersion.Text = "Version: 1.1";
|
lblVersion.TabIndex = 0;
|
||||||
|
lblVersion.Text = "Version: 0.0";
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
label1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
this.label1.Location = new System.Drawing.Point(0, 80);
|
label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
||||||
this.label1.Name = "label1";
|
label1.Location = new System.Drawing.Point(0, 77);
|
||||||
this.label1.Size = new System.Drawing.Size(384, 35);
|
label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label1.TabIndex = 1;
|
label1.Name = "label1";
|
||||||
this.label1.Text = "McBitFont";
|
label1.Size = new System.Drawing.Size(448, 36);
|
||||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
label1.TabIndex = 1;
|
||||||
|
label1.Text = "McBitFont";
|
||||||
|
label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
||||||
this.label2.Location = new System.Drawing.Point(0, 115);
|
label2.Location = new System.Drawing.Point(0, 118);
|
||||||
this.label2.Name = "label2";
|
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label2.Size = new System.Drawing.Size(384, 25);
|
label2.Name = "label2";
|
||||||
this.label2.TabIndex = 2;
|
label2.Size = new System.Drawing.Size(448, 29);
|
||||||
this.label2.Text = "McFLY\'s Bit Font and Image Editor";
|
label2.TabIndex = 2;
|
||||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
label2.Text = "McFLY's Bit Font and Image Editor";
|
||||||
|
label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// pictureBox1
|
// pictureBox1
|
||||||
//
|
//
|
||||||
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
this.pictureBox1.Image = global::McBitFont.Properties.Resources.icon_64;
|
pictureBox1.Image = Properties.Resources.icon_64;
|
||||||
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
|
pictureBox1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pictureBox1.Margin = new System.Windows.Forms.Padding(3, 10, 3, 3);
|
pictureBox1.Margin = new System.Windows.Forms.Padding(4, 12, 4, 3);
|
||||||
this.pictureBox1.Name = "pictureBox1";
|
pictureBox1.Name = "pictureBox1";
|
||||||
this.pictureBox1.Size = new System.Drawing.Size(384, 75);
|
pictureBox1.Size = new System.Drawing.Size(448, 74);
|
||||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||||
this.pictureBox1.TabIndex = 3;
|
pictureBox1.TabIndex = 3;
|
||||||
this.pictureBox1.TabStop = false;
|
pictureBox1.TabStop = false;
|
||||||
//
|
//
|
||||||
// linkLabel1
|
// linkLabel1
|
||||||
//
|
//
|
||||||
this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
linkLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204);
|
||||||
this.linkLabel1.Location = new System.Drawing.Point(0, 140);
|
linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||||
this.linkLabel1.Name = "linkLabel1";
|
linkLabel1.Location = new System.Drawing.Point(0, 155);
|
||||||
this.linkLabel1.Size = new System.Drawing.Size(384, 23);
|
linkLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.linkLabel1.TabIndex = 4;
|
linkLabel1.Name = "linkLabel1";
|
||||||
this.linkLabel1.Text = "mcfly@mcflyer.ru";
|
linkLabel1.Size = new System.Drawing.Size(448, 24);
|
||||||
this.linkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
linkLabel1.TabIndex = 4;
|
||||||
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
linkLabel1.TabStop = true;
|
||||||
|
linkLabel1.Text = "mcfly@mcflyer.ru";
|
||||||
|
linkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
linkLabel1.LinkClicked += linkLabel1_LinkClicked;
|
||||||
//
|
//
|
||||||
// button1
|
// button1
|
||||||
//
|
//
|
||||||
this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
|
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)));
|
button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
||||||
this.button1.Location = new System.Drawing.Point(146, 175);
|
button1.Location = new System.Drawing.Point(170, 194);
|
||||||
this.button1.Name = "button1";
|
button1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.button1.Size = new System.Drawing.Size(89, 27);
|
button1.Name = "button1";
|
||||||
this.button1.TabIndex = 5;
|
button1.Size = new System.Drawing.Size(104, 31);
|
||||||
this.button1.Text = "OK";
|
button1.TabIndex = 5;
|
||||||
this.button1.UseVisualStyleBackColor = true;
|
button1.Text = "OK";
|
||||||
|
button1.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// About
|
// About
|
||||||
//
|
//
|
||||||
this.AcceptButton = this.button1;
|
AcceptButton = button1;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(384, 211);
|
ClientSize = new System.Drawing.Size(448, 236);
|
||||||
this.Controls.Add(this.button1);
|
Controls.Add(button1);
|
||||||
this.Controls.Add(this.linkLabel1);
|
Controls.Add(linkLabel1);
|
||||||
this.Controls.Add(this.pictureBox1);
|
Controls.Add(pictureBox1);
|
||||||
this.Controls.Add(this.label2);
|
Controls.Add(label2);
|
||||||
this.Controls.Add(this.label1);
|
Controls.Add(label1);
|
||||||
this.Controls.Add(this.lblVersion);
|
Controls.Add(lblVersion);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
|
||||||
this.MaximizeBox = false;
|
Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.MinimizeBox = false;
|
MaximizeBox = false;
|
||||||
this.Name = "About";
|
MinimizeBox = false;
|
||||||
this.ShowInTaskbar = false;
|
Name = "About";
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
ShowInTaskbar = false;
|
||||||
this.Text = "About";
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.Load += new System.EventHandler(this.About_Load);
|
Text = "About McBitFont";
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
Load += About_Load;
|
||||||
this.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
||||||
this.PerformLayout();
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,17 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
@@ -26,36 +26,36 @@
|
|||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
|
85
McBitFont/CanvasHistory.cs
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
|
||||||
|
namespace McBitFont {
|
||||||
|
internal class CanvasHistory {
|
||||||
|
private List<bool[,]> stack;
|
||||||
|
public int Depth { get; set; }
|
||||||
|
public int Index { get; set; }
|
||||||
|
public int Count {
|
||||||
|
get { return stack.Count - 1; }
|
||||||
|
}
|
||||||
|
public int Redos {
|
||||||
|
get {
|
||||||
|
var r = Count - Index - 1;
|
||||||
|
|
||||||
|
return r < 0 ? 0 : r;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public int Undos {
|
||||||
|
get {
|
||||||
|
return Index + 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public CanvasHistory(int depth = 50) {
|
||||||
|
Depth = depth;
|
||||||
|
Index = -1;
|
||||||
|
stack = [];
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Clear() {
|
||||||
|
stack.Clear();
|
||||||
|
Index = -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddPre(MainForm.FrameMiniature f, bool useIndex = true) {
|
||||||
|
if (Count < 0) stack.Add(new bool[f.width, f.height]);
|
||||||
|
if (Index < Count - 1) {
|
||||||
|
stack.RemoveRange(Index + 1, Count - Index - 1);
|
||||||
|
}
|
||||||
|
bool[,] d = new bool[f.width, f.height];
|
||||||
|
Array.Copy(f.data, d, f.data.Length);
|
||||||
|
stack.Insert(Count, d);
|
||||||
|
if (useIndex) {
|
||||||
|
if (Count > Depth) stack.RemoveAt(0);
|
||||||
|
else Index++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddPost(MainForm.FrameMiniature f) {
|
||||||
|
var d = stack.ElementAt(Count);
|
||||||
|
Array.Copy(f.data, d, f.data.Length);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ApplyAdded() {
|
||||||
|
while (Count > Depth) stack.RemoveAt(0);
|
||||||
|
Index = Count - 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Remove(bool useIndex = true) {
|
||||||
|
stack.RemoveAt(Count - 1);
|
||||||
|
if (useIndex) Index--;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Undo(MainForm.FrameMiniature f) {
|
||||||
|
if (Index < 0) return;
|
||||||
|
var d = stack.ElementAt(Index);
|
||||||
|
Array.Copy(d, f.data, d.Length);
|
||||||
|
Index--;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Redo(MainForm.FrameMiniature f) {
|
||||||
|
if (Index >= Count - 1) return;
|
||||||
|
Index++;
|
||||||
|
var d = stack.ElementAt(Index + 1);
|
||||||
|
Array.Copy(d, f.data, d.Length);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
187
McBitFont/CodeShift.Designer.cs
generated
Normal file
@@ -0,0 +1,187 @@
|
|||||||
|
namespace McBitFont {
|
||||||
|
partial class CodeShift {
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing) {
|
||||||
|
if (disposing && (components != null)) {
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent() {
|
||||||
|
components = new System.ComponentModel.Container();
|
||||||
|
rbShiftLeft = new System.Windows.Forms.RadioButton();
|
||||||
|
rbShiftRight = new System.Windows.Forms.RadioButton();
|
||||||
|
rbSpecify = new System.Windows.Forms.RadioButton();
|
||||||
|
lblValue = new System.Windows.Forms.Label();
|
||||||
|
nudValue = new System.Windows.Forms.NumericUpDown();
|
||||||
|
btnOK = new System.Windows.Forms.Button();
|
||||||
|
btnCancel = new System.Windows.Forms.Button();
|
||||||
|
lblMessage = new System.Windows.Forms.Label();
|
||||||
|
lblRange = new System.Windows.Forms.Label();
|
||||||
|
toolTip1 = new System.Windows.Forms.ToolTip(components);
|
||||||
|
((System.ComponentModel.ISupportInitialize)nudValue).BeginInit();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// rbShiftLeft
|
||||||
|
//
|
||||||
|
rbShiftLeft.AutoSize = true;
|
||||||
|
rbShiftLeft.Location = new System.Drawing.Point(12, 12);
|
||||||
|
rbShiftLeft.Name = "rbShiftLeft";
|
||||||
|
rbShiftLeft.Size = new System.Drawing.Size(134, 19);
|
||||||
|
rbShiftLeft.TabIndex = 0;
|
||||||
|
rbShiftLeft.Text = "Shift Left (towards 0)";
|
||||||
|
toolTip1.SetToolTip(rbShiftLeft, "Shift all symbols left on the code sequence decreasing codes");
|
||||||
|
rbShiftLeft.UseVisualStyleBackColor = true;
|
||||||
|
rbShiftLeft.CheckedChanged += ModeChanged;
|
||||||
|
//
|
||||||
|
// rbShiftRight
|
||||||
|
//
|
||||||
|
rbShiftRight.AutoSize = true;
|
||||||
|
rbShiftRight.Location = new System.Drawing.Point(12, 37);
|
||||||
|
rbShiftRight.Name = "rbShiftRight";
|
||||||
|
rbShiftRight.Size = new System.Drawing.Size(154, 19);
|
||||||
|
rbShiftRight.TabIndex = 1;
|
||||||
|
rbShiftRight.Text = "Shift Right (towards 255)";
|
||||||
|
toolTip1.SetToolTip(rbShiftRight, "Shift all symbols right on the code sequence increasing codes");
|
||||||
|
rbShiftRight.UseVisualStyleBackColor = true;
|
||||||
|
rbShiftRight.CheckedChanged += ModeChanged;
|
||||||
|
//
|
||||||
|
// rbSpecify
|
||||||
|
//
|
||||||
|
rbSpecify.AutoSize = true;
|
||||||
|
rbSpecify.Location = new System.Drawing.Point(12, 62);
|
||||||
|
rbSpecify.Name = "rbSpecify";
|
||||||
|
rbSpecify.Size = new System.Drawing.Size(118, 19);
|
||||||
|
rbSpecify.TabIndex = 2;
|
||||||
|
rbSpecify.Text = "Specify start code";
|
||||||
|
toolTip1.SetToolTip(rbSpecify, "Specify the code for the first symbol in sequence");
|
||||||
|
rbSpecify.UseVisualStyleBackColor = true;
|
||||||
|
rbSpecify.CheckedChanged += ModeChanged;
|
||||||
|
//
|
||||||
|
// lblValue
|
||||||
|
//
|
||||||
|
lblValue.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
lblValue.Location = new System.Drawing.Point(156, 8);
|
||||||
|
lblValue.Name = "lblValue";
|
||||||
|
lblValue.Size = new System.Drawing.Size(110, 15);
|
||||||
|
lblValue.TabIndex = 3;
|
||||||
|
lblValue.Text = "Shift by:";
|
||||||
|
lblValue.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// nudValue
|
||||||
|
//
|
||||||
|
nudValue.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
nudValue.Location = new System.Drawing.Point(185, 27);
|
||||||
|
nudValue.Maximum = new decimal(new int[] { 254, 0, 0, 0 });
|
||||||
|
nudValue.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
|
||||||
|
nudValue.Name = "nudValue";
|
||||||
|
nudValue.Size = new System.Drawing.Size(50, 23);
|
||||||
|
nudValue.TabIndex = 5;
|
||||||
|
nudValue.Value = new decimal(new int[] { 1, 0, 0, 0 });
|
||||||
|
nudValue.ValueChanged += nudValue_ValueChanged;
|
||||||
|
//
|
||||||
|
// btnOK
|
||||||
|
//
|
||||||
|
btnOK.Location = new System.Drawing.Point(24, 155);
|
||||||
|
btnOK.Name = "btnOK";
|
||||||
|
btnOK.Size = new System.Drawing.Size(88, 27);
|
||||||
|
btnOK.TabIndex = 6;
|
||||||
|
btnOK.Text = "OK";
|
||||||
|
btnOK.UseVisualStyleBackColor = true;
|
||||||
|
btnOK.Click += btnOK_Click;
|
||||||
|
//
|
||||||
|
// btnCancel
|
||||||
|
//
|
||||||
|
btnCancel.Location = new System.Drawing.Point(156, 155);
|
||||||
|
btnCancel.Name = "btnCancel";
|
||||||
|
btnCancel.Size = new System.Drawing.Size(88, 27);
|
||||||
|
btnCancel.TabIndex = 7;
|
||||||
|
btnCancel.Text = "Cancel";
|
||||||
|
btnCancel.UseVisualStyleBackColor = true;
|
||||||
|
btnCancel.Click += btnCancel_Click;
|
||||||
|
//
|
||||||
|
// lblMessage
|
||||||
|
//
|
||||||
|
lblMessage.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
lblMessage.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
||||||
|
lblMessage.ForeColor = System.Drawing.Color.DarkRed;
|
||||||
|
lblMessage.Location = new System.Drawing.Point(0, 84);
|
||||||
|
lblMessage.Name = "lblMessage";
|
||||||
|
lblMessage.Size = new System.Drawing.Size(268, 68);
|
||||||
|
lblMessage.TabIndex = 8;
|
||||||
|
lblMessage.Text = "Message";
|
||||||
|
lblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// lblRange
|
||||||
|
//
|
||||||
|
lblRange.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
lblRange.Location = new System.Drawing.Point(183, 53);
|
||||||
|
lblRange.Name = "lblRange";
|
||||||
|
lblRange.Size = new System.Drawing.Size(62, 31);
|
||||||
|
lblRange.TabIndex = 9;
|
||||||
|
lblRange.Text = "min: 222\r\nmax: 222";
|
||||||
|
//
|
||||||
|
// toolTip1
|
||||||
|
//
|
||||||
|
toolTip1.AutoPopDelay = 10000;
|
||||||
|
toolTip1.InitialDelay = 500;
|
||||||
|
toolTip1.ReshowDelay = 100;
|
||||||
|
//
|
||||||
|
// CodeShift
|
||||||
|
//
|
||||||
|
AcceptButton = btnOK;
|
||||||
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
CancelButton = btnCancel;
|
||||||
|
ClientSize = new System.Drawing.Size(268, 191);
|
||||||
|
Controls.Add(lblRange);
|
||||||
|
Controls.Add(lblMessage);
|
||||||
|
Controls.Add(btnCancel);
|
||||||
|
Controls.Add(btnOK);
|
||||||
|
Controls.Add(nudValue);
|
||||||
|
Controls.Add(lblValue);
|
||||||
|
Controls.Add(rbSpecify);
|
||||||
|
Controls.Add(rbShiftRight);
|
||||||
|
Controls.Add(rbShiftLeft);
|
||||||
|
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
|
MaximizeBox = false;
|
||||||
|
MinimizeBox = false;
|
||||||
|
Name = "CodeShift";
|
||||||
|
ShowIcon = false;
|
||||||
|
ShowInTaskbar = false;
|
||||||
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
Text = "Code Shift";
|
||||||
|
Load += CodeShift_Load;
|
||||||
|
((System.ComponentModel.ISupportInitialize)nudValue).EndInit();
|
||||||
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
private System.Windows.Forms.Label lblValue;
|
||||||
|
private System.Windows.Forms.Button btnOK;
|
||||||
|
private System.Windows.Forms.Button btnCancel;
|
||||||
|
public System.Windows.Forms.RadioButton rbShiftLeft;
|
||||||
|
public System.Windows.Forms.RadioButton rbShiftRight;
|
||||||
|
public System.Windows.Forms.RadioButton rbSpecify;
|
||||||
|
public System.Windows.Forms.NumericUpDown nudValue;
|
||||||
|
private System.Windows.Forms.Label lblMessage;
|
||||||
|
private System.Windows.Forms.Label lblRange;
|
||||||
|
private System.Windows.Forms.ToolTip toolTip1;
|
||||||
|
}
|
||||||
|
}
|
99
McBitFont/CodeShift.cs
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
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 CodeShift : Form {
|
||||||
|
|
||||||
|
private int maxLeft, maxRight, maxSC, count;
|
||||||
|
public int sc;
|
||||||
|
|
||||||
|
public CodeShift(MainForm parent) {
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
count = parent.frames.Count;
|
||||||
|
sc = parent.frames.First().code;
|
||||||
|
maxLeft = sc;
|
||||||
|
maxRight = 255 - sc - count + 1;
|
||||||
|
maxSC = sc + maxRight;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CodeShift_Load(object sender, EventArgs e) {
|
||||||
|
byte enabled = 7;
|
||||||
|
string msg = "";
|
||||||
|
if (maxLeft < 1) {
|
||||||
|
rbShiftLeft.Enabled = false;
|
||||||
|
enabled -= 1;
|
||||||
|
msg += "Cannot shift left: Start code is " + sc.ToString() + ".";
|
||||||
|
}
|
||||||
|
if (maxRight < 1) {
|
||||||
|
rbShiftRight.Enabled = false;
|
||||||
|
enabled -= 2;
|
||||||
|
msg += "\nCannot shift right: Last code is " + (sc + count - 1).ToString() + ".";
|
||||||
|
}
|
||||||
|
if (maxSC <= 0) {
|
||||||
|
rbSpecify.Enabled = false;
|
||||||
|
enabled -= 4;
|
||||||
|
msg += "\nCannot shift: The font is full." + (sc + count - 1).ToString();
|
||||||
|
}
|
||||||
|
lblMessage.Text = msg;
|
||||||
|
|
||||||
|
if ((enabled & 1) > 0) rbShiftLeft.Checked = true;
|
||||||
|
else if ((enabled & 2) > 0) rbShiftRight.Checked = true;
|
||||||
|
else if ((enabled & 4) > 0) rbSpecify.Checked = true;
|
||||||
|
else {
|
||||||
|
btnOK.Enabled = false;
|
||||||
|
nudValue.Enabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//ModeChanged(rbShiftLeft, null);
|
||||||
|
//nudValue.Minimum = 1;
|
||||||
|
//nudValue.Maximum = maxLeft;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ModeChanged(object sender, EventArgs e) {
|
||||||
|
if (rbSpecify.Checked) {
|
||||||
|
lblValue.Text = "New start code:";
|
||||||
|
nudValue.Minimum = 0;
|
||||||
|
nudValue.Maximum = maxSC;
|
||||||
|
nudValue.Value = 0;
|
||||||
|
lblRange.Text = "min: 0\nmax: " + maxSC.ToString();
|
||||||
|
} else {
|
||||||
|
lblValue.Text = "Shift by:";
|
||||||
|
nudValue.Minimum = 1;
|
||||||
|
nudValue.Value = 1;
|
||||||
|
if (rbShiftLeft.Checked) {
|
||||||
|
nudValue.Maximum = maxLeft;
|
||||||
|
lblRange.Text = "min: 1\nmax: " + maxLeft.ToString();
|
||||||
|
}
|
||||||
|
if (rbShiftRight.Checked) {
|
||||||
|
nudValue.Maximum = maxRight;
|
||||||
|
lblRange.Text = "min: 1\nmax: " + maxRight.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void nudValue_ValueChanged(object sender, EventArgs e) {
|
||||||
|
if (rbSpecify.Checked) {
|
||||||
|
if (nudValue.Value == sc) btnOK.Enabled = false;
|
||||||
|
else btnOK.Enabled = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnOK_Click(object sender, EventArgs e) {
|
||||||
|
DialogResult = DialogResult.OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnCancel_Click(object sender, EventArgs e) {
|
||||||
|
DialogResult = DialogResult.Cancel;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
123
McBitFont/CodeShift.resx
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
<?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>
|
||||||
|
</root>
|
525
McBitFont/Export.Designer.cs
generated
@@ -23,331 +23,337 @@
|
|||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent() {
|
private void InitializeComponent() {
|
||||||
this.components = new System.ComponentModel.Container();
|
components = new System.ComponentModel.Container();
|
||||||
this.txtOutput = new System.Windows.Forms.RichTextBox();
|
txtOutput = new System.Windows.Forms.RichTextBox();
|
||||||
this.gbScan = new System.Windows.Forms.GroupBox();
|
gbScan = new System.Windows.Forms.GroupBox();
|
||||||
this.cbVDir = new System.Windows.Forms.ComboBox();
|
cbVDir = new System.Windows.Forms.ComboBox();
|
||||||
this.cbHDir = new System.Windows.Forms.ComboBox();
|
cbHDir = new System.Windows.Forms.ComboBox();
|
||||||
this.cbOrder = new System.Windows.Forms.ComboBox();
|
cbOrder = new System.Windows.Forms.ComboBox();
|
||||||
this.gbOptions = new System.Windows.Forms.GroupBox();
|
gbOptions = new System.Windows.Forms.GroupBox();
|
||||||
this.cbZeroes = new System.Windows.Forms.CheckBox();
|
cbPacked = new System.Windows.Forms.CheckBox();
|
||||||
this.cbHeader = new System.Windows.Forms.CheckBox();
|
cbZeroes = new System.Windows.Forms.CheckBox();
|
||||||
this.cbComments = new System.Windows.Forms.CheckBox();
|
cbHeader = new System.Windows.Forms.CheckBox();
|
||||||
this.gbNumbers = new System.Windows.Forms.GroupBox();
|
cbComments = new System.Windows.Forms.CheckBox();
|
||||||
this.cbBitOrder = new System.Windows.Forms.ComboBox();
|
gbNumbers = new System.Windows.Forms.GroupBox();
|
||||||
this.cbNumSize = new System.Windows.Forms.ComboBox();
|
cbBitOrder = new System.Windows.Forms.ComboBox();
|
||||||
this.cbNumBase = new System.Windows.Forms.ComboBox();
|
cbNumSize = new System.Windows.Forms.ComboBox();
|
||||||
this.gbText = new System.Windows.Forms.GroupBox();
|
cbNumBase = new System.Windows.Forms.ComboBox();
|
||||||
this.lblXLines = new System.Windows.Forms.Label();
|
gbText = new System.Windows.Forms.GroupBox();
|
||||||
this.nudXLines = new System.Windows.Forms.NumericUpDown();
|
lblXLines = new System.Windows.Forms.Label();
|
||||||
this.cbLines = new System.Windows.Forms.ComboBox();
|
nudXLines = new System.Windows.Forms.NumericUpDown();
|
||||||
this.cbFormat = new System.Windows.Forms.ComboBox();
|
cbLines = new System.Windows.Forms.ComboBox();
|
||||||
this.btnGenerate = new System.Windows.Forms.Button();
|
cbFormat = new System.Windows.Forms.ComboBox();
|
||||||
this.btnClose = new System.Windows.Forms.Button();
|
btnGenerate = new System.Windows.Forms.Button();
|
||||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
btnClose = new System.Windows.Forms.Button();
|
||||||
this.gbScan.SuspendLayout();
|
toolTip1 = new System.Windows.Forms.ToolTip(components);
|
||||||
this.gbOptions.SuspendLayout();
|
gbScan.SuspendLayout();
|
||||||
this.gbNumbers.SuspendLayout();
|
gbOptions.SuspendLayout();
|
||||||
this.gbText.SuspendLayout();
|
gbNumbers.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.nudXLines)).BeginInit();
|
gbText.SuspendLayout();
|
||||||
this.SuspendLayout();
|
((System.ComponentModel.ISupportInitialize)nudXLines).BeginInit();
|
||||||
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// txtOutput
|
// txtOutput
|
||||||
//
|
//
|
||||||
this.txtOutput.AcceptsTab = true;
|
txtOutput.AcceptsTab = true;
|
||||||
this.txtOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
txtOutput.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
txtOutput.AutoWordSelection = true;
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
txtOutput.DetectUrls = false;
|
||||||
this.txtOutput.AutoWordSelection = true;
|
txtOutput.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204);
|
||||||
this.txtOutput.DetectUrls = false;
|
txtOutput.HideSelection = false;
|
||||||
this.txtOutput.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
txtOutput.Location = new System.Drawing.Point(176, 14);
|
||||||
this.txtOutput.HideSelection = false;
|
txtOutput.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.txtOutput.Location = new System.Drawing.Point(151, 12);
|
txtOutput.Name = "txtOutput";
|
||||||
this.txtOutput.Name = "txtOutput";
|
txtOutput.Size = new System.Drawing.Size(616, 584);
|
||||||
this.txtOutput.Size = new System.Drawing.Size(529, 507);
|
txtOutput.TabIndex = 0;
|
||||||
this.txtOutput.TabIndex = 0;
|
txtOutput.Text = "";
|
||||||
this.txtOutput.Text = "";
|
txtOutput.WordWrap = false;
|
||||||
this.txtOutput.WordWrap = false;
|
|
||||||
//
|
//
|
||||||
// gbScan
|
// gbScan
|
||||||
//
|
//
|
||||||
this.gbScan.Controls.Add(this.cbVDir);
|
gbScan.Controls.Add(cbVDir);
|
||||||
this.gbScan.Controls.Add(this.cbHDir);
|
gbScan.Controls.Add(cbHDir);
|
||||||
this.gbScan.Controls.Add(this.cbOrder);
|
gbScan.Controls.Add(cbOrder);
|
||||||
this.gbScan.Location = new System.Drawing.Point(5, 12);
|
gbScan.Location = new System.Drawing.Point(6, 14);
|
||||||
this.gbScan.Name = "gbScan";
|
gbScan.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.gbScan.Size = new System.Drawing.Size(140, 105);
|
gbScan.Name = "gbScan";
|
||||||
this.gbScan.TabIndex = 1;
|
gbScan.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.gbScan.TabStop = false;
|
gbScan.Size = new System.Drawing.Size(163, 121);
|
||||||
this.gbScan.Text = "Scan";
|
gbScan.TabIndex = 1;
|
||||||
|
gbScan.TabStop = false;
|
||||||
|
gbScan.Text = "Scan";
|
||||||
//
|
//
|
||||||
// cbVDir
|
// cbVDir
|
||||||
//
|
//
|
||||||
this.cbVDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
cbVDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cbVDir.FormattingEnabled = true;
|
cbVDir.FormattingEnabled = true;
|
||||||
this.cbVDir.Items.AddRange(new object[] {
|
cbVDir.Items.AddRange(new object[] { "Top to Bottom", "Bottom to Top" });
|
||||||
"Top to Bottom",
|
cbVDir.Location = new System.Drawing.Point(12, 84);
|
||||||
"Bottom to Top"});
|
cbVDir.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.cbVDir.Location = new System.Drawing.Point(10, 73);
|
cbVDir.Name = "cbVDir";
|
||||||
this.cbVDir.Name = "cbVDir";
|
cbVDir.Size = new System.Drawing.Size(140, 23);
|
||||||
this.cbVDir.Size = new System.Drawing.Size(121, 21);
|
cbVDir.TabIndex = 2;
|
||||||
this.cbVDir.TabIndex = 2;
|
|
||||||
//
|
//
|
||||||
// cbHDir
|
// cbHDir
|
||||||
//
|
//
|
||||||
this.cbHDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
cbHDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cbHDir.FormattingEnabled = true;
|
cbHDir.FormattingEnabled = true;
|
||||||
this.cbHDir.Items.AddRange(new object[] {
|
cbHDir.Items.AddRange(new object[] { "Left to Right", "Right to Left" });
|
||||||
"Left to Right",
|
cbHDir.Location = new System.Drawing.Point(12, 53);
|
||||||
"Right to Left"});
|
cbHDir.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.cbHDir.Location = new System.Drawing.Point(10, 46);
|
cbHDir.Name = "cbHDir";
|
||||||
this.cbHDir.Name = "cbHDir";
|
cbHDir.Size = new System.Drawing.Size(140, 23);
|
||||||
this.cbHDir.Size = new System.Drawing.Size(121, 21);
|
cbHDir.TabIndex = 1;
|
||||||
this.cbHDir.TabIndex = 1;
|
|
||||||
//
|
//
|
||||||
// cbOrder
|
// cbOrder
|
||||||
//
|
//
|
||||||
this.cbOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
cbOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cbOrder.FormattingEnabled = true;
|
cbOrder.FormattingEnabled = true;
|
||||||
this.cbOrder.Items.AddRange(new object[] {
|
cbOrder.Items.AddRange(new object[] { "Columns", "Rows" });
|
||||||
"Columns",
|
cbOrder.Location = new System.Drawing.Point(12, 22);
|
||||||
"Rows"});
|
cbOrder.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.cbOrder.Location = new System.Drawing.Point(10, 19);
|
cbOrder.Name = "cbOrder";
|
||||||
this.cbOrder.Name = "cbOrder";
|
cbOrder.Size = new System.Drawing.Size(140, 23);
|
||||||
this.cbOrder.Size = new System.Drawing.Size(121, 21);
|
cbOrder.TabIndex = 0;
|
||||||
this.cbOrder.TabIndex = 0;
|
cbOrder.SelectedIndexChanged += cbOrder_SelectedIndexChanged;
|
||||||
this.cbOrder.SelectedIndexChanged += new System.EventHandler(this.cbOrder_SelectedIndexChanged);
|
|
||||||
//
|
//
|
||||||
// gbOptions
|
// gbOptions
|
||||||
//
|
//
|
||||||
this.gbOptions.Controls.Add(this.cbZeroes);
|
gbOptions.Controls.Add(cbPacked);
|
||||||
this.gbOptions.Controls.Add(this.cbHeader);
|
gbOptions.Controls.Add(cbZeroes);
|
||||||
this.gbOptions.Controls.Add(this.cbComments);
|
gbOptions.Controls.Add(cbHeader);
|
||||||
this.gbOptions.Location = new System.Drawing.Point(5, 345);
|
gbOptions.Controls.Add(cbComments);
|
||||||
this.gbOptions.Name = "gbOptions";
|
gbOptions.Location = new System.Drawing.Point(6, 398);
|
||||||
this.gbOptions.Size = new System.Drawing.Size(140, 88);
|
gbOptions.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.gbOptions.TabIndex = 3;
|
gbOptions.Name = "gbOptions";
|
||||||
this.gbOptions.TabStop = false;
|
gbOptions.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.gbOptions.Text = "Options";
|
gbOptions.Size = new System.Drawing.Size(163, 116);
|
||||||
|
gbOptions.TabIndex = 3;
|
||||||
|
gbOptions.TabStop = false;
|
||||||
|
gbOptions.Text = "Options";
|
||||||
|
//
|
||||||
|
// cbPacked
|
||||||
|
//
|
||||||
|
cbPacked.AutoSize = true;
|
||||||
|
cbPacked.Location = new System.Drawing.Point(7, 90);
|
||||||
|
cbPacked.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
|
cbPacked.Name = "cbPacked";
|
||||||
|
cbPacked.Size = new System.Drawing.Size(89, 19);
|
||||||
|
cbPacked.TabIndex = 3;
|
||||||
|
cbPacked.Text = "Packed font";
|
||||||
|
toolTip1.SetToolTip(cbPacked, "Pack symbols utilizing all bits within a symbol");
|
||||||
|
cbPacked.UseVisualStyleBackColor = true;
|
||||||
|
cbPacked.CheckedChanged += cbPacked_CheckedChanged;
|
||||||
//
|
//
|
||||||
// cbZeroes
|
// cbZeroes
|
||||||
//
|
//
|
||||||
this.cbZeroes.AutoSize = true;
|
cbZeroes.AutoSize = true;
|
||||||
this.cbZeroes.Checked = true;
|
cbZeroes.Checked = true;
|
||||||
this.cbZeroes.CheckState = System.Windows.Forms.CheckState.Checked;
|
cbZeroes.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.cbZeroes.Location = new System.Drawing.Point(6, 65);
|
cbZeroes.Location = new System.Drawing.Point(7, 66);
|
||||||
this.cbZeroes.Name = "cbZeroes";
|
cbZeroes.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.cbZeroes.Size = new System.Drawing.Size(98, 17);
|
cbZeroes.Name = "cbZeroes";
|
||||||
this.cbZeroes.TabIndex = 2;
|
cbZeroes.Size = new System.Drawing.Size(104, 19);
|
||||||
this.cbZeroes.Text = "Leading zeroes";
|
cbZeroes.TabIndex = 2;
|
||||||
this.toolTip1.SetToolTip(this.cbZeroes, "Add leading zeroes: 0x01 / 0x1");
|
cbZeroes.Text = "Leading zeroes";
|
||||||
this.cbZeroes.UseVisualStyleBackColor = true;
|
toolTip1.SetToolTip(cbZeroes, "Add leading zeroes: 0x01 / 0x1");
|
||||||
|
cbZeroes.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// cbHeader
|
// cbHeader
|
||||||
//
|
//
|
||||||
this.cbHeader.AutoSize = true;
|
cbHeader.AutoSize = true;
|
||||||
this.cbHeader.Checked = true;
|
cbHeader.Checked = true;
|
||||||
this.cbHeader.CheckState = System.Windows.Forms.CheckState.Checked;
|
cbHeader.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.cbHeader.Location = new System.Drawing.Point(6, 19);
|
cbHeader.Location = new System.Drawing.Point(7, 18);
|
||||||
this.cbHeader.Name = "cbHeader";
|
cbHeader.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.cbHeader.Size = new System.Drawing.Size(86, 17);
|
cbHeader.Name = "cbHeader";
|
||||||
this.cbHeader.TabIndex = 1;
|
cbHeader.Size = new System.Drawing.Size(92, 19);
|
||||||
this.cbHeader.Text = "Meta header";
|
cbHeader.TabIndex = 1;
|
||||||
this.toolTip1.SetToolTip(this.cbHeader, "Add meta header with meta data");
|
cbHeader.Text = "Meta header";
|
||||||
this.cbHeader.UseVisualStyleBackColor = true;
|
toolTip1.SetToolTip(cbHeader, "Add meta header with meta data");
|
||||||
this.cbHeader.CheckedChanged += new System.EventHandler(this.cbFormat_SelectedIndexChanged);
|
cbHeader.UseVisualStyleBackColor = true;
|
||||||
|
cbHeader.CheckedChanged += cbFormat_SelectedIndexChanged;
|
||||||
//
|
//
|
||||||
// cbComments
|
// cbComments
|
||||||
//
|
//
|
||||||
this.cbComments.AutoSize = true;
|
cbComments.AutoSize = true;
|
||||||
this.cbComments.Checked = true;
|
cbComments.Checked = true;
|
||||||
this.cbComments.CheckState = System.Windows.Forms.CheckState.Checked;
|
cbComments.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.cbComments.Location = new System.Drawing.Point(6, 42);
|
cbComments.Location = new System.Drawing.Point(7, 42);
|
||||||
this.cbComments.Name = "cbComments";
|
cbComments.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.cbComments.Size = new System.Drawing.Size(75, 17);
|
cbComments.Name = "cbComments";
|
||||||
this.cbComments.TabIndex = 0;
|
cbComments.Size = new System.Drawing.Size(85, 19);
|
||||||
this.cbComments.Text = "Comments";
|
cbComments.TabIndex = 0;
|
||||||
this.toolTip1.SetToolTip(this.cbComments, "Add descriptive comments");
|
cbComments.Text = "Comments";
|
||||||
this.cbComments.UseVisualStyleBackColor = true;
|
toolTip1.SetToolTip(cbComments, "Add descriptive comments");
|
||||||
|
cbComments.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// gbNumbers
|
// gbNumbers
|
||||||
//
|
//
|
||||||
this.gbNumbers.Controls.Add(this.cbBitOrder);
|
gbNumbers.Controls.Add(cbBitOrder);
|
||||||
this.gbNumbers.Controls.Add(this.cbNumSize);
|
gbNumbers.Controls.Add(cbNumSize);
|
||||||
this.gbNumbers.Controls.Add(this.cbNumBase);
|
gbNumbers.Controls.Add(cbNumBase);
|
||||||
this.gbNumbers.Location = new System.Drawing.Point(5, 123);
|
gbNumbers.Location = new System.Drawing.Point(6, 142);
|
||||||
this.gbNumbers.Name = "gbNumbers";
|
gbNumbers.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.gbNumbers.Size = new System.Drawing.Size(140, 105);
|
gbNumbers.Name = "gbNumbers";
|
||||||
this.gbNumbers.TabIndex = 4;
|
gbNumbers.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.gbNumbers.TabStop = false;
|
gbNumbers.Size = new System.Drawing.Size(163, 121);
|
||||||
this.gbNumbers.Text = "Numbers";
|
gbNumbers.TabIndex = 4;
|
||||||
|
gbNumbers.TabStop = false;
|
||||||
|
gbNumbers.Text = "Numbers";
|
||||||
//
|
//
|
||||||
// cbBitOrder
|
// cbBitOrder
|
||||||
//
|
//
|
||||||
this.cbBitOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
cbBitOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cbBitOrder.FormattingEnabled = true;
|
cbBitOrder.FormattingEnabled = true;
|
||||||
this.cbBitOrder.Items.AddRange(new object[] {
|
cbBitOrder.Items.AddRange(new object[] { "LSB Top", "MSB Top" });
|
||||||
"LSB Top",
|
cbBitOrder.Location = new System.Drawing.Point(12, 22);
|
||||||
"MSB Top"});
|
cbBitOrder.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.cbBitOrder.Location = new System.Drawing.Point(10, 19);
|
cbBitOrder.Name = "cbBitOrder";
|
||||||
this.cbBitOrder.Name = "cbBitOrder";
|
cbBitOrder.Size = new System.Drawing.Size(140, 23);
|
||||||
this.cbBitOrder.Size = new System.Drawing.Size(121, 21);
|
cbBitOrder.TabIndex = 5;
|
||||||
this.cbBitOrder.TabIndex = 5;
|
|
||||||
//
|
//
|
||||||
// cbNumSize
|
// cbNumSize
|
||||||
//
|
//
|
||||||
this.cbNumSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
cbNumSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cbNumSize.FormattingEnabled = true;
|
cbNumSize.FormattingEnabled = true;
|
||||||
this.cbNumSize.Items.AddRange(new object[] {
|
cbNumSize.Items.AddRange(new object[] { "8 bit", "16 bit", "32 bit" });
|
||||||
"8 bit",
|
cbNumSize.Location = new System.Drawing.Point(12, 84);
|
||||||
"16 bit",
|
cbNumSize.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
"32 bit"});
|
cbNumSize.Name = "cbNumSize";
|
||||||
this.cbNumSize.Location = new System.Drawing.Point(10, 73);
|
cbNumSize.Size = new System.Drawing.Size(140, 23);
|
||||||
this.cbNumSize.Name = "cbNumSize";
|
cbNumSize.TabIndex = 4;
|
||||||
this.cbNumSize.Size = new System.Drawing.Size(121, 21);
|
|
||||||
this.cbNumSize.TabIndex = 4;
|
|
||||||
//
|
//
|
||||||
// cbNumBase
|
// cbNumBase
|
||||||
//
|
//
|
||||||
this.cbNumBase.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
cbNumBase.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cbNumBase.FormattingEnabled = true;
|
cbNumBase.FormattingEnabled = true;
|
||||||
this.cbNumBase.Items.AddRange(new object[] {
|
cbNumBase.Items.AddRange(new object[] { "Hexadecimal", "Binary", "Decimal" });
|
||||||
"Hexadecimal",
|
cbNumBase.Location = new System.Drawing.Point(12, 53);
|
||||||
"Binary",
|
cbNumBase.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
"Decimal"});
|
cbNumBase.Name = "cbNumBase";
|
||||||
this.cbNumBase.Location = new System.Drawing.Point(10, 46);
|
cbNumBase.Size = new System.Drawing.Size(140, 23);
|
||||||
this.cbNumBase.Name = "cbNumBase";
|
cbNumBase.TabIndex = 3;
|
||||||
this.cbNumBase.Size = new System.Drawing.Size(121, 21);
|
|
||||||
this.cbNumBase.TabIndex = 3;
|
|
||||||
//
|
//
|
||||||
// gbText
|
// gbText
|
||||||
//
|
//
|
||||||
this.gbText.Controls.Add(this.lblXLines);
|
gbText.Controls.Add(lblXLines);
|
||||||
this.gbText.Controls.Add(this.nudXLines);
|
gbText.Controls.Add(nudXLines);
|
||||||
this.gbText.Controls.Add(this.cbLines);
|
gbText.Controls.Add(cbLines);
|
||||||
this.gbText.Controls.Add(this.cbFormat);
|
gbText.Controls.Add(cbFormat);
|
||||||
this.gbText.Location = new System.Drawing.Point(5, 234);
|
gbText.Location = new System.Drawing.Point(6, 270);
|
||||||
this.gbText.Name = "gbText";
|
gbText.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.gbText.Size = new System.Drawing.Size(140, 105);
|
gbText.Name = "gbText";
|
||||||
this.gbText.TabIndex = 5;
|
gbText.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.gbText.TabStop = false;
|
gbText.Size = new System.Drawing.Size(163, 121);
|
||||||
this.gbText.Text = "Text format";
|
gbText.TabIndex = 5;
|
||||||
|
gbText.TabStop = false;
|
||||||
|
gbText.Text = "Text format";
|
||||||
//
|
//
|
||||||
// lblXLines
|
// lblXLines
|
||||||
//
|
//
|
||||||
this.lblXLines.AutoSize = true;
|
lblXLines.AutoSize = true;
|
||||||
this.lblXLines.Enabled = false;
|
lblXLines.Enabled = false;
|
||||||
this.lblXLines.Location = new System.Drawing.Point(10, 76);
|
lblXLines.Location = new System.Drawing.Point(12, 88);
|
||||||
this.lblXLines.Name = "lblXLines";
|
lblXLines.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.lblXLines.Size = new System.Drawing.Size(60, 13);
|
lblXLines.Name = "lblXLines";
|
||||||
this.lblXLines.TabIndex = 9;
|
lblXLines.Size = new System.Drawing.Size(67, 15);
|
||||||
this.lblXLines.Text = "X numbers:";
|
lblXLines.TabIndex = 9;
|
||||||
|
lblXLines.Text = "X numbers:";
|
||||||
//
|
//
|
||||||
// nudXLines
|
// nudXLines
|
||||||
//
|
//
|
||||||
this.nudXLines.Enabled = false;
|
nudXLines.Enabled = false;
|
||||||
this.nudXLines.Location = new System.Drawing.Point(76, 73);
|
nudXLines.Location = new System.Drawing.Point(89, 84);
|
||||||
this.nudXLines.Maximum = new decimal(new int[] {
|
nudXLines.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
64,
|
nudXLines.Maximum = new decimal(new int[] { 64, 0, 0, 0 });
|
||||||
0,
|
nudXLines.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
|
||||||
0,
|
nudXLines.Name = "nudXLines";
|
||||||
0});
|
nudXLines.Size = new System.Drawing.Size(64, 23);
|
||||||
this.nudXLines.Minimum = new decimal(new int[] {
|
nudXLines.TabIndex = 8;
|
||||||
1,
|
nudXLines.Value = new decimal(new int[] { 8, 0, 0, 0 });
|
||||||
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
|
// cbLines
|
||||||
//
|
//
|
||||||
this.cbLines.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
cbLines.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cbLines.FormattingEnabled = true;
|
cbLines.FormattingEnabled = true;
|
||||||
this.cbLines.Items.AddRange(new object[] {
|
cbLines.Items.AddRange(new object[] { "1 Column per line", "1 Symbol per line", "X Numbers per line" });
|
||||||
"1 Column per line",
|
cbLines.Location = new System.Drawing.Point(12, 53);
|
||||||
"1 Symbol per line",
|
cbLines.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
"X Numbers per line"});
|
cbLines.Name = "cbLines";
|
||||||
this.cbLines.Location = new System.Drawing.Point(10, 46);
|
cbLines.Size = new System.Drawing.Size(140, 23);
|
||||||
this.cbLines.Name = "cbLines";
|
cbLines.TabIndex = 7;
|
||||||
this.cbLines.Size = new System.Drawing.Size(121, 21);
|
cbLines.SelectedIndexChanged += cbLines_SelectedIndexChanged;
|
||||||
this.cbLines.TabIndex = 7;
|
|
||||||
this.cbLines.SelectedIndexChanged += new System.EventHandler(this.cbLines_SelectedIndexChanged);
|
|
||||||
//
|
//
|
||||||
// cbFormat
|
// cbFormat
|
||||||
//
|
//
|
||||||
this.cbFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
cbFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.cbFormat.FormattingEnabled = true;
|
cbFormat.FormattingEnabled = true;
|
||||||
this.cbFormat.Items.AddRange(new object[] {
|
cbFormat.Items.AddRange(new object[] { "1D C array", "2D C array", "Comma separated" });
|
||||||
"1D C array",
|
cbFormat.Location = new System.Drawing.Point(12, 22);
|
||||||
"2D C array",
|
cbFormat.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
"Comma separated"});
|
cbFormat.Name = "cbFormat";
|
||||||
this.cbFormat.Location = new System.Drawing.Point(10, 19);
|
cbFormat.Size = new System.Drawing.Size(140, 23);
|
||||||
this.cbFormat.Name = "cbFormat";
|
cbFormat.TabIndex = 6;
|
||||||
this.cbFormat.Size = new System.Drawing.Size(121, 21);
|
cbFormat.SelectedIndexChanged += cbFormat_SelectedIndexChanged;
|
||||||
this.cbFormat.TabIndex = 6;
|
|
||||||
this.cbFormat.SelectedIndexChanged += new System.EventHandler(this.cbFormat_SelectedIndexChanged);
|
|
||||||
//
|
//
|
||||||
// btnGenerate
|
// btnGenerate
|
||||||
//
|
//
|
||||||
this.btnGenerate.Location = new System.Drawing.Point(5, 439);
|
btnGenerate.Location = new System.Drawing.Point(6, 520);
|
||||||
this.btnGenerate.Name = "btnGenerate";
|
btnGenerate.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.btnGenerate.Size = new System.Drawing.Size(140, 30);
|
btnGenerate.Name = "btnGenerate";
|
||||||
this.btnGenerate.TabIndex = 6;
|
btnGenerate.Size = new System.Drawing.Size(163, 35);
|
||||||
this.btnGenerate.Text = "Generate";
|
btnGenerate.TabIndex = 6;
|
||||||
this.btnGenerate.UseVisualStyleBackColor = true;
|
btnGenerate.Text = "Generate";
|
||||||
this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);
|
btnGenerate.UseVisualStyleBackColor = true;
|
||||||
|
btnGenerate.Click += btnGenerate_Click;
|
||||||
//
|
//
|
||||||
// btnClose
|
// btnClose
|
||||||
//
|
//
|
||||||
this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||||
this.btnClose.Location = new System.Drawing.Point(5, 487);
|
btnClose.Location = new System.Drawing.Point(6, 562);
|
||||||
this.btnClose.Name = "btnClose";
|
btnClose.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.btnClose.Size = new System.Drawing.Size(140, 30);
|
btnClose.Name = "btnClose";
|
||||||
this.btnClose.TabIndex = 7;
|
btnClose.Size = new System.Drawing.Size(163, 35);
|
||||||
this.btnClose.Text = "Close";
|
btnClose.TabIndex = 7;
|
||||||
this.btnClose.UseVisualStyleBackColor = true;
|
btnClose.Text = "Close";
|
||||||
|
btnClose.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// toolTip1
|
// toolTip1
|
||||||
//
|
//
|
||||||
this.toolTip1.AutoPopDelay = 10000;
|
toolTip1.AutoPopDelay = 10000;
|
||||||
this.toolTip1.InitialDelay = 500;
|
toolTip1.InitialDelay = 500;
|
||||||
this.toolTip1.ReshowDelay = 100;
|
toolTip1.ReshowDelay = 100;
|
||||||
//
|
//
|
||||||
// Export
|
// Export
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.CancelButton = this.btnClose;
|
CancelButton = btnClose;
|
||||||
this.ClientSize = new System.Drawing.Size(692, 531);
|
ClientSize = new System.Drawing.Size(807, 613);
|
||||||
this.Controls.Add(this.btnClose);
|
Controls.Add(btnClose);
|
||||||
this.Controls.Add(this.btnGenerate);
|
Controls.Add(btnGenerate);
|
||||||
this.Controls.Add(this.gbText);
|
Controls.Add(gbText);
|
||||||
this.Controls.Add(this.gbNumbers);
|
Controls.Add(gbNumbers);
|
||||||
this.Controls.Add(this.gbOptions);
|
Controls.Add(gbOptions);
|
||||||
this.Controls.Add(this.gbScan);
|
Controls.Add(gbScan);
|
||||||
this.Controls.Add(this.txtOutput);
|
Controls.Add(txtOutput);
|
||||||
this.MinimumSize = new System.Drawing.Size(700, 570);
|
Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
this.Name = "Export";
|
MinimumSize = new System.Drawing.Size(814, 652);
|
||||||
this.ShowIcon = false;
|
Name = "Export";
|
||||||
this.ShowInTaskbar = false;
|
ShowIcon = false;
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
ShowInTaskbar = false;
|
||||||
this.Text = "Export";
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.Load += new System.EventHandler(this.Export_Load);
|
Text = "Export";
|
||||||
this.gbScan.ResumeLayout(false);
|
Load += Export_Load;
|
||||||
this.gbOptions.ResumeLayout(false);
|
gbScan.ResumeLayout(false);
|
||||||
this.gbOptions.PerformLayout();
|
gbOptions.ResumeLayout(false);
|
||||||
this.gbNumbers.ResumeLayout(false);
|
gbOptions.PerformLayout();
|
||||||
this.gbText.ResumeLayout(false);
|
gbNumbers.ResumeLayout(false);
|
||||||
this.gbText.PerformLayout();
|
gbText.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.nudXLines)).EndInit();
|
gbText.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)nudXLines).EndInit();
|
||||||
|
ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -374,5 +380,6 @@
|
|||||||
private System.Windows.Forms.Button btnClose;
|
private System.Windows.Forms.Button btnClose;
|
||||||
private System.Windows.Forms.CheckBox cbZeroes;
|
private System.Windows.Forms.CheckBox cbZeroes;
|
||||||
private System.Windows.Forms.ToolTip toolTip1;
|
private System.Windows.Forms.ToolTip toolTip1;
|
||||||
|
private System.Windows.Forms.CheckBox cbPacked;
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -33,25 +33,26 @@ namespace McBitFont {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
comments.Add("header",
|
comments.Add("header",
|
||||||
"// File generated by McBitFont " + MainForm.version + "\n" +
|
"// File generated by McBitFont v" + MainForm.version + "\n" +
|
||||||
"// made by Anton Mukhin (mcfly@mcflyer.ru)\n" +
|
"// made by Anton Mukhin (mcfly@mcflyer.ru)\n" +
|
||||||
"//\n" +
|
"//\n" +
|
||||||
"//\n"
|
"//\n"
|
||||||
);
|
);
|
||||||
comments.Add("scan_order", "// Scan order: ");
|
comments.Add("scan_order", "// Scan order: ");
|
||||||
comments.Add("scan_hdir", "// Horizontal direction: ");
|
comments.Add("scan_hdir", "// Horizontal direction: ");
|
||||||
comments.Add("scan_vdir", "// Vertical direction: ");
|
comments.Add("scan_vdir", "// Vertical direction: ");
|
||||||
|
|
||||||
comments.Add("num_bit_order", "// Bit order: ");
|
comments.Add("num_bit_order", "// Bit order: ");
|
||||||
comments.Add("num_base", "// Numbers base: ");
|
comments.Add("num_base", "// Numbers base: ");
|
||||||
comments.Add("num_size", "// Numbers size: ");
|
comments.Add("num_size", "// Numbers size: ");
|
||||||
|
|
||||||
comments.Add("text_format", "// Text format: ");
|
comments.Add("text_format", "// Text format: ");
|
||||||
comments.Add("text_lines", "// Numbers per line: ");
|
comments.Add("text_lines", "// Numbers per line: ");
|
||||||
|
|
||||||
comments.Add("font_header_map",
|
comments.Add("font_header_map",
|
||||||
"// Font header map:\n" +
|
"// Font header map:\n" +
|
||||||
"// width; // Font width in pixels\n" +
|
"// packed; // Flag for packed font\n" +
|
||||||
|
"// width; // Font width in pixels (0 - variable width)\n" +
|
||||||
"// height; // Font height in pixels\n" +
|
"// height; // Font height in pixels\n" +
|
||||||
"// space; // Font space in pixels\n" +
|
"// space; // Font space in pixels\n" +
|
||||||
"// first; // First character code\n" +
|
"// first; // First character code\n" +
|
||||||
@@ -76,9 +77,11 @@ namespace McBitFont {
|
|||||||
|
|
||||||
private void btnGenerate_Click(object sender, EventArgs e) {
|
private void btnGenerate_Click(object sender, EventArgs e) {
|
||||||
string output = "";
|
string output = "";
|
||||||
|
int bTotal = 0;
|
||||||
txtOutput.Clear();
|
txtOutput.Clear();
|
||||||
bool com = cbComments.Checked;
|
bool com = cbComments.Checked;
|
||||||
bool hdr = cbHeader.Checked;
|
bool hdr = cbHeader.Checked;
|
||||||
|
bool packed = cbPacked.Checked;
|
||||||
int lines = cbLines.SelectedIndex;
|
int lines = cbLines.SelectedIndex;
|
||||||
int format = cbFormat.SelectedIndex;
|
int format = cbFormat.SelectedIndex;
|
||||||
bool mono = mainForm.monospaced;
|
bool mono = mainForm.monospaced;
|
||||||
@@ -89,7 +92,7 @@ namespace McBitFont {
|
|||||||
|
|
||||||
if (com) {
|
if (com) {
|
||||||
// Header comments
|
// Header comments
|
||||||
output += comments["header"];
|
//output += comments["header"];
|
||||||
output += comments["scan_order"] + cbOrder.Text + "\n";
|
output += comments["scan_order"] + cbOrder.Text + "\n";
|
||||||
output += comments["scan_hdir"] + cbHDir.Text + "\n";
|
output += comments["scan_hdir"] + cbHDir.Text + "\n";
|
||||||
output += comments["scan_vdir"] + cbVDir.Text + "\n\n";
|
output += comments["scan_vdir"] + cbVDir.Text + "\n\n";
|
||||||
@@ -156,7 +159,7 @@ namespace McBitFont {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// C data type selection
|
||||||
ushort bits = 8;
|
ushort bits = 8;
|
||||||
string dataType = "uint8_t";
|
string dataType = "uint8_t";
|
||||||
switch (cbNumSize.SelectedIndex) {
|
switch (cbNumSize.SelectedIndex) {
|
||||||
@@ -197,30 +200,32 @@ namespace McBitFont {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Array definition
|
// Array definition
|
||||||
if ( format == 0 || format == 1 ) output += "const " + dataType + " " + mainForm.prjName + "[]" + (format==1?"[]":"") + " = {\n";
|
if (format == 0 || format == 1) output += "const " + dataType + " " + mainForm.prjName + "[]" + (format == 1 ? "[]" : "") + " = {\n";
|
||||||
|
|
||||||
// Should we add the meta header?
|
// Should we add the meta header?
|
||||||
if (hdr) {
|
if (hdr) {
|
||||||
output +=
|
output +=
|
||||||
" // Meta header\n" +
|
" // Meta header\n" +
|
||||||
" " + (mono ? mainForm.frames.First().width.ToString() : "0") + ", // Font width in pixels; 0 - variable width\n" +
|
" " + (packed ? "1" : "0") + ", // Is it a packed font?\n" +
|
||||||
|
" " + (mono || mainForm.frames.Count == 1 ? mainForm.frames.First().width.ToString() : "0") + ", // Font width in pixels; 0 - variable width\n" +
|
||||||
" " + mainForm.frames.First().height.ToString() + ", // Font height in pixels\n" +
|
" " + mainForm.frames.First().height.ToString() + ", // Font height in pixels\n" +
|
||||||
" 0, // Font space (between symbols) in pixels\n" +
|
" 0, // Font space (between symbols) in pixels\n" +
|
||||||
" " + mainForm.frames.First().code.ToString() + ", // First character code\n" +
|
" " + mainForm.frames.First().code.ToString() + ", // First character code\n" +
|
||||||
" " + mainForm.frames.Last().code.ToString() + ", // Last character code\n"
|
" " + mainForm.frames.Last().code.ToString() + ", // Last character code\n"
|
||||||
;
|
;
|
||||||
|
bTotal += 6*bits / 8; // Count bytes total
|
||||||
}
|
}
|
||||||
|
|
||||||
// Brackets for 2D array definition
|
// Brackets for 2D array definition
|
||||||
string obracket = format == 1 ? "{ " : "";
|
string obracket = format == 1 ? "{ " : "";
|
||||||
string cbracket = format == 1 ? " }" : "";
|
string cbracket = format == 1 ? " }" : "";
|
||||||
|
|
||||||
// Number output counter
|
// Number output counter
|
||||||
int numcount = 0;
|
int numcount = 0;
|
||||||
|
|
||||||
if (com) output += " // Data:\n";
|
if (com) output += " // Data:\n";
|
||||||
MainForm.FrameMiniature flast = mainForm.frames.Last();
|
MainForm.FrameMiniature flast = mainForm.frames.Last();
|
||||||
foreach ( MainForm.FrameMiniature f in mainForm.frames) {
|
foreach (MainForm.FrameMiniature f in mainForm.frames) {
|
||||||
// For each frame
|
// For each frame
|
||||||
uint b = 0; // current number bits
|
uint b = 0; // current number bits
|
||||||
int t, x, y; // t - calculated bit number; x - actual x; y - actual y
|
int t, x, y; // t - calculated bit number; x - actual x; y - actual y
|
||||||
@@ -228,7 +233,7 @@ namespace McBitFont {
|
|||||||
if (com && lines != 1 && fcount > 1) {
|
if (com && lines != 1 && fcount > 1) {
|
||||||
// Comments enabled and other than "1 symbol per line" selected
|
// Comments enabled and other than "1 symbol per line" selected
|
||||||
// Print a symbol comment before its data
|
// Print a symbol comment before its data
|
||||||
output += " // " + f.code.ToString() + " --> " + mainForm.decodeSymbol(f.code) + "\n";
|
output += " // " + f.code.ToString() + " --> " + mainForm.DecodeSymbol(f.code) + "\n";
|
||||||
}
|
}
|
||||||
if (lines == 1) {
|
if (lines == 1) {
|
||||||
// "1 symbol per line" - new line offset
|
// "1 symbol per line" - new line offset
|
||||||
@@ -241,6 +246,7 @@ namespace McBitFont {
|
|||||||
// Should we post a prefix to the number?
|
// Should we post a prefix to the number?
|
||||||
pref = (!cbZeroes.Checked && ((f.width < 10 && nbase == 16) || (f.width < 2 && nbase == 2))) ? "" : prefix;
|
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");
|
output += (lines != 1 ? " " : "") + pref + Convert.ToString(f.width, nbase).PadLeft(pad, '0') + (lines != 0 ? (lines == 1 ? ", " : "") : ",\n");
|
||||||
|
bTotal += bits / 8; // Count bytes total
|
||||||
// Count posted numbers
|
// Count posted numbers
|
||||||
numcount++;
|
numcount++;
|
||||||
if (lines != 2) numcount = 0;
|
if (lines != 2) numcount = 0;
|
||||||
@@ -289,6 +295,7 @@ namespace McBitFont {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t = jdir < 0 ? bits+1 : -1;
|
||||||
for (int i = imin; i != imax; i += idir) {
|
for (int i = imin; i != imax; i += idir) {
|
||||||
if (lines == 0) {
|
if (lines == 0) {
|
||||||
// "Column/Row per line" - new line offset
|
// "Column/Row per line" - new line offset
|
||||||
@@ -296,8 +303,13 @@ namespace McBitFont {
|
|||||||
numcount = 0;
|
numcount = 0;
|
||||||
}
|
}
|
||||||
for (int j = jmin; j != jmax; j += jdir) {
|
for (int j = jmin; j != jmax; j += jdir) {
|
||||||
if (jdir < 0) t = jmin - j;
|
if (packed) {
|
||||||
else t = j;
|
t += jdir;
|
||||||
|
if (t < 0 || t % bits == 0) t = jdir < 0 ? bits : 0;
|
||||||
|
} else {
|
||||||
|
if (jdir < 0) t = jmin - j;
|
||||||
|
else t = j;
|
||||||
|
}
|
||||||
if (t % bits == 0) b = 0;
|
if (t % bits == 0) b = 0;
|
||||||
|
|
||||||
if (cbOrder.SelectedIndex == 0) { // Columns
|
if (cbOrder.SelectedIndex == 0) { // Columns
|
||||||
@@ -314,9 +326,9 @@ namespace McBitFont {
|
|||||||
// MSB on top/Left
|
// MSB on top/Left
|
||||||
b |= (uint)(1 << (bits - (t % bits) - 1));
|
b |= (uint)(1 << (bits - (t % bits) - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if (((t + 1) % bits == 0) || j + jdir == jmax) {
|
if (((t + 1) % bits == 0) || (j + jdir == jmax && !packed)) {
|
||||||
// we have filled a number with bits - let's post it
|
// we have filled a number with bits - let's post it
|
||||||
|
|
||||||
// should we post a comma before the number?
|
// should we post a comma before the number?
|
||||||
@@ -325,6 +337,7 @@ namespace McBitFont {
|
|||||||
// should we post a prefix to the number?
|
// should we post a prefix to the number?
|
||||||
pref = (!cbZeroes.Checked && ((b < 10 && nbase == 16) || (b < 2 && nbase == 2))) ? "" : prefix;
|
pref = (!cbZeroes.Checked && ((b < 10 && nbase == 16) || (b < 2 && nbase == 2))) ? "" : prefix;
|
||||||
output += pref + Convert.ToString(b, nbase).PadLeft(pad, '0');
|
output += pref + Convert.ToString(b, nbase).PadLeft(pad, '0');
|
||||||
|
bTotal += bits / 8; // Count bytes total
|
||||||
|
|
||||||
// count posted numbers
|
// count posted numbers
|
||||||
numcount++;
|
numcount++;
|
||||||
@@ -337,15 +350,26 @@ namespace McBitFont {
|
|||||||
}
|
}
|
||||||
if (lines == 0) {
|
if (lines == 0) {
|
||||||
// "Column/Row per line" - closing line
|
// "Column/Row per line" - closing line
|
||||||
output += cbracket + ((i+idir==imax) && f.Equals(flast) ? "" : ",") + "\n";
|
output += cbracket + ((i + idir == imax) && f.Equals(flast) ? "" : ",") + "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (packed && (f.width * f.height) % bits > 0) {
|
||||||
|
// post leftovers in last number
|
||||||
|
|
||||||
|
// should we post a prefix to the number?
|
||||||
|
pref = (!cbZeroes.Checked && ((b < 10 && nbase == 16) || (b < 2 && nbase == 2))) ? "" : prefix;
|
||||||
|
output += (numcount > 0? ", " : "") + pref + Convert.ToString(b, nbase).PadLeft(pad, '0');
|
||||||
|
bTotal += bits / 8; // Count bytes total
|
||||||
|
|
||||||
|
// count posted numbers
|
||||||
|
numcount++;
|
||||||
|
}
|
||||||
if (lines == 1) {
|
if (lines == 1) {
|
||||||
// "1 symbol per line" - closing line
|
// "1 symbol per line" - closing line
|
||||||
if (!f.Equals(flast) && f.width > 0) output += ",";
|
if (!f.Equals(flast) && f.width > 0) output += ",";
|
||||||
if (com && fcount > 1) {
|
if (com && fcount > 1) {
|
||||||
//...with a comment
|
//...with a comment
|
||||||
output += " // " + f.code.ToString() + " --> " + mainForm.decodeSymbol(f.code);
|
output += " // " + f.code.ToString() + " --> " + mainForm.DecodeSymbol(f.code);
|
||||||
}
|
}
|
||||||
output += "\n";
|
output += "\n";
|
||||||
}
|
}
|
||||||
@@ -359,6 +383,12 @@ namespace McBitFont {
|
|||||||
// Close array definition
|
// Close array definition
|
||||||
output += "};\n";
|
output += "};\n";
|
||||||
|
|
||||||
|
// Add header and bytes total counter
|
||||||
|
if (com) {
|
||||||
|
output = "// Bytes total: " + bTotal.ToString() + "\n" + output;
|
||||||
|
output = comments["header"] + output;
|
||||||
|
}
|
||||||
|
|
||||||
txtOutput.Text = output;
|
txtOutput.Text = output;
|
||||||
txtOutput.SelectionStart = 0;
|
txtOutput.SelectionStart = 0;
|
||||||
txtOutput.ScrollToCaret();
|
txtOutput.ScrollToCaret();
|
||||||
@@ -382,6 +412,10 @@ namespace McBitFont {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void cbLines_SelectedIndexChanged(object sender, EventArgs e) {
|
private void cbLines_SelectedIndexChanged(object sender, EventArgs e) {
|
||||||
|
if (cbLines.SelectedIndex == 0 && cbPacked.Checked) {
|
||||||
|
MessageBox.Show("Cannot make one line per column/row in packed font as there are bytes used in several columns/rows!\n(Setting text format to 1 Symbol per line)", "No 1 Symbol per line for packed fonts!", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
cbLines.SelectedIndex = 1;
|
||||||
|
}
|
||||||
if (cbLines.SelectedIndex == 2) {
|
if (cbLines.SelectedIndex == 2) {
|
||||||
nudXLines.Enabled = true;
|
nudXLines.Enabled = true;
|
||||||
lblXLines.Enabled = true;
|
lblXLines.Enabled = true;
|
||||||
@@ -390,5 +424,9 @@ namespace McBitFont {
|
|||||||
lblXLines.Enabled = false;
|
lblXLines.Enabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void cbPacked_CheckedChanged(object sender, EventArgs e) {
|
||||||
|
if (cbPacked.Checked && cbLines.SelectedIndex == 0) cbLines.SelectedIndex = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,17 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
@@ -26,36 +26,36 @@
|
|||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
@@ -120,7 +120,4 @@
|
|||||||
<metadata name="toolTip1.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>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</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>
|
</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>
|
471
McBitFont/Form1.Designer.cs
generated
@@ -34,6 +34,7 @@
|
|||||||
cbZoom = new System.Windows.Forms.ComboBox();
|
cbZoom = new System.Windows.Forms.ComboBox();
|
||||||
label4 = new System.Windows.Forms.Label();
|
label4 = new System.Windows.Forms.Label();
|
||||||
panel1 = new System.Windows.Forms.Panel();
|
panel1 = new System.Windows.Forms.Panel();
|
||||||
|
btnFill = new System.Windows.Forms.Button();
|
||||||
btnClear = new System.Windows.Forms.Button();
|
btnClear = new System.Windows.Forms.Button();
|
||||||
btnMirrorY = new System.Windows.Forms.Button();
|
btnMirrorY = new System.Windows.Forms.Button();
|
||||||
btnMirrorX = new System.Windows.Forms.Button();
|
btnMirrorX = new System.Windows.Forms.Button();
|
||||||
@@ -44,29 +45,46 @@
|
|||||||
btnShiftLeft = new System.Windows.Forms.Button();
|
btnShiftLeft = new System.Windows.Forms.Button();
|
||||||
btnExport = new System.Windows.Forms.Button();
|
btnExport = new System.Windows.Forms.Button();
|
||||||
miniList = new System.Windows.Forms.ListView();
|
miniList = new System.Windows.Forms.ListView();
|
||||||
|
cmMinilist = new System.Windows.Forms.ContextMenuStrip(components);
|
||||||
|
tsmiMakeVarWidth = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
tsmiPrepensSymbol = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
tsmiAppendSymbol = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
tsmiRemoveSymbol = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
tsmiRemoveBefore = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
tsmiRemoveAfter = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
tsmiCodeShift = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
ilMiniatures = new System.Windows.Forms.ImageList(components);
|
ilMiniatures = new System.Windows.Forms.ImageList(components);
|
||||||
btnApply = new System.Windows.Forms.Button();
|
btnApply = new System.Windows.Forms.Button();
|
||||||
hScroll = new System.Windows.Forms.HScrollBar();
|
hScroll = new System.Windows.Forms.HScrollBar();
|
||||||
vScroll = new System.Windows.Forms.VScrollBar();
|
vScroll = new System.Windows.Forms.VScrollBar();
|
||||||
label5 = new System.Windows.Forms.Label();
|
lblCoords = new System.Windows.Forms.Label();
|
||||||
menuStrip1 = new System.Windows.Forms.MenuStrip();
|
menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||||
fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
importTextToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
importImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
selectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
fontToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
makeVarWidthToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
prependSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
prependSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
appendSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
appendSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
removeSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
removeSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
removeBeforeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
removeBeforeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
removeAfterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
removeAfterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
applyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
CodeShiftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
canvasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
ClearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
ClearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
FillToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
shiftUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
shiftUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
shiftDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
shiftDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
shiftLeftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
shiftLeftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
@@ -74,7 +92,7 @@
|
|||||||
invertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
invertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
mirrorXToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
mirrorXToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
mirrorYToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
mirrorYToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
applyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
dlgSave = new System.Windows.Forms.SaveFileDialog();
|
dlgSave = new System.Windows.Forms.SaveFileDialog();
|
||||||
dlgOpen = new System.Windows.Forms.OpenFileDialog();
|
dlgOpen = new System.Windows.Forms.OpenFileDialog();
|
||||||
@@ -82,9 +100,13 @@
|
|||||||
toolTip1 = new System.Windows.Forms.ToolTip(components);
|
toolTip1 = new System.Windows.Forms.ToolTip(components);
|
||||||
chkLeftSide = new System.Windows.Forms.CheckBox();
|
chkLeftSide = new System.Windows.Forms.CheckBox();
|
||||||
chkTopSide = new System.Windows.Forms.CheckBox();
|
chkTopSide = new System.Windows.Forms.CheckBox();
|
||||||
|
chkHexCodes = new System.Windows.Forms.CheckBox();
|
||||||
|
chkRectSelect = new System.Windows.Forms.CheckBox();
|
||||||
|
label3 = new System.Windows.Forms.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)nudX).BeginInit();
|
((System.ComponentModel.ISupportInitialize)nudX).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)nudY).BeginInit();
|
((System.ComponentModel.ISupportInitialize)nudY).BeginInit();
|
||||||
panel1.SuspendLayout();
|
panel1.SuspendLayout();
|
||||||
|
cmMinilist.SuspendLayout();
|
||||||
menuStrip1.SuspendLayout();
|
menuStrip1.SuspendLayout();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
@@ -92,11 +114,11 @@
|
|||||||
//
|
//
|
||||||
dotPanel.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
dotPanel.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
dotPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
dotPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||||
dotPanel.BackColor = System.Drawing.SystemColors.ControlDark;
|
dotPanel.BackColor = System.Drawing.Color.Gray;
|
||||||
dotPanel.Location = new System.Drawing.Point(14, 31);
|
dotPanel.Location = new System.Drawing.Point(14, 31);
|
||||||
dotPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
dotPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
dotPanel.Name = "dotPanel";
|
dotPanel.Name = "dotPanel";
|
||||||
dotPanel.Size = new System.Drawing.Size(454, 575);
|
dotPanel.Size = new System.Drawing.Size(427, 575);
|
||||||
dotPanel.TabIndex = 0;
|
dotPanel.TabIndex = 0;
|
||||||
dotPanel.Paint += dotPanel_Paint;
|
dotPanel.Paint += dotPanel_Paint;
|
||||||
dotPanel.MouseDown += dotPanel_MouseMove;
|
dotPanel.MouseDown += dotPanel_MouseMove;
|
||||||
@@ -155,10 +177,10 @@
|
|||||||
// lblType
|
// lblType
|
||||||
//
|
//
|
||||||
lblType.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
lblType.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
lblType.Location = new System.Drawing.Point(646, 159);
|
lblType.Location = new System.Drawing.Point(718, 159);
|
||||||
lblType.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
lblType.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
lblType.Name = "lblType";
|
lblType.Name = "lblType";
|
||||||
lblType.Size = new System.Drawing.Size(253, 15);
|
lblType.Size = new System.Drawing.Size(181, 15);
|
||||||
lblType.TabIndex = 0;
|
lblType.TabIndex = 0;
|
||||||
lblType.Text = "Monospaced";
|
lblType.Text = "Monospaced";
|
||||||
lblType.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
lblType.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||||
@@ -169,10 +191,10 @@
|
|||||||
cbZoom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
cbZoom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
cbZoom.FormattingEnabled = true;
|
cbZoom.FormattingEnabled = true;
|
||||||
cbZoom.Items.AddRange(new object[] { "2", "3", "5", "10", "15", "20", "25", "30", "35", "40", "45", "50" });
|
cbZoom.Items.AddRange(new object[] { "2", "3", "5", "10", "15", "20", "25", "30", "35", "40", "45", "50" });
|
||||||
cbZoom.Location = new System.Drawing.Point(646, 52);
|
cbZoom.Location = new System.Drawing.Point(619, 52);
|
||||||
cbZoom.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
cbZoom.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
cbZoom.Name = "cbZoom";
|
cbZoom.Name = "cbZoom";
|
||||||
cbZoom.Size = new System.Drawing.Size(68, 23);
|
cbZoom.Size = new System.Drawing.Size(75, 23);
|
||||||
cbZoom.TabIndex = 6;
|
cbZoom.TabIndex = 6;
|
||||||
cbZoom.TabStop = false;
|
cbZoom.TabStop = false;
|
||||||
toolTip1.SetToolTip(cbZoom, "Canvas zoom level");
|
toolTip1.SetToolTip(cbZoom, "Canvas zoom level");
|
||||||
@@ -181,7 +203,7 @@
|
|||||||
//
|
//
|
||||||
label4.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
label4.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
label4.AutoSize = true;
|
label4.AutoSize = true;
|
||||||
label4.Location = new System.Drawing.Point(645, 33);
|
label4.Location = new System.Drawing.Point(618, 33);
|
||||||
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
label4.Name = "label4";
|
label4.Name = "label4";
|
||||||
label4.Size = new System.Drawing.Size(69, 15);
|
label4.Size = new System.Drawing.Size(69, 15);
|
||||||
@@ -192,6 +214,7 @@
|
|||||||
//
|
//
|
||||||
panel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
panel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
panel1.Controls.Add(btnFill);
|
||||||
panel1.Controls.Add(btnClear);
|
panel1.Controls.Add(btnClear);
|
||||||
panel1.Controls.Add(btnMirrorY);
|
panel1.Controls.Add(btnMirrorY);
|
||||||
panel1.Controls.Add(btnMirrorX);
|
panel1.Controls.Add(btnMirrorX);
|
||||||
@@ -200,12 +223,25 @@
|
|||||||
panel1.Controls.Add(btnShiftUp);
|
panel1.Controls.Add(btnShiftUp);
|
||||||
panel1.Controls.Add(btnShiftRight);
|
panel1.Controls.Add(btnShiftRight);
|
||||||
panel1.Controls.Add(btnShiftLeft);
|
panel1.Controls.Add(btnShiftLeft);
|
||||||
panel1.Location = new System.Drawing.Point(499, 31);
|
panel1.Location = new System.Drawing.Point(472, 31);
|
||||||
panel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
panel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
panel1.Name = "panel1";
|
panel1.Name = "panel1";
|
||||||
panel1.Size = new System.Drawing.Size(140, 139);
|
panel1.Size = new System.Drawing.Size(140, 139);
|
||||||
panel1.TabIndex = 9;
|
panel1.TabIndex = 9;
|
||||||
//
|
//
|
||||||
|
// btnFill
|
||||||
|
//
|
||||||
|
btnFill.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
||||||
|
btnFill.Location = new System.Drawing.Point(92, 9);
|
||||||
|
btnFill.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
|
btnFill.Name = "btnFill";
|
||||||
|
btnFill.Size = new System.Drawing.Size(35, 35);
|
||||||
|
btnFill.TabIndex = 8;
|
||||||
|
btnFill.Text = "⬤";
|
||||||
|
toolTip1.SetToolTip(btnFill, "Paint canvas black");
|
||||||
|
btnFill.UseVisualStyleBackColor = true;
|
||||||
|
btnFill.Click += btnFill_Click;
|
||||||
|
//
|
||||||
// btnClear
|
// btnClear
|
||||||
//
|
//
|
||||||
btnClear.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
btnClear.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
||||||
@@ -215,7 +251,7 @@
|
|||||||
btnClear.Size = new System.Drawing.Size(35, 35);
|
btnClear.Size = new System.Drawing.Size(35, 35);
|
||||||
btnClear.TabIndex = 7;
|
btnClear.TabIndex = 7;
|
||||||
btnClear.Text = "○";
|
btnClear.Text = "○";
|
||||||
toolTip1.SetToolTip(btnClear, "Clear canvas");
|
toolTip1.SetToolTip(btnClear, "Paint canvas white");
|
||||||
btnClear.UseVisualStyleBackColor = true;
|
btnClear.UseVisualStyleBackColor = true;
|
||||||
btnClear.Click += btnClear_Click;
|
btnClear.Click += btnClear_Click;
|
||||||
//
|
//
|
||||||
@@ -313,12 +349,15 @@
|
|||||||
// btnExport
|
// btnExport
|
||||||
//
|
//
|
||||||
btnExport.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
btnExport.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
btnExport.Image = Properties.Resources.z_export;
|
||||||
btnExport.Location = new System.Drawing.Point(812, 126);
|
btnExport.Location = new System.Drawing.Point(812, 126);
|
||||||
btnExport.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
btnExport.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
btnExport.Name = "btnExport";
|
btnExport.Name = "btnExport";
|
||||||
btnExport.Size = new System.Drawing.Size(88, 27);
|
btnExport.Size = new System.Drawing.Size(88, 27);
|
||||||
btnExport.TabIndex = 10;
|
btnExport.TabIndex = 10;
|
||||||
btnExport.Text = "Export";
|
btnExport.Text = " Export";
|
||||||
|
btnExport.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
btnExport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
toolTip1.SetToolTip(btnExport, "Configure and export data");
|
toolTip1.SetToolTip(btnExport, "Configure and export data");
|
||||||
btnExport.UseVisualStyleBackColor = true;
|
btnExport.UseVisualStyleBackColor = true;
|
||||||
btnExport.Click += button1_Click;
|
btnExport.Click += button1_Click;
|
||||||
@@ -326,23 +365,98 @@
|
|||||||
// miniList
|
// miniList
|
||||||
//
|
//
|
||||||
miniList.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
miniList.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
miniList.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
miniList.ContextMenuStrip = cmMinilist;
|
||||||
miniList.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
miniList.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
||||||
miniList.GridLines = true;
|
|
||||||
miniList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
miniList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||||||
miniList.LargeImageList = ilMiniatures;
|
miniList.LargeImageList = ilMiniatures;
|
||||||
miniList.Location = new System.Drawing.Point(499, 178);
|
miniList.Location = new System.Drawing.Point(472, 178);
|
||||||
miniList.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
miniList.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
miniList.MultiSelect = false;
|
miniList.MultiSelect = false;
|
||||||
miniList.Name = "miniList";
|
miniList.Name = "miniList";
|
||||||
miniList.ShowGroups = false;
|
miniList.ShowGroups = false;
|
||||||
miniList.Size = new System.Drawing.Size(400, 455);
|
miniList.Size = new System.Drawing.Size(427, 455);
|
||||||
miniList.SmallImageList = ilMiniatures;
|
miniList.SmallImageList = ilMiniatures;
|
||||||
miniList.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
miniList.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
||||||
miniList.TabIndex = 12;
|
miniList.TabIndex = 12;
|
||||||
miniList.TabStop = false;
|
miniList.TabStop = false;
|
||||||
miniList.TileSize = new System.Drawing.Size(50, 50);
|
miniList.TileSize = new System.Drawing.Size(50, 50);
|
||||||
miniList.UseCompatibleStateImageBehavior = false;
|
miniList.UseCompatibleStateImageBehavior = false;
|
||||||
miniList.SelectedIndexChanged += miniList_SelectedIndexChanged;
|
miniList.SelectedIndexChanged += MiniList_SelectedIndexChanged;
|
||||||
|
//
|
||||||
|
// cmMinilist
|
||||||
|
//
|
||||||
|
cmMinilist.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { tsmiMakeVarWidth, tsmiPrepensSymbol, tsmiAppendSymbol, tsmiRemoveSymbol, tsmiRemoveBefore, tsmiRemoveAfter, tsmiCodeShift });
|
||||||
|
cmMinilist.Name = "cmMinilist";
|
||||||
|
cmMinilist.Size = new System.Drawing.Size(216, 158);
|
||||||
|
//
|
||||||
|
// tsmiMakeVarWidth
|
||||||
|
//
|
||||||
|
tsmiMakeVarWidth.Image = Properties.Resources.z_asterisk;
|
||||||
|
tsmiMakeVarWidth.Name = "tsmiMakeVarWidth";
|
||||||
|
tsmiMakeVarWidth.Size = new System.Drawing.Size(215, 22);
|
||||||
|
tsmiMakeVarWidth.Text = "Make Variable Width";
|
||||||
|
tsmiMakeVarWidth.ToolTipText = "Make Font Variable width one";
|
||||||
|
tsmiMakeVarWidth.Click += makeVarWidthToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// tsmiPrepensSymbol
|
||||||
|
//
|
||||||
|
tsmiPrepensSymbol.Enabled = false;
|
||||||
|
tsmiPrepensSymbol.Image = Properties.Resources.add;
|
||||||
|
tsmiPrepensSymbol.Name = "tsmiPrepensSymbol";
|
||||||
|
tsmiPrepensSymbol.Size = new System.Drawing.Size(215, 22);
|
||||||
|
tsmiPrepensSymbol.Text = "Prepend symbol";
|
||||||
|
tsmiPrepensSymbol.ToolTipText = "Add a symbol to the beginning of the sequence";
|
||||||
|
tsmiPrepensSymbol.Click += prependSymbolToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// tsmiAppendSymbol
|
||||||
|
//
|
||||||
|
tsmiAppendSymbol.Enabled = false;
|
||||||
|
tsmiAppendSymbol.Image = Properties.Resources.add;
|
||||||
|
tsmiAppendSymbol.Name = "tsmiAppendSymbol";
|
||||||
|
tsmiAppendSymbol.Size = new System.Drawing.Size(215, 22);
|
||||||
|
tsmiAppendSymbol.Text = "Append symbol";
|
||||||
|
tsmiAppendSymbol.ToolTipText = "Add a symbol to the end of the sequence";
|
||||||
|
tsmiAppendSymbol.Click += prependSymbolToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// tsmiRemoveSymbol
|
||||||
|
//
|
||||||
|
tsmiRemoveSymbol.Enabled = false;
|
||||||
|
tsmiRemoveSymbol.Image = Properties.Resources.delete;
|
||||||
|
tsmiRemoveSymbol.Name = "tsmiRemoveSymbol";
|
||||||
|
tsmiRemoveSymbol.Size = new System.Drawing.Size(215, 22);
|
||||||
|
tsmiRemoveSymbol.Text = "Remove symbol";
|
||||||
|
tsmiRemoveSymbol.ToolTipText = "Remove selected symbol";
|
||||||
|
tsmiRemoveSymbol.Click += removeSymbolToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// tsmiRemoveBefore
|
||||||
|
//
|
||||||
|
tsmiRemoveBefore.Enabled = false;
|
||||||
|
tsmiRemoveBefore.Image = Properties.Resources.delete;
|
||||||
|
tsmiRemoveBefore.Name = "tsmiRemoveBefore";
|
||||||
|
tsmiRemoveBefore.Size = new System.Drawing.Size(215, 22);
|
||||||
|
tsmiRemoveBefore.Text = "Remove all before selected";
|
||||||
|
tsmiRemoveBefore.ToolTipText = "Remove all symbols before current one";
|
||||||
|
tsmiRemoveBefore.Click += removeBeforeToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// tsmiRemoveAfter
|
||||||
|
//
|
||||||
|
tsmiRemoveAfter.Enabled = false;
|
||||||
|
tsmiRemoveAfter.Image = Properties.Resources.delete;
|
||||||
|
tsmiRemoveAfter.Name = "tsmiRemoveAfter";
|
||||||
|
tsmiRemoveAfter.Size = new System.Drawing.Size(215, 22);
|
||||||
|
tsmiRemoveAfter.Text = "Remove all after selected";
|
||||||
|
tsmiRemoveAfter.ToolTipText = "Remove all symbols after current one";
|
||||||
|
tsmiRemoveAfter.Click += removeAfterToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// tsmiCodeShift
|
||||||
|
//
|
||||||
|
tsmiCodeShift.Image = Properties.Resources.z_align_center;
|
||||||
|
tsmiCodeShift.Name = "tsmiCodeShift";
|
||||||
|
tsmiCodeShift.Size = new System.Drawing.Size(215, 22);
|
||||||
|
tsmiCodeShift.Text = "Code Shift";
|
||||||
|
tsmiCodeShift.ToolTipText = "Shift the font on the code line";
|
||||||
|
tsmiCodeShift.Click += CodeShiftToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// ilMiniatures
|
// ilMiniatures
|
||||||
//
|
//
|
||||||
@@ -353,12 +467,15 @@
|
|||||||
// btnApply
|
// btnApply
|
||||||
//
|
//
|
||||||
btnApply.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
btnApply.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
btnApply.Image = Properties.Resources.z_tick;
|
||||||
btnApply.Location = new System.Drawing.Point(718, 126);
|
btnApply.Location = new System.Drawing.Point(718, 126);
|
||||||
btnApply.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
btnApply.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
btnApply.Name = "btnApply";
|
btnApply.Name = "btnApply";
|
||||||
btnApply.Size = new System.Drawing.Size(88, 27);
|
btnApply.Size = new System.Drawing.Size(88, 27);
|
||||||
btnApply.TabIndex = 13;
|
btnApply.TabIndex = 13;
|
||||||
btnApply.Text = "Apply";
|
btnApply.Text = " Apply";
|
||||||
|
btnApply.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
btnApply.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
toolTip1.SetToolTip(btnApply, "Apply changes made to the symbol");
|
toolTip1.SetToolTip(btnApply, "Apply changes made to the symbol");
|
||||||
btnApply.UseVisualStyleBackColor = true;
|
btnApply.UseVisualStyleBackColor = true;
|
||||||
btnApply.Click += button2_Click;
|
btnApply.Click += button2_Click;
|
||||||
@@ -368,7 +485,7 @@
|
|||||||
hScroll.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
hScroll.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||||
hScroll.Location = new System.Drawing.Point(14, 609);
|
hScroll.Location = new System.Drawing.Point(14, 609);
|
||||||
hScroll.Name = "hScroll";
|
hScroll.Name = "hScroll";
|
||||||
hScroll.Size = new System.Drawing.Size(454, 21);
|
hScroll.Size = new System.Drawing.Size(427, 21);
|
||||||
hScroll.TabIndex = 14;
|
hScroll.TabIndex = 14;
|
||||||
hScroll.ValueChanged += scroll_ValueChanged;
|
hScroll.ValueChanged += scroll_ValueChanged;
|
||||||
//
|
//
|
||||||
@@ -376,27 +493,27 @@
|
|||||||
//
|
//
|
||||||
vScroll.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
vScroll.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||||
vScroll.LargeChange = 25;
|
vScroll.LargeChange = 25;
|
||||||
vScroll.Location = new System.Drawing.Point(471, 31);
|
vScroll.Location = new System.Drawing.Point(444, 31);
|
||||||
vScroll.Name = "vScroll";
|
vScroll.Name = "vScroll";
|
||||||
vScroll.Size = new System.Drawing.Size(21, 575);
|
vScroll.Size = new System.Drawing.Size(21, 575);
|
||||||
vScroll.TabIndex = 15;
|
vScroll.TabIndex = 15;
|
||||||
vScroll.ValueChanged += scroll_ValueChanged;
|
vScroll.ValueChanged += scroll_ValueChanged;
|
||||||
//
|
//
|
||||||
// label5
|
// lblCoords
|
||||||
//
|
//
|
||||||
label5.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
lblCoords.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
label5.AutoSize = true;
|
lblCoords.AutoSize = true;
|
||||||
label5.Location = new System.Drawing.Point(646, 132);
|
lblCoords.Location = new System.Drawing.Point(616, 138);
|
||||||
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
lblCoords.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
label5.Name = "label5";
|
lblCoords.Name = "lblCoords";
|
||||||
label5.Size = new System.Drawing.Size(24, 15);
|
lblCoords.Size = new System.Drawing.Size(24, 15);
|
||||||
label5.TabIndex = 16;
|
lblCoords.TabIndex = 16;
|
||||||
label5.Text = "X,Y";
|
lblCoords.Text = "X,Y";
|
||||||
label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
lblCoords.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||||
//
|
//
|
||||||
// menuStrip1
|
// menuStrip1
|
||||||
//
|
//
|
||||||
menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileToolStripMenuItem, editToolStripMenuItem, toolsToolStripMenuItem, aboutToolStripMenuItem });
|
menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileToolStripMenuItem, editToolStripMenuItem, fontToolStripMenuItem, canvasToolStripMenuItem, aboutToolStripMenuItem });
|
||||||
menuStrip1.Location = new System.Drawing.Point(0, 0);
|
menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
menuStrip1.Name = "menuStrip1";
|
menuStrip1.Name = "menuStrip1";
|
||||||
menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
|
menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
|
||||||
@@ -406,7 +523,7 @@
|
|||||||
//
|
//
|
||||||
// fileToolStripMenuItem
|
// fileToolStripMenuItem
|
||||||
//
|
//
|
||||||
fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { newToolStripMenuItem, openToolStripMenuItem, saveToolStripMenuItem, saveAsToolStripMenuItem, exitToolStripMenuItem });
|
fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { newToolStripMenuItem, openToolStripMenuItem, saveToolStripMenuItem, saveAsToolStripMenuItem, importTextToolStripMenuItem1, importImageToolStripMenuItem, exportToolStripMenuItem, exitToolStripMenuItem });
|
||||||
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||||
fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||||
fileToolStripMenuItem.Text = "File";
|
fileToolStripMenuItem.Text = "File";
|
||||||
@@ -417,8 +534,9 @@
|
|||||||
newToolStripMenuItem.Name = "newToolStripMenuItem";
|
newToolStripMenuItem.Name = "newToolStripMenuItem";
|
||||||
newToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+N";
|
newToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+N";
|
||||||
newToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N;
|
newToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N;
|
||||||
newToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
newToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
newToolStripMenuItem.Text = "New";
|
newToolStripMenuItem.Text = "New";
|
||||||
|
newToolStripMenuItem.ToolTipText = "Create new project";
|
||||||
newToolStripMenuItem.Click += newToolStripMenuItem_Click;
|
newToolStripMenuItem.Click += newToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// openToolStripMenuItem
|
// openToolStripMenuItem
|
||||||
@@ -427,8 +545,9 @@
|
|||||||
openToolStripMenuItem.Name = "openToolStripMenuItem";
|
openToolStripMenuItem.Name = "openToolStripMenuItem";
|
||||||
openToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+O";
|
openToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+O";
|
||||||
openToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O;
|
openToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O;
|
||||||
openToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
openToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
openToolStripMenuItem.Text = "Open";
|
openToolStripMenuItem.Text = "Open";
|
||||||
|
openToolStripMenuItem.ToolTipText = "Open from file";
|
||||||
openToolStripMenuItem.Click += openToolStripMenuItem_Click;
|
openToolStripMenuItem.Click += openToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// saveToolStripMenuItem
|
// saveToolStripMenuItem
|
||||||
@@ -437,8 +556,9 @@
|
|||||||
saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||||
saveToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+S";
|
saveToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+S";
|
||||||
saveToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S;
|
saveToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S;
|
||||||
saveToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
saveToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
saveToolStripMenuItem.Text = "Save";
|
saveToolStripMenuItem.Text = "Save";
|
||||||
|
saveToolStripMenuItem.ToolTipText = "Save changes";
|
||||||
saveToolStripMenuItem.Click += saveToolStripMenuItem_Click_1;
|
saveToolStripMenuItem.Click += saveToolStripMenuItem_Click_1;
|
||||||
//
|
//
|
||||||
// saveAsToolStripMenuItem
|
// saveAsToolStripMenuItem
|
||||||
@@ -447,9 +567,38 @@
|
|||||||
saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
|
saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
|
||||||
saveAsToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Shift+S";
|
saveAsToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Shift+S";
|
||||||
saveAsToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.S;
|
saveAsToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.S;
|
||||||
saveAsToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
saveAsToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
saveAsToolStripMenuItem.Text = "Save as";
|
saveAsToolStripMenuItem.Text = "Save as";
|
||||||
saveAsToolStripMenuItem.Click += saveToolStripMenuItem_Click;
|
saveAsToolStripMenuItem.ToolTipText = "Save changes to another file";
|
||||||
|
saveAsToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// importTextToolStripMenuItem1
|
||||||
|
//
|
||||||
|
importTextToolStripMenuItem1.Image = Properties.Resources.folder_table;
|
||||||
|
importTextToolStripMenuItem1.Name = "importTextToolStripMenuItem1";
|
||||||
|
importTextToolStripMenuItem1.Size = new System.Drawing.Size(224, 22);
|
||||||
|
importTextToolStripMenuItem1.Text = "Import text file (very limited)";
|
||||||
|
importTextToolStripMenuItem1.Click += importTextToolStripMenuItem1_Click;
|
||||||
|
//
|
||||||
|
// importImageToolStripMenuItem
|
||||||
|
//
|
||||||
|
importImageToolStripMenuItem.Image = Properties.Resources.z_folder_image;
|
||||||
|
importImageToolStripMenuItem.Name = "importImageToolStripMenuItem";
|
||||||
|
importImageToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
|
importImageToolStripMenuItem.Text = "Import image";
|
||||||
|
importImageToolStripMenuItem.ToolTipText = "Import image from a file";
|
||||||
|
importImageToolStripMenuItem.Click += importImageToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// exportToolStripMenuItem
|
||||||
|
//
|
||||||
|
exportToolStripMenuItem.Image = Properties.Resources.z_export;
|
||||||
|
exportToolStripMenuItem.Name = "exportToolStripMenuItem";
|
||||||
|
exportToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
|
exportToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E;
|
||||||
|
exportToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
|
exportToolStripMenuItem.Text = "Export";
|
||||||
|
exportToolStripMenuItem.ToolTipText = "Configure and export data";
|
||||||
|
exportToolStripMenuItem.Click += button1_Click;
|
||||||
//
|
//
|
||||||
// exitToolStripMenuItem
|
// exitToolStripMenuItem
|
||||||
//
|
//
|
||||||
@@ -457,26 +606,49 @@
|
|||||||
exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||||
exitToolStripMenuItem.ShortcutKeyDisplayString = "Alt+X";
|
exitToolStripMenuItem.ShortcutKeyDisplayString = "Alt+X";
|
||||||
exitToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.X;
|
exitToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.X;
|
||||||
exitToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
exitToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
|
||||||
exitToolStripMenuItem.Text = "Exit";
|
exitToolStripMenuItem.Text = "Exit";
|
||||||
|
exitToolStripMenuItem.ToolTipText = "Quit application";
|
||||||
exitToolStripMenuItem.Click += exitToolStripMenuItem_Click;
|
exitToolStripMenuItem.Click += exitToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// editToolStripMenuItem
|
// editToolStripMenuItem
|
||||||
//
|
//
|
||||||
editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { copyToolStripMenuItem, pasteToolStripMenuItem, prependSymbolToolStripMenuItem, appendSymbolToolStripMenuItem, removeSymbolToolStripMenuItem, removeBeforeToolStripMenuItem, removeAfterToolStripMenuItem, applyToolStripMenuItem });
|
editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { undoToolStripMenuItem, redoToolStripMenuItem, copyToolStripMenuItem, pasteToolStripMenuItem, selectToolStripMenuItem });
|
||||||
editToolStripMenuItem.Name = "editToolStripMenuItem";
|
editToolStripMenuItem.Name = "editToolStripMenuItem";
|
||||||
editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
|
editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
|
||||||
editToolStripMenuItem.Text = "Edit";
|
editToolStripMenuItem.Text = "Edit";
|
||||||
|
editToolStripMenuItem.DropDownOpening += editToolStripMenuItem_DropDownOpening;
|
||||||
|
//
|
||||||
|
// undoToolStripMenuItem
|
||||||
|
//
|
||||||
|
undoToolStripMenuItem.Image = Properties.Resources.arrow_undo;
|
||||||
|
undoToolStripMenuItem.Name = "undoToolStripMenuItem";
|
||||||
|
undoToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z;
|
||||||
|
undoToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
|
||||||
|
undoToolStripMenuItem.Text = "Undo";
|
||||||
|
undoToolStripMenuItem.ToolTipText = "Undo last canvas change";
|
||||||
|
undoToolStripMenuItem.Click += undoToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// redoToolStripMenuItem
|
||||||
|
//
|
||||||
|
redoToolStripMenuItem.Image = Properties.Resources.arrow_redo;
|
||||||
|
redoToolStripMenuItem.Name = "redoToolStripMenuItem";
|
||||||
|
redoToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y;
|
||||||
|
redoToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
|
||||||
|
redoToolStripMenuItem.Text = "Redo";
|
||||||
|
redoToolStripMenuItem.ToolTipText = "Redo canvas change";
|
||||||
|
redoToolStripMenuItem.Click += redoToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// copyToolStripMenuItem
|
// copyToolStripMenuItem
|
||||||
//
|
//
|
||||||
copyToolStripMenuItem.Enabled = false;
|
copyToolStripMenuItem.Enabled = false;
|
||||||
copyToolStripMenuItem.Image = Properties.Resources.Famfamfam_Silk_Page_copy_16;
|
copyToolStripMenuItem.Image = Properties.Resources.Famfamfam_Silk_Page_copy_16;
|
||||||
copyToolStripMenuItem.Name = "copyToolStripMenuItem";
|
copyToolStripMenuItem.Name = "copyToolStripMenuItem";
|
||||||
copyToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+C";
|
copyToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
copyToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C;
|
copyToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C;
|
||||||
copyToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
copyToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
|
||||||
copyToolStripMenuItem.Text = "Copy";
|
copyToolStripMenuItem.Text = "Copy";
|
||||||
|
copyToolStripMenuItem.ToolTipText = "Copy current symbol to clipboard";
|
||||||
copyToolStripMenuItem.Click += copyToolStripMenuItem_Click;
|
copyToolStripMenuItem.Click += copyToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// pasteToolStripMenuItem
|
// pasteToolStripMenuItem
|
||||||
@@ -484,167 +656,216 @@
|
|||||||
pasteToolStripMenuItem.Enabled = false;
|
pasteToolStripMenuItem.Enabled = false;
|
||||||
pasteToolStripMenuItem.Image = Properties.Resources.Famfamfam_Silk_Page_paste_16;
|
pasteToolStripMenuItem.Image = Properties.Resources.Famfamfam_Silk_Page_paste_16;
|
||||||
pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
|
pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
|
||||||
pasteToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+V";
|
pasteToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
pasteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V;
|
pasteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V;
|
||||||
pasteToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
pasteToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
|
||||||
pasteToolStripMenuItem.Text = "Paste";
|
pasteToolStripMenuItem.Text = "Paste";
|
||||||
|
pasteToolStripMenuItem.ToolTipText = "Paste from clipboard to current symbol";
|
||||||
pasteToolStripMenuItem.Click += pasteToolStripMenuItem_Click;
|
pasteToolStripMenuItem.Click += pasteToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
|
// selectToolStripMenuItem
|
||||||
|
//
|
||||||
|
selectToolStripMenuItem.Image = Properties.Resources.fam_rectt;
|
||||||
|
selectToolStripMenuItem.Name = "selectToolStripMenuItem";
|
||||||
|
selectToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
|
||||||
|
selectToolStripMenuItem.Text = "Select";
|
||||||
|
selectToolStripMenuItem.Click += selectToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// fontToolStripMenuItem
|
||||||
|
//
|
||||||
|
fontToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { makeVarWidthToolStripMenuItem, prependSymbolToolStripMenuItem, appendSymbolToolStripMenuItem, removeSymbolToolStripMenuItem, removeBeforeToolStripMenuItem, removeAfterToolStripMenuItem, CodeShiftToolStripMenuItem });
|
||||||
|
fontToolStripMenuItem.Name = "fontToolStripMenuItem";
|
||||||
|
fontToolStripMenuItem.Size = new System.Drawing.Size(43, 20);
|
||||||
|
fontToolStripMenuItem.Text = "Font";
|
||||||
|
//
|
||||||
|
// makeVarWidthToolStripMenuItem
|
||||||
|
//
|
||||||
|
makeVarWidthToolStripMenuItem.Image = Properties.Resources.z_asterisk;
|
||||||
|
makeVarWidthToolStripMenuItem.Name = "makeVarWidthToolStripMenuItem";
|
||||||
|
makeVarWidthToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
||||||
|
makeVarWidthToolStripMenuItem.Text = "Make Variable Width";
|
||||||
|
makeVarWidthToolStripMenuItem.ToolTipText = "Make Font Variable width one";
|
||||||
|
makeVarWidthToolStripMenuItem.Visible = false;
|
||||||
|
makeVarWidthToolStripMenuItem.Click += makeVarWidthToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
// prependSymbolToolStripMenuItem
|
// prependSymbolToolStripMenuItem
|
||||||
//
|
//
|
||||||
prependSymbolToolStripMenuItem.Enabled = false;
|
prependSymbolToolStripMenuItem.Enabled = false;
|
||||||
prependSymbolToolStripMenuItem.Image = Properties.Resources.action_add;
|
prependSymbolToolStripMenuItem.Image = Properties.Resources.add;
|
||||||
prependSymbolToolStripMenuItem.Name = "prependSymbolToolStripMenuItem";
|
prependSymbolToolStripMenuItem.Name = "prependSymbolToolStripMenuItem";
|
||||||
prependSymbolToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Ins";
|
prependSymbolToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Ins";
|
||||||
prependSymbolToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Insert;
|
prependSymbolToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Insert;
|
||||||
prependSymbolToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
prependSymbolToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
||||||
prependSymbolToolStripMenuItem.Text = "Prepend symbol";
|
prependSymbolToolStripMenuItem.Text = "Prepend symbol";
|
||||||
|
prependSymbolToolStripMenuItem.ToolTipText = "Add a symbol to the beginning of the sequence";
|
||||||
prependSymbolToolStripMenuItem.Click += prependSymbolToolStripMenuItem_Click;
|
prependSymbolToolStripMenuItem.Click += prependSymbolToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// appendSymbolToolStripMenuItem
|
// appendSymbolToolStripMenuItem
|
||||||
//
|
//
|
||||||
appendSymbolToolStripMenuItem.Enabled = false;
|
appendSymbolToolStripMenuItem.Enabled = false;
|
||||||
appendSymbolToolStripMenuItem.Image = Properties.Resources.action_add;
|
appendSymbolToolStripMenuItem.Image = Properties.Resources.add;
|
||||||
appendSymbolToolStripMenuItem.Name = "appendSymbolToolStripMenuItem";
|
appendSymbolToolStripMenuItem.Name = "appendSymbolToolStripMenuItem";
|
||||||
appendSymbolToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+End";
|
appendSymbolToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
appendSymbolToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.End;
|
appendSymbolToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.End;
|
||||||
appendSymbolToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
appendSymbolToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
||||||
appendSymbolToolStripMenuItem.Text = "Append symbol";
|
appendSymbolToolStripMenuItem.Text = "Append symbol";
|
||||||
|
appendSymbolToolStripMenuItem.ToolTipText = "Add a symbol to the end of the sequence";
|
||||||
appendSymbolToolStripMenuItem.Click += prependSymbolToolStripMenuItem_Click;
|
appendSymbolToolStripMenuItem.Click += prependSymbolToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// removeSymbolToolStripMenuItem
|
// removeSymbolToolStripMenuItem
|
||||||
//
|
//
|
||||||
removeSymbolToolStripMenuItem.Enabled = false;
|
removeSymbolToolStripMenuItem.Enabled = false;
|
||||||
removeSymbolToolStripMenuItem.Image = Properties.Resources.action_remove;
|
removeSymbolToolStripMenuItem.Image = Properties.Resources.delete;
|
||||||
removeSymbolToolStripMenuItem.Name = "removeSymbolToolStripMenuItem";
|
removeSymbolToolStripMenuItem.Name = "removeSymbolToolStripMenuItem";
|
||||||
removeSymbolToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Del";
|
removeSymbolToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
removeSymbolToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete;
|
removeSymbolToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete;
|
||||||
removeSymbolToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
removeSymbolToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
||||||
removeSymbolToolStripMenuItem.Text = "Remove symbol";
|
removeSymbolToolStripMenuItem.Text = "Remove symbol";
|
||||||
|
removeSymbolToolStripMenuItem.ToolTipText = "Remove current symbol (works only for first or last symbol in the sequence)";
|
||||||
removeSymbolToolStripMenuItem.Click += removeSymbolToolStripMenuItem_Click;
|
removeSymbolToolStripMenuItem.Click += removeSymbolToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// removeBeforeToolStripMenuItem
|
// removeBeforeToolStripMenuItem
|
||||||
//
|
//
|
||||||
removeBeforeToolStripMenuItem.Enabled = false;
|
removeBeforeToolStripMenuItem.Enabled = false;
|
||||||
removeBeforeToolStripMenuItem.Image = Properties.Resources.action_remove;
|
removeBeforeToolStripMenuItem.Image = Properties.Resources.delete;
|
||||||
removeBeforeToolStripMenuItem.Name = "removeBeforeToolStripMenuItem";
|
removeBeforeToolStripMenuItem.Name = "removeBeforeToolStripMenuItem";
|
||||||
removeBeforeToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
removeBeforeToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
||||||
removeBeforeToolStripMenuItem.Text = "Remove all before selected";
|
removeBeforeToolStripMenuItem.Text = "Remove all before selected";
|
||||||
|
removeBeforeToolStripMenuItem.ToolTipText = "Remove all symbols before current one";
|
||||||
removeBeforeToolStripMenuItem.Click += removeBeforeToolStripMenuItem_Click;
|
removeBeforeToolStripMenuItem.Click += removeBeforeToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// removeAfterToolStripMenuItem
|
// removeAfterToolStripMenuItem
|
||||||
//
|
//
|
||||||
removeAfterToolStripMenuItem.Enabled = false;
|
removeAfterToolStripMenuItem.Enabled = false;
|
||||||
removeAfterToolStripMenuItem.Image = Properties.Resources.action_remove;
|
removeAfterToolStripMenuItem.Image = Properties.Resources.delete;
|
||||||
removeAfterToolStripMenuItem.Name = "removeAfterToolStripMenuItem";
|
removeAfterToolStripMenuItem.Name = "removeAfterToolStripMenuItem";
|
||||||
removeAfterToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
removeAfterToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
||||||
removeAfterToolStripMenuItem.Text = "Remove all after selected";
|
removeAfterToolStripMenuItem.Text = "Remove all after selected";
|
||||||
|
removeAfterToolStripMenuItem.ToolTipText = "Remove all symbols after current one";
|
||||||
removeAfterToolStripMenuItem.Click += removeAfterToolStripMenuItem_Click;
|
removeAfterToolStripMenuItem.Click += removeAfterToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// applyToolStripMenuItem
|
// CodeShiftToolStripMenuItem
|
||||||
//
|
//
|
||||||
applyToolStripMenuItem.Image = Properties.Resources.action_check;
|
CodeShiftToolStripMenuItem.Image = Properties.Resources.z_align_center;
|
||||||
applyToolStripMenuItem.Name = "applyToolStripMenuItem";
|
CodeShiftToolStripMenuItem.Name = "CodeShiftToolStripMenuItem";
|
||||||
applyToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Space";
|
CodeShiftToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
||||||
applyToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Space;
|
CodeShiftToolStripMenuItem.Text = "Code shift";
|
||||||
applyToolStripMenuItem.Size = new System.Drawing.Size(215, 22);
|
CodeShiftToolStripMenuItem.ToolTipText = "Shift the font on the code line";
|
||||||
applyToolStripMenuItem.Text = "Apply";
|
CodeShiftToolStripMenuItem.Click += CodeShiftToolStripMenuItem_Click;
|
||||||
applyToolStripMenuItem.Click += button2_Click;
|
|
||||||
//
|
//
|
||||||
// toolsToolStripMenuItem
|
// canvasToolStripMenuItem
|
||||||
//
|
//
|
||||||
toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { ClearToolStripMenuItem, shiftUpToolStripMenuItem, shiftDownToolStripMenuItem, shiftLeftToolStripMenuItem, shiftRightToolStripMenuItem, invertToolStripMenuItem, mirrorXToolStripMenuItem, mirrorYToolStripMenuItem, exportToolStripMenuItem });
|
canvasToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { ClearToolStripMenuItem, FillToolStripMenuItem, shiftUpToolStripMenuItem, shiftDownToolStripMenuItem, shiftLeftToolStripMenuItem, shiftRightToolStripMenuItem, invertToolStripMenuItem, mirrorXToolStripMenuItem, mirrorYToolStripMenuItem, applyToolStripMenuItem });
|
||||||
toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
|
canvasToolStripMenuItem.Name = "canvasToolStripMenuItem";
|
||||||
toolsToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
|
canvasToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
|
||||||
toolsToolStripMenuItem.Text = "Tools";
|
canvasToolStripMenuItem.Text = "Canvas";
|
||||||
//
|
//
|
||||||
// ClearToolStripMenuItem
|
// ClearToolStripMenuItem
|
||||||
//
|
//
|
||||||
|
ClearToolStripMenuItem.Image = Properties.Resources.Canvas_Clear;
|
||||||
ClearToolStripMenuItem.Name = "ClearToolStripMenuItem";
|
ClearToolStripMenuItem.Name = "ClearToolStripMenuItem";
|
||||||
ClearToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+W";
|
ClearToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
ClearToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W;
|
ClearToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W;
|
||||||
ClearToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
ClearToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
ClearToolStripMenuItem.Text = "Clear canvas";
|
ClearToolStripMenuItem.Text = "Clear canvas";
|
||||||
|
ClearToolStripMenuItem.ToolTipText = "Paint canvas white";
|
||||||
ClearToolStripMenuItem.Click += btnClear_Click;
|
ClearToolStripMenuItem.Click += btnClear_Click;
|
||||||
//
|
//
|
||||||
|
// FillToolStripMenuItem
|
||||||
|
//
|
||||||
|
FillToolStripMenuItem.Image = Properties.Resources.Canvas_Fill;
|
||||||
|
FillToolStripMenuItem.Name = "FillToolStripMenuItem";
|
||||||
|
FillToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B;
|
||||||
|
FillToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
|
FillToolStripMenuItem.Text = "Fill canvas";
|
||||||
|
FillToolStripMenuItem.ToolTipText = "Paint canvas black";
|
||||||
|
FillToolStripMenuItem.Click += btnFill_Click;
|
||||||
|
//
|
||||||
// shiftUpToolStripMenuItem
|
// shiftUpToolStripMenuItem
|
||||||
//
|
//
|
||||||
shiftUpToolStripMenuItem.Image = Properties.Resources.arrow_top;
|
shiftUpToolStripMenuItem.Image = Properties.Resources.z_uo;
|
||||||
shiftUpToolStripMenuItem.Name = "shiftUpToolStripMenuItem";
|
shiftUpToolStripMenuItem.Name = "shiftUpToolStripMenuItem";
|
||||||
shiftUpToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Up";
|
shiftUpToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
shiftUpToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Up;
|
shiftUpToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Up;
|
||||||
shiftUpToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
shiftUpToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
shiftUpToolStripMenuItem.Text = "Shift Up";
|
shiftUpToolStripMenuItem.Text = "Shift Up";
|
||||||
|
shiftUpToolStripMenuItem.ToolTipText = "Shift pixels Up";
|
||||||
shiftUpToolStripMenuItem.Click += btnShiftUp_Click;
|
shiftUpToolStripMenuItem.Click += btnShiftUp_Click;
|
||||||
//
|
//
|
||||||
// shiftDownToolStripMenuItem
|
// shiftDownToolStripMenuItem
|
||||||
//
|
//
|
||||||
shiftDownToolStripMenuItem.Image = Properties.Resources.arrow_down;
|
shiftDownToolStripMenuItem.Image = Properties.Resources.z_down;
|
||||||
shiftDownToolStripMenuItem.Name = "shiftDownToolStripMenuItem";
|
shiftDownToolStripMenuItem.Name = "shiftDownToolStripMenuItem";
|
||||||
shiftDownToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Down";
|
shiftDownToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
shiftDownToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Down;
|
shiftDownToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Down;
|
||||||
shiftDownToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
shiftDownToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
shiftDownToolStripMenuItem.Text = "Shift Down";
|
shiftDownToolStripMenuItem.Text = "Shift Down";
|
||||||
|
shiftDownToolStripMenuItem.ToolTipText = "Shift pixels Down";
|
||||||
shiftDownToolStripMenuItem.Click += btnShiftDown_Click;
|
shiftDownToolStripMenuItem.Click += btnShiftDown_Click;
|
||||||
//
|
//
|
||||||
// shiftLeftToolStripMenuItem
|
// shiftLeftToolStripMenuItem
|
||||||
//
|
//
|
||||||
shiftLeftToolStripMenuItem.Image = Properties.Resources.arrow_back;
|
shiftLeftToolStripMenuItem.Image = Properties.Resources.z_left;
|
||||||
shiftLeftToolStripMenuItem.Name = "shiftLeftToolStripMenuItem";
|
shiftLeftToolStripMenuItem.Name = "shiftLeftToolStripMenuItem";
|
||||||
shiftLeftToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Left";
|
shiftLeftToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
shiftLeftToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Left;
|
shiftLeftToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Left;
|
||||||
shiftLeftToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
shiftLeftToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
shiftLeftToolStripMenuItem.Text = "Shift left";
|
shiftLeftToolStripMenuItem.Text = "Shift left";
|
||||||
|
shiftLeftToolStripMenuItem.ToolTipText = "Shift pixels Left";
|
||||||
shiftLeftToolStripMenuItem.Click += btnShiftLeft_Click;
|
shiftLeftToolStripMenuItem.Click += btnShiftLeft_Click;
|
||||||
//
|
//
|
||||||
// shiftRightToolStripMenuItem
|
// shiftRightToolStripMenuItem
|
||||||
//
|
//
|
||||||
shiftRightToolStripMenuItem.Image = Properties.Resources.arrow_next;
|
shiftRightToolStripMenuItem.Image = Properties.Resources.z_right;
|
||||||
shiftRightToolStripMenuItem.Name = "shiftRightToolStripMenuItem";
|
shiftRightToolStripMenuItem.Name = "shiftRightToolStripMenuItem";
|
||||||
shiftRightToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Right";
|
shiftRightToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
shiftRightToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Right;
|
shiftRightToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Right;
|
||||||
shiftRightToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
shiftRightToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
shiftRightToolStripMenuItem.Text = "Shift Right";
|
shiftRightToolStripMenuItem.Text = "Shift Right";
|
||||||
|
shiftRightToolStripMenuItem.ToolTipText = "Shift pixels Right";
|
||||||
shiftRightToolStripMenuItem.Click += btnShiftRight_Click;
|
shiftRightToolStripMenuItem.Click += btnShiftRight_Click;
|
||||||
//
|
//
|
||||||
// invertToolStripMenuItem
|
// invertToolStripMenuItem
|
||||||
//
|
//
|
||||||
invertToolStripMenuItem.Image = Properties.Resources.Ionic_Ionicons_Invert_mode_outline_16;
|
invertToolStripMenuItem.Image = Properties.Resources.z_contrast;
|
||||||
invertToolStripMenuItem.Name = "invertToolStripMenuItem";
|
invertToolStripMenuItem.Name = "invertToolStripMenuItem";
|
||||||
invertToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+I";
|
invertToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
invertToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I;
|
invertToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I;
|
||||||
invertToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
invertToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
invertToolStripMenuItem.Text = "Invert";
|
invertToolStripMenuItem.Text = "Invert";
|
||||||
|
invertToolStripMenuItem.ToolTipText = "Invert pixel colors";
|
||||||
invertToolStripMenuItem.Click += btnInvert_Click;
|
invertToolStripMenuItem.Click += btnInvert_Click;
|
||||||
//
|
//
|
||||||
// mirrorXToolStripMenuItem
|
// mirrorXToolStripMenuItem
|
||||||
//
|
//
|
||||||
mirrorXToolStripMenuItem.Image = Properties.Resources.Famfamfam_Silk_Shape_flip_horizontal_16;
|
mirrorXToolStripMenuItem.Image = Properties.Resources.Famfamfam_Silk_Shape_flip_horizontal_16;
|
||||||
mirrorXToolStripMenuItem.Name = "mirrorXToolStripMenuItem";
|
mirrorXToolStripMenuItem.Name = "mirrorXToolStripMenuItem";
|
||||||
mirrorXToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+X";
|
mirrorXToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
mirrorXToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X;
|
|
||||||
mirrorXToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
mirrorXToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
mirrorXToolStripMenuItem.Text = "Mirror X";
|
mirrorXToolStripMenuItem.Text = "Mirror X";
|
||||||
|
mirrorXToolStripMenuItem.ToolTipText = "Mirror by X axis (horizontal)";
|
||||||
mirrorXToolStripMenuItem.Click += btnMirrorX_Click;
|
mirrorXToolStripMenuItem.Click += btnMirrorX_Click;
|
||||||
//
|
//
|
||||||
// mirrorYToolStripMenuItem
|
// mirrorYToolStripMenuItem
|
||||||
//
|
//
|
||||||
mirrorYToolStripMenuItem.Image = Properties.Resources.Famfamfam_Silk_Shape_flip_vertical_16;
|
mirrorYToolStripMenuItem.Image = Properties.Resources.Famfamfam_Silk_Shape_flip_vertical_16;
|
||||||
mirrorYToolStripMenuItem.Name = "mirrorYToolStripMenuItem";
|
mirrorYToolStripMenuItem.Name = "mirrorYToolStripMenuItem";
|
||||||
mirrorYToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Y";
|
mirrorYToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||||
mirrorYToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y;
|
|
||||||
mirrorYToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
mirrorYToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
mirrorYToolStripMenuItem.Text = "Mirror Y";
|
mirrorYToolStripMenuItem.Text = "Mirror Y";
|
||||||
|
mirrorYToolStripMenuItem.ToolTipText = "Mirror by Y axis (vertical)";
|
||||||
mirrorYToolStripMenuItem.Click += btnMirrorY_Click;
|
mirrorYToolStripMenuItem.Click += btnMirrorY_Click;
|
||||||
//
|
//
|
||||||
// exportToolStripMenuItem
|
// applyToolStripMenuItem
|
||||||
//
|
//
|
||||||
exportToolStripMenuItem.Name = "exportToolStripMenuItem";
|
applyToolStripMenuItem.Image = Properties.Resources.z_tick;
|
||||||
exportToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+E";
|
applyToolStripMenuItem.Name = "applyToolStripMenuItem";
|
||||||
exportToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E;
|
applyToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Space";
|
||||||
exportToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
applyToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Space;
|
||||||
exportToolStripMenuItem.Text = "Export";
|
applyToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
|
||||||
exportToolStripMenuItem.Click += button1_Click;
|
applyToolStripMenuItem.Text = "Apply";
|
||||||
|
applyToolStripMenuItem.ToolTipText = "Apply canvas changes";
|
||||||
|
applyToolStripMenuItem.Click += button2_Click;
|
||||||
//
|
//
|
||||||
// aboutToolStripMenuItem
|
// aboutToolStripMenuItem
|
||||||
//
|
//
|
||||||
@@ -666,12 +887,15 @@
|
|||||||
// btnBaseline
|
// btnBaseline
|
||||||
//
|
//
|
||||||
btnBaseline.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
btnBaseline.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
btnBaseline.Image = Properties.Resources.fam_base;
|
||||||
|
btnBaseline.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
btnBaseline.Location = new System.Drawing.Point(718, 92);
|
btnBaseline.Location = new System.Drawing.Point(718, 92);
|
||||||
btnBaseline.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
btnBaseline.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
btnBaseline.Name = "btnBaseline";
|
btnBaseline.Name = "btnBaseline";
|
||||||
btnBaseline.Size = new System.Drawing.Size(88, 27);
|
btnBaseline.Size = new System.Drawing.Size(88, 27);
|
||||||
btnBaseline.TabIndex = 18;
|
btnBaseline.TabIndex = 18;
|
||||||
btnBaseline.Text = "Baseline";
|
btnBaseline.Text = " Baseline";
|
||||||
|
btnBaseline.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
toolTip1.SetToolTip(btnBaseline, "Set irtual base line for the font");
|
toolTip1.SetToolTip(btnBaseline, "Set irtual base line for the font");
|
||||||
btnBaseline.UseVisualStyleBackColor = true;
|
btnBaseline.UseVisualStyleBackColor = true;
|
||||||
btnBaseline.Click += btnBaseline_Click;
|
btnBaseline.Click += btnBaseline_Click;
|
||||||
@@ -684,6 +908,7 @@
|
|||||||
//
|
//
|
||||||
// chkLeftSide
|
// chkLeftSide
|
||||||
//
|
//
|
||||||
|
chkLeftSide.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
chkLeftSide.AutoSize = true;
|
chkLeftSide.AutoSize = true;
|
||||||
chkLeftSide.Location = new System.Drawing.Point(831, 33);
|
chkLeftSide.Location = new System.Drawing.Point(831, 33);
|
||||||
chkLeftSide.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
chkLeftSide.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
@@ -696,6 +921,7 @@
|
|||||||
//
|
//
|
||||||
// chkTopSide
|
// chkTopSide
|
||||||
//
|
//
|
||||||
|
chkTopSide.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
chkTopSide.AutoSize = true;
|
chkTopSide.AutoSize = true;
|
||||||
chkTopSide.Location = new System.Drawing.Point(831, 58);
|
chkTopSide.Location = new System.Drawing.Point(831, 58);
|
||||||
chkTopSide.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
chkTopSide.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||||
@@ -706,17 +932,60 @@
|
|||||||
toolTip1.SetToolTip(chkTopSide, "Height changes will be made on Top/Bottom side");
|
toolTip1.SetToolTip(chkTopSide, "Height changes will be made on Top/Bottom side");
|
||||||
chkTopSide.UseVisualStyleBackColor = true;
|
chkTopSide.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
|
// chkHexCodes
|
||||||
|
//
|
||||||
|
chkHexCodes.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
chkHexCodes.AutoSize = true;
|
||||||
|
chkHexCodes.Location = new System.Drawing.Point(618, 155);
|
||||||
|
chkHexCodes.Name = "chkHexCodes";
|
||||||
|
chkHexCodes.Size = new System.Drawing.Size(95, 19);
|
||||||
|
chkHexCodes.TabIndex = 22;
|
||||||
|
chkHexCodes.Text = "Codes in Hex";
|
||||||
|
toolTip1.SetToolTip(chkHexCodes, "Option to show symbol codes in Hexadecimal");
|
||||||
|
chkHexCodes.UseVisualStyleBackColor = true;
|
||||||
|
chkHexCodes.CheckedChanged += chkHexCodes_CheckedChanged;
|
||||||
|
//
|
||||||
|
// chkRectSelect
|
||||||
|
//
|
||||||
|
chkRectSelect.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
chkRectSelect.Appearance = System.Windows.Forms.Appearance.Button;
|
||||||
|
chkRectSelect.Image = Properties.Resources.fam_rectt;
|
||||||
|
chkRectSelect.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
chkRectSelect.Location = new System.Drawing.Point(620, 92);
|
||||||
|
chkRectSelect.Name = "chkRectSelect";
|
||||||
|
chkRectSelect.Size = new System.Drawing.Size(74, 27);
|
||||||
|
chkRectSelect.TabIndex = 23;
|
||||||
|
chkRectSelect.Text = " Select";
|
||||||
|
chkRectSelect.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
chkRectSelect.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
|
toolTip1.SetToolTip(chkRectSelect, "Turn on/off rectangle selection");
|
||||||
|
chkRectSelect.UseVisualStyleBackColor = true;
|
||||||
|
chkRectSelect.CheckedChanged += chkRectSelect_CheckedChanged;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
label3.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||||
|
label3.AutoSize = true;
|
||||||
|
label3.Location = new System.Drawing.Point(615, 123);
|
||||||
|
label3.Name = "label3";
|
||||||
|
label3.Size = new System.Drawing.Size(45, 15);
|
||||||
|
label3.TabIndex = 21;
|
||||||
|
label3.Text = "Cursor:";
|
||||||
|
//
|
||||||
// MainForm
|
// MainForm
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
ClientSize = new System.Drawing.Size(915, 647);
|
ClientSize = new System.Drawing.Size(915, 647);
|
||||||
|
Controls.Add(chkRectSelect);
|
||||||
|
Controls.Add(chkHexCodes);
|
||||||
|
Controls.Add(label3);
|
||||||
Controls.Add(chkTopSide);
|
Controls.Add(chkTopSide);
|
||||||
Controls.Add(chkLeftSide);
|
Controls.Add(chkLeftSide);
|
||||||
Controls.Add(btnBaseline);
|
Controls.Add(btnBaseline);
|
||||||
Controls.Add(btnApply);
|
Controls.Add(btnApply);
|
||||||
Controls.Add(btnExport);
|
Controls.Add(btnExport);
|
||||||
Controls.Add(label5);
|
Controls.Add(lblCoords);
|
||||||
Controls.Add(vScroll);
|
Controls.Add(vScroll);
|
||||||
Controls.Add(hScroll);
|
Controls.Add(hScroll);
|
||||||
Controls.Add(miniList);
|
Controls.Add(miniList);
|
||||||
@@ -742,6 +1011,7 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)nudX).EndInit();
|
((System.ComponentModel.ISupportInitialize)nudX).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)nudY).EndInit();
|
((System.ComponentModel.ISupportInitialize)nudY).EndInit();
|
||||||
panel1.ResumeLayout(false);
|
panel1.ResumeLayout(false);
|
||||||
|
cmMinilist.ResumeLayout(false);
|
||||||
menuStrip1.ResumeLayout(false);
|
menuStrip1.ResumeLayout(false);
|
||||||
menuStrip1.PerformLayout();
|
menuStrip1.PerformLayout();
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
@@ -773,7 +1043,7 @@
|
|||||||
private System.Windows.Forms.Button btnApply;
|
private System.Windows.Forms.Button btnApply;
|
||||||
private System.Windows.Forms.HScrollBar hScroll;
|
private System.Windows.Forms.HScrollBar hScroll;
|
||||||
private System.Windows.Forms.VScrollBar vScroll;
|
private System.Windows.Forms.VScrollBar vScroll;
|
||||||
private System.Windows.Forms.Label label5;
|
private System.Windows.Forms.Label lblCoords;
|
||||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||||
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
|
||||||
@@ -782,7 +1052,7 @@
|
|||||||
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem removeSymbolToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem removeSymbolToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem canvasToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem shiftUpToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem shiftUpToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem shiftDownToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem shiftDownToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem shiftLeftToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem shiftLeftToolStripMenuItem;
|
||||||
@@ -808,6 +1078,27 @@
|
|||||||
private System.Windows.Forms.CheckBox chkTopSide;
|
private System.Windows.Forms.CheckBox chkTopSide;
|
||||||
private System.Windows.Forms.ToolStripMenuItem removeBeforeToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem removeBeforeToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem removeAfterToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem removeAfterToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem makeVarWidthToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem redoToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem fontToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem CodeShiftToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ContextMenuStrip cmMinilist;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiRemoveBefore;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiRemoveAfter;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiRemoveSymbol;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiPrepensSymbol;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiAppendSymbol;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiCodeShift;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiMakeVarWidth;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem importImageToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.CheckBox chkHexCodes;
|
||||||
|
private System.Windows.Forms.Button btnFill;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem FillToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.CheckBox chkRectSelect;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem selectToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem importTextToolStripMenuItem1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -120,6 +120,9 @@
|
|||||||
<metadata name="toolTip1.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>
|
<value>436, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="cmMinilist.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>534, 17</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="ilMiniatures.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="ilMiniatures.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
423
McBitFont/ImageImporter.Designer.cs
generated
Normal file
@@ -0,0 +1,423 @@
|
|||||||
|
namespace McBitFont {
|
||||||
|
partial class ImageImporter {
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing) {
|
||||||
|
if (disposing && (components != null)) {
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent() {
|
||||||
|
components = new System.ComponentModel.Container();
|
||||||
|
btnOK = new System.Windows.Forms.Button();
|
||||||
|
btnCancel = new System.Windows.Forms.Button();
|
||||||
|
pbOriginal = new System.Windows.Forms.PictureBox();
|
||||||
|
pbProcessed = new System.Windows.Forms.PictureBox();
|
||||||
|
btnLoadImage = new System.Windows.Forms.Button();
|
||||||
|
dlgLoadImage = new System.Windows.Forms.OpenFileDialog();
|
||||||
|
pbScaled = new System.Windows.Forms.PictureBox();
|
||||||
|
btnConvert = new System.Windows.Forms.Button();
|
||||||
|
tbPixelization = new System.Windows.Forms.TrackBar();
|
||||||
|
lblPixelization = new System.Windows.Forms.Label();
|
||||||
|
lblThreshold = new System.Windows.Forms.Label();
|
||||||
|
tbThreshold = new System.Windows.Forms.TrackBar();
|
||||||
|
lblWhite = new System.Windows.Forms.Label();
|
||||||
|
lblBlack = new System.Windows.Forms.Label();
|
||||||
|
btnResize = new System.Windows.Forms.Button();
|
||||||
|
lblOrigSize = new System.Windows.Forms.Label();
|
||||||
|
lblProcessedSize = new System.Windows.Forms.Label();
|
||||||
|
lblScaledSize = new System.Windows.Forms.Label();
|
||||||
|
label1 = new System.Windows.Forms.Label();
|
||||||
|
label2 = new System.Windows.Forms.Label();
|
||||||
|
label3 = new System.Windows.Forms.Label();
|
||||||
|
label4 = new System.Windows.Forms.Label();
|
||||||
|
lblTransparency = new System.Windows.Forms.Label();
|
||||||
|
tbTransparency = new System.Windows.Forms.TrackBar();
|
||||||
|
toolTip1 = new System.Windows.Forms.ToolTip(components);
|
||||||
|
label5 = new System.Windows.Forms.Label();
|
||||||
|
label6 = new System.Windows.Forms.Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)pbOriginal).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)pbProcessed).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)pbScaled).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)tbPixelization).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)tbThreshold).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)tbTransparency).BeginInit();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// btnOK
|
||||||
|
//
|
||||||
|
btnOK.Enabled = false;
|
||||||
|
btnOK.Location = new System.Drawing.Point(171, 345);
|
||||||
|
btnOK.Name = "btnOK";
|
||||||
|
btnOK.Size = new System.Drawing.Size(88, 27);
|
||||||
|
btnOK.TabIndex = 0;
|
||||||
|
btnOK.Text = "OK";
|
||||||
|
btnOK.UseVisualStyleBackColor = true;
|
||||||
|
btnOK.Click += btnOK_Click;
|
||||||
|
//
|
||||||
|
// btnCancel
|
||||||
|
//
|
||||||
|
btnCancel.Location = new System.Drawing.Point(377, 345);
|
||||||
|
btnCancel.Name = "btnCancel";
|
||||||
|
btnCancel.Size = new System.Drawing.Size(88, 27);
|
||||||
|
btnCancel.TabIndex = 1;
|
||||||
|
btnCancel.Text = "Cancel";
|
||||||
|
btnCancel.UseVisualStyleBackColor = true;
|
||||||
|
btnCancel.Click += btnCancel_Click;
|
||||||
|
//
|
||||||
|
// pbOriginal
|
||||||
|
//
|
||||||
|
pbOriginal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
pbOriginal.Location = new System.Drawing.Point(12, 27);
|
||||||
|
pbOriginal.Name = "pbOriginal";
|
||||||
|
pbOriginal.Size = new System.Drawing.Size(200, 200);
|
||||||
|
pbOriginal.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
|
pbOriginal.TabIndex = 2;
|
||||||
|
pbOriginal.TabStop = false;
|
||||||
|
//
|
||||||
|
// pbProcessed
|
||||||
|
//
|
||||||
|
pbProcessed.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
pbProcessed.Location = new System.Drawing.Point(218, 27);
|
||||||
|
pbProcessed.Name = "pbProcessed";
|
||||||
|
pbProcessed.Size = new System.Drawing.Size(200, 200);
|
||||||
|
pbProcessed.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
|
pbProcessed.TabIndex = 3;
|
||||||
|
pbProcessed.TabStop = false;
|
||||||
|
//
|
||||||
|
// btnLoadImage
|
||||||
|
//
|
||||||
|
btnLoadImage.Image = Properties.Resources.folder_open;
|
||||||
|
btnLoadImage.Location = new System.Drawing.Point(57, 233);
|
||||||
|
btnLoadImage.Name = "btnLoadImage";
|
||||||
|
btnLoadImage.Size = new System.Drawing.Size(110, 27);
|
||||||
|
btnLoadImage.TabIndex = 4;
|
||||||
|
btnLoadImage.Text = " Load Image";
|
||||||
|
btnLoadImage.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
btnLoadImage.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
|
toolTip1.SetToolTip(btnLoadImage, "Load image from a file");
|
||||||
|
btnLoadImage.UseVisualStyleBackColor = true;
|
||||||
|
btnLoadImage.Click += btnLoadImage_Click;
|
||||||
|
//
|
||||||
|
// dlgLoadImage
|
||||||
|
//
|
||||||
|
dlgLoadImage.AddExtension = false;
|
||||||
|
dlgLoadImage.Filter = "Images|*.bmp;*.png;*.gif;*.jpg;*.jpeg|All files|*.*";
|
||||||
|
dlgLoadImage.ShowPreview = true;
|
||||||
|
//
|
||||||
|
// pbScaled
|
||||||
|
//
|
||||||
|
pbScaled.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
pbScaled.Location = new System.Drawing.Point(424, 27);
|
||||||
|
pbScaled.Name = "pbScaled";
|
||||||
|
pbScaled.Size = new System.Drawing.Size(200, 200);
|
||||||
|
pbScaled.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||||
|
pbScaled.TabIndex = 5;
|
||||||
|
pbScaled.TabStop = false;
|
||||||
|
//
|
||||||
|
// btnConvert
|
||||||
|
//
|
||||||
|
btnConvert.Enabled = false;
|
||||||
|
btnConvert.Image = Properties.Resources.calculator;
|
||||||
|
btnConvert.Location = new System.Drawing.Point(263, 233);
|
||||||
|
btnConvert.Name = "btnConvert";
|
||||||
|
btnConvert.Size = new System.Drawing.Size(110, 27);
|
||||||
|
btnConvert.TabIndex = 6;
|
||||||
|
btnConvert.Text = " Convert";
|
||||||
|
btnConvert.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
btnConvert.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
|
toolTip1.SetToolTip(btnConvert, "Convert image to pixelated black and white");
|
||||||
|
btnConvert.UseVisualStyleBackColor = true;
|
||||||
|
btnConvert.Click += btnConvert_Click;
|
||||||
|
//
|
||||||
|
// tbPixelization
|
||||||
|
//
|
||||||
|
tbPixelization.AutoSize = false;
|
||||||
|
tbPixelization.Cursor = System.Windows.Forms.Cursors.SizeWE;
|
||||||
|
tbPixelization.LargeChange = 2;
|
||||||
|
tbPixelization.Location = new System.Drawing.Point(39, 296);
|
||||||
|
tbPixelization.Maximum = 25;
|
||||||
|
tbPixelization.Minimum = 1;
|
||||||
|
tbPixelization.Name = "tbPixelization";
|
||||||
|
tbPixelization.Size = new System.Drawing.Size(128, 32);
|
||||||
|
tbPixelization.TabIndex = 7;
|
||||||
|
toolTip1.SetToolTip(tbPixelization, "Pixelization level. Higher value makes bigger pixels during conversion");
|
||||||
|
tbPixelization.Value = 1;
|
||||||
|
tbPixelization.ValueChanged += tbPixelization_ValueChanged;
|
||||||
|
tbPixelization.KeyDown += tbPixelization_KeyDown;
|
||||||
|
//
|
||||||
|
// lblPixelization
|
||||||
|
//
|
||||||
|
lblPixelization.Location = new System.Drawing.Point(39, 323);
|
||||||
|
lblPixelization.Name = "lblPixelization";
|
||||||
|
lblPixelization.Size = new System.Drawing.Size(128, 15);
|
||||||
|
lblPixelization.TabIndex = 8;
|
||||||
|
lblPixelization.Text = "Pixelization: 1";
|
||||||
|
lblPixelization.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// lblThreshold
|
||||||
|
//
|
||||||
|
lblThreshold.Location = new System.Drawing.Point(263, 323);
|
||||||
|
lblThreshold.Name = "lblThreshold";
|
||||||
|
lblThreshold.Size = new System.Drawing.Size(110, 15);
|
||||||
|
lblThreshold.TabIndex = 10;
|
||||||
|
lblThreshold.Text = "Threshold: 0";
|
||||||
|
lblThreshold.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// tbThreshold
|
||||||
|
//
|
||||||
|
tbThreshold.AutoSize = false;
|
||||||
|
tbThreshold.Cursor = System.Windows.Forms.Cursors.SizeWE;
|
||||||
|
tbThreshold.LargeChange = 10;
|
||||||
|
tbThreshold.Location = new System.Drawing.Point(254, 296);
|
||||||
|
tbThreshold.Maximum = 127;
|
||||||
|
tbThreshold.Minimum = -128;
|
||||||
|
tbThreshold.Name = "tbThreshold";
|
||||||
|
tbThreshold.Size = new System.Drawing.Size(128, 32);
|
||||||
|
tbThreshold.TabIndex = 9;
|
||||||
|
tbThreshold.TickFrequency = 8;
|
||||||
|
toolTip1.SetToolTip(tbThreshold, "Black / White conversion threshold");
|
||||||
|
tbThreshold.ValueChanged += tbThreshold_ValueChanged;
|
||||||
|
tbThreshold.KeyDown += tbThreshold_KeyDown;
|
||||||
|
//
|
||||||
|
// lblWhite
|
||||||
|
//
|
||||||
|
lblWhite.AutoSize = true;
|
||||||
|
lblWhite.Location = new System.Drawing.Point(221, 282);
|
||||||
|
lblWhite.Name = "lblWhite";
|
||||||
|
lblWhite.Size = new System.Drawing.Size(67, 15);
|
||||||
|
lblWhite.TabIndex = 11;
|
||||||
|
lblWhite.Text = "More white";
|
||||||
|
lblWhite.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||||
|
//
|
||||||
|
// lblBlack
|
||||||
|
//
|
||||||
|
lblBlack.AutoSize = true;
|
||||||
|
lblBlack.Location = new System.Drawing.Point(349, 282);
|
||||||
|
lblBlack.Name = "lblBlack";
|
||||||
|
lblBlack.Size = new System.Drawing.Size(66, 15);
|
||||||
|
lblBlack.TabIndex = 12;
|
||||||
|
lblBlack.Text = "More black";
|
||||||
|
//
|
||||||
|
// btnResize
|
||||||
|
//
|
||||||
|
btnResize.Enabled = false;
|
||||||
|
btnResize.Image = Properties.Resources.arrow_inout;
|
||||||
|
btnResize.Location = new System.Drawing.Point(464, 233);
|
||||||
|
btnResize.Name = "btnResize";
|
||||||
|
btnResize.Size = new System.Drawing.Size(120, 27);
|
||||||
|
btnResize.TabIndex = 13;
|
||||||
|
btnResize.Text = " Resize to frame";
|
||||||
|
btnResize.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
btnResize.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||||
|
toolTip1.SetToolTip(btnResize, "Resize converted image to fit the current frame");
|
||||||
|
btnResize.UseVisualStyleBackColor = true;
|
||||||
|
btnResize.Click += btnResize_Click;
|
||||||
|
//
|
||||||
|
// lblOrigSize
|
||||||
|
//
|
||||||
|
lblOrigSize.AutoSize = true;
|
||||||
|
lblOrigSize.Location = new System.Drawing.Point(12, 9);
|
||||||
|
lblOrigSize.Name = "lblOrigSize";
|
||||||
|
lblOrigSize.Size = new System.Drawing.Size(30, 15);
|
||||||
|
lblOrigSize.TabIndex = 14;
|
||||||
|
lblOrigSize.Text = "0 x 0";
|
||||||
|
//
|
||||||
|
// lblProcessedSize
|
||||||
|
//
|
||||||
|
lblProcessedSize.AutoSize = true;
|
||||||
|
lblProcessedSize.Location = new System.Drawing.Point(218, 9);
|
||||||
|
lblProcessedSize.Name = "lblProcessedSize";
|
||||||
|
lblProcessedSize.Size = new System.Drawing.Size(30, 15);
|
||||||
|
lblProcessedSize.TabIndex = 15;
|
||||||
|
lblProcessedSize.Text = "0 x 0";
|
||||||
|
//
|
||||||
|
// lblScaledSize
|
||||||
|
//
|
||||||
|
lblScaledSize.AutoSize = true;
|
||||||
|
lblScaledSize.Location = new System.Drawing.Point(424, 9);
|
||||||
|
lblScaledSize.Name = "lblScaledSize";
|
||||||
|
lblScaledSize.Size = new System.Drawing.Size(30, 15);
|
||||||
|
lblScaledSize.TabIndex = 16;
|
||||||
|
lblScaledSize.Text = "0 x 0";
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||||
|
label1.Location = new System.Drawing.Point(6, 279);
|
||||||
|
label1.Name = "label1";
|
||||||
|
label1.Size = new System.Drawing.Size(209, 2);
|
||||||
|
label1.TabIndex = 17;
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||||
|
label2.Location = new System.Drawing.Point(421, 279);
|
||||||
|
label2.Name = "label2";
|
||||||
|
label2.Size = new System.Drawing.Size(209, 2);
|
||||||
|
label2.TabIndex = 18;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||||
|
label3.Location = new System.Drawing.Point(421, 230);
|
||||||
|
label3.Name = "label3";
|
||||||
|
label3.Size = new System.Drawing.Size(2, 51);
|
||||||
|
label3.TabIndex = 19;
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||||
|
label4.Location = new System.Drawing.Point(215, 230);
|
||||||
|
label4.Name = "label4";
|
||||||
|
label4.Size = new System.Drawing.Size(2, 51);
|
||||||
|
label4.TabIndex = 20;
|
||||||
|
//
|
||||||
|
// lblTransparency
|
||||||
|
//
|
||||||
|
lblTransparency.Location = new System.Drawing.Point(438, 323);
|
||||||
|
lblTransparency.Name = "lblTransparency";
|
||||||
|
lblTransparency.Size = new System.Drawing.Size(184, 15);
|
||||||
|
lblTransparency.TabIndex = 22;
|
||||||
|
lblTransparency.Text = "Transparency threshold: 32";
|
||||||
|
lblTransparency.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// tbTransparency
|
||||||
|
//
|
||||||
|
tbTransparency.AutoSize = false;
|
||||||
|
tbTransparency.Cursor = System.Windows.Forms.Cursors.SizeWE;
|
||||||
|
tbTransparency.LargeChange = 16;
|
||||||
|
tbTransparency.Location = new System.Drawing.Point(464, 296);
|
||||||
|
tbTransparency.Maximum = 255;
|
||||||
|
tbTransparency.Name = "tbTransparency";
|
||||||
|
tbTransparency.Size = new System.Drawing.Size(128, 32);
|
||||||
|
tbTransparency.SmallChange = 4;
|
||||||
|
tbTransparency.TabIndex = 21;
|
||||||
|
tbTransparency.TickFrequency = 8;
|
||||||
|
toolTip1.SetToolTip(tbTransparency, "Transparency threshold. Higher value makes more white");
|
||||||
|
tbTransparency.Value = 4;
|
||||||
|
tbTransparency.ValueChanged += tbTransparency_ValueChanged;
|
||||||
|
tbTransparency.KeyDown += tbTransparency_KeyDown;
|
||||||
|
//
|
||||||
|
// toolTip1
|
||||||
|
//
|
||||||
|
toolTip1.AutoPopDelay = 10000;
|
||||||
|
toolTip1.InitialDelay = 500;
|
||||||
|
toolTip1.ReshowDelay = 100;
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
label5.AutoSize = true;
|
||||||
|
label5.Location = new System.Drawing.Point(438, 282);
|
||||||
|
label5.Name = "label5";
|
||||||
|
label5.Size = new System.Drawing.Size(66, 15);
|
||||||
|
label5.TabIndex = 24;
|
||||||
|
label5.Text = "More black";
|
||||||
|
//
|
||||||
|
// label6
|
||||||
|
//
|
||||||
|
label6.AutoSize = true;
|
||||||
|
label6.Location = new System.Drawing.Point(555, 282);
|
||||||
|
label6.Name = "label6";
|
||||||
|
label6.Size = new System.Drawing.Size(67, 15);
|
||||||
|
label6.TabIndex = 23;
|
||||||
|
label6.Text = "More white";
|
||||||
|
label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||||
|
//
|
||||||
|
// ImageImporter
|
||||||
|
//
|
||||||
|
AcceptButton = btnOK;
|
||||||
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
CancelButton = btnCancel;
|
||||||
|
ClientSize = new System.Drawing.Size(634, 381);
|
||||||
|
Controls.Add(label5);
|
||||||
|
Controls.Add(label6);
|
||||||
|
Controls.Add(lblTransparency);
|
||||||
|
Controls.Add(tbTransparency);
|
||||||
|
Controls.Add(label4);
|
||||||
|
Controls.Add(label3);
|
||||||
|
Controls.Add(label2);
|
||||||
|
Controls.Add(label1);
|
||||||
|
Controls.Add(lblScaledSize);
|
||||||
|
Controls.Add(lblProcessedSize);
|
||||||
|
Controls.Add(lblOrigSize);
|
||||||
|
Controls.Add(btnResize);
|
||||||
|
Controls.Add(lblBlack);
|
||||||
|
Controls.Add(lblWhite);
|
||||||
|
Controls.Add(lblThreshold);
|
||||||
|
Controls.Add(tbThreshold);
|
||||||
|
Controls.Add(lblPixelization);
|
||||||
|
Controls.Add(tbPixelization);
|
||||||
|
Controls.Add(btnConvert);
|
||||||
|
Controls.Add(pbScaled);
|
||||||
|
Controls.Add(btnLoadImage);
|
||||||
|
Controls.Add(pbProcessed);
|
||||||
|
Controls.Add(pbOriginal);
|
||||||
|
Controls.Add(btnCancel);
|
||||||
|
Controls.Add(btnOK);
|
||||||
|
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
|
MaximizeBox = false;
|
||||||
|
MinimizeBox = false;
|
||||||
|
Name = "ImageImporter";
|
||||||
|
ShowIcon = false;
|
||||||
|
ShowInTaskbar = false;
|
||||||
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
Text = "Import Image";
|
||||||
|
Paint += ImageImporter_Paint;
|
||||||
|
((System.ComponentModel.ISupportInitialize)pbOriginal).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)pbProcessed).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)pbScaled).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)tbPixelization).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)tbThreshold).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)tbTransparency).EndInit();
|
||||||
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Button btnOK;
|
||||||
|
private System.Windows.Forms.Button btnCancel;
|
||||||
|
private System.Windows.Forms.PictureBox pbOriginal;
|
||||||
|
private System.Windows.Forms.PictureBox pbProcessed;
|
||||||
|
private System.Windows.Forms.Button btnLoadImage;
|
||||||
|
private System.Windows.Forms.OpenFileDialog dlgLoadImage;
|
||||||
|
private System.Windows.Forms.PictureBox pbScaled;
|
||||||
|
private System.Windows.Forms.Button btnConvert;
|
||||||
|
private System.Windows.Forms.TrackBar tbPixelization;
|
||||||
|
private System.Windows.Forms.Label lblPixelization;
|
||||||
|
private System.Windows.Forms.Label lblThreshold;
|
||||||
|
private System.Windows.Forms.TrackBar tbThreshold;
|
||||||
|
private System.Windows.Forms.Label lblWhite;
|
||||||
|
private System.Windows.Forms.Label lblBlack;
|
||||||
|
private System.Windows.Forms.Button btnResize;
|
||||||
|
private System.Windows.Forms.Label lblOrigSize;
|
||||||
|
private System.Windows.Forms.Label lblProcessedSize;
|
||||||
|
private System.Windows.Forms.Label lblScaledSize;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Label lblTransparency;
|
||||||
|
private System.Windows.Forms.TrackBar tbTransparency;
|
||||||
|
private System.Windows.Forms.ToolTip toolTip1;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.Label label6;
|
||||||
|
}
|
||||||
|
}
|
235
McBitFont/ImageImporter.cs
Normal file
@@ -0,0 +1,235 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Drawing.Drawing2D;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace McBitFont {
|
||||||
|
public partial class ImageImporter : Form {
|
||||||
|
|
||||||
|
private int fw, fh, pixelization, threshold;
|
||||||
|
private Color[] colorPool = [Color.Black, Color.White];
|
||||||
|
private Bitmap bmpOriginal, bmpProcessed;
|
||||||
|
public Bitmap bmpScaled;
|
||||||
|
|
||||||
|
public ImageImporter(int width, int height) {
|
||||||
|
InitializeComponent();
|
||||||
|
fw = width;
|
||||||
|
fh = height;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void UpdateControls(byte level) {
|
||||||
|
switch (level) {
|
||||||
|
case 1:
|
||||||
|
bmpProcessed = null;
|
||||||
|
bmpScaled = null;
|
||||||
|
pbProcessed.Image = null;
|
||||||
|
pbScaled.Image = null;
|
||||||
|
lblProcessedSize.Text = "0 x 0";
|
||||||
|
lblScaledSize.Text = "0 x 0";
|
||||||
|
btnResize.Enabled = false;
|
||||||
|
btnOK.Enabled = false;
|
||||||
|
btnConvert.Enabled = true;
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
bmpScaled = null;
|
||||||
|
pbScaled.Image = null;
|
||||||
|
lblScaledSize.Text = "0 x 0";
|
||||||
|
btnOK.Enabled = false;
|
||||||
|
btnResize.Enabled = true;
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
btnOK.Enabled = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnOK_Click(object sender, EventArgs e) {
|
||||||
|
DialogResult = DialogResult.OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnCancel_Click(object sender, EventArgs e) {
|
||||||
|
DialogResult = DialogResult.Cancel;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Pick a color from color pool that is closest to an average of given colors
|
||||||
|
private Color PickColor(Color[] colors) {
|
||||||
|
int i;
|
||||||
|
int r = 0; int g = 0; int b = 0;
|
||||||
|
|
||||||
|
// Calculating average color amongst givet color set
|
||||||
|
for (i = 0; i < colors.Length; i++) {
|
||||||
|
r += colors[i].R;
|
||||||
|
g += colors[i].G;
|
||||||
|
b += colors[i].B;
|
||||||
|
}
|
||||||
|
r /= colors.Length;
|
||||||
|
g /= colors.Length;
|
||||||
|
b /= colors.Length;
|
||||||
|
|
||||||
|
int near = 1000;
|
||||||
|
int ind = 0;
|
||||||
|
|
||||||
|
// Picking a closts color from color pool
|
||||||
|
for (i = 0; i < colorPool.Length; i++) {
|
||||||
|
int valR = colorPool[i].R - r + threshold;
|
||||||
|
int valG = colorPool[i].R - g + threshold;
|
||||||
|
int valB = colorPool[i].R - b + threshold;
|
||||||
|
if (valR < 0) valR = -valR;
|
||||||
|
if (valG < 0) valG = -valG;
|
||||||
|
if (valB < 0) valB = -valB;
|
||||||
|
|
||||||
|
threshold = tbThreshold.Value;
|
||||||
|
int total = valR + valG + valB;
|
||||||
|
|
||||||
|
if (total < near) {
|
||||||
|
ind = i;
|
||||||
|
near = total;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return colorPool[ind];
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void DrawArrow(Graphics g, Point from, Point to, float thickness = 1, Color? color = null) {
|
||||||
|
if (color == null) color = Color.Black;
|
||||||
|
var pen = new Pen((Color)color, thickness) {
|
||||||
|
CustomEndCap = new AdjustableArrowCap(4, 5)
|
||||||
|
};
|
||||||
|
g.DrawLine(pen, from, to);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void tbPixelization_ValueChanged(object sender, EventArgs e) {
|
||||||
|
lblPixelization.Text = "Pixelization: " + tbPixelization.Value.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void tbThreshold_ValueChanged(object sender, EventArgs e) {
|
||||||
|
lblThreshold.Text = "Threshold: " + tbThreshold.Value.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnLoadImage_Click(object sender, EventArgs e) {
|
||||||
|
if (dlgLoadImage.ShowDialog() == DialogResult.OK) {
|
||||||
|
bmpOriginal = new Bitmap(dlgLoadImage.FileName);
|
||||||
|
|
||||||
|
pbOriginal.Image = Draw200x200(bmpOriginal);
|
||||||
|
lblOrigSize.Text = bmpOriginal.Width.ToString() + " x " + bmpOriginal.Height.ToString()
|
||||||
|
+ " (" + pbOriginal.Image.Width.ToString() + " x " + pbOriginal.Image.Height.ToString() + ")";
|
||||||
|
|
||||||
|
// Clear other images
|
||||||
|
UpdateControls(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnConvert_Click(object sender, EventArgs e) {
|
||||||
|
pixelization = tbPixelization.Value;
|
||||||
|
//Bitmap bmOrig = (Bitmap)pbOriginal.Image;
|
||||||
|
bmpProcessed = new Bitmap(bmpOriginal.Width, bmpOriginal.Height);
|
||||||
|
|
||||||
|
// Processing image
|
||||||
|
using (Graphics g = Graphics.FromImage(bmpProcessed)) {
|
||||||
|
List<Color> block;
|
||||||
|
Rectangle rect = new Rectangle();
|
||||||
|
SolidBrush sb = new SolidBrush(Color.Black);
|
||||||
|
Color final = Color.Black;
|
||||||
|
Color pixel;
|
||||||
|
|
||||||
|
// Going through original image with steps = pixelization
|
||||||
|
for (int x = 0; x < bmpOriginal.Width; x += pixelization) {
|
||||||
|
for (int y = 0; y < bmpOriginal.Height; y += pixelization) {
|
||||||
|
block = [];
|
||||||
|
|
||||||
|
// Going throug a block pixel by pixel to calculate its average color later
|
||||||
|
for (int v = 0; v < pixelization; v++) {
|
||||||
|
for (int c = 0; c < pixelization; c++) {
|
||||||
|
if (x + v < bmpOriginal.Width && y + c < bmpOriginal.Height) {
|
||||||
|
pixel = bmpOriginal.GetPixel(x + v, y + c);
|
||||||
|
if (pixel.A <= tbTransparency.Value) pixel = Color.White;
|
||||||
|
block.Add(pixel);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Getting a color from the color pool and painting the block
|
||||||
|
if (block.Count > 0) {
|
||||||
|
final = PickColor(block.ToArray());
|
||||||
|
sb.Color = final;
|
||||||
|
|
||||||
|
rect.X = x;
|
||||||
|
rect.Y = y;
|
||||||
|
rect.Width = pixelization;
|
||||||
|
rect.Height = pixelization;
|
||||||
|
|
||||||
|
g.FillRectangle(sb, rect);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pbProcessed.Image = Draw200x200(bmpProcessed);
|
||||||
|
lblProcessedSize.Text = bmpProcessed.Width.ToString() + " x " + bmpProcessed.Height.ToString()
|
||||||
|
+ " (" + pbProcessed.Image.Width.ToString() + " x " + pbProcessed.Image.Height.ToString() + ")";
|
||||||
|
|
||||||
|
UpdateControls(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnResize_Click(object sender, EventArgs e) {
|
||||||
|
bmpScaled = DrawScaled(bmpProcessed, fw, fh);
|
||||||
|
|
||||||
|
pbScaled.Image = Draw200x200(bmpScaled);
|
||||||
|
lblScaledSize.Text = bmpScaled.Width.ToString() + " x " + bmpScaled.Height.ToString()
|
||||||
|
+ " (" + pbScaled.Image.Width.ToString() + " x " + pbScaled.Image.Height.ToString() + ")";
|
||||||
|
UpdateControls(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Draw 200x200 bitmap for picturebox
|
||||||
|
private static Bitmap Draw200x200(Bitmap bmpRef) {
|
||||||
|
return DrawScaled(bmpRef, 200, 200);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Draw scaled bitmap keeping aspect ratio
|
||||||
|
private static Bitmap DrawScaled(Bitmap bmpRef, int w, int h) {
|
||||||
|
var scale = Math.Min(w / (double)bmpRef.Width, h / (double)bmpRef.Height);
|
||||||
|
var bmpNew = new Bitmap((int)(bmpRef.Width * scale), (int)(bmpRef.Height * scale));
|
||||||
|
|
||||||
|
using (Graphics g = Graphics.FromImage(bmpNew)) {
|
||||||
|
g.InterpolationMode = InterpolationMode.NearestNeighbor;
|
||||||
|
g.PixelOffsetMode = PixelOffsetMode.Half;
|
||||||
|
g.DrawImage(bmpRef, 0, 0, bmpNew.Width, bmpNew.Height);
|
||||||
|
}
|
||||||
|
|
||||||
|
return bmpNew;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void tbThreshold_KeyDown(object sender, KeyEventArgs e) {
|
||||||
|
if (e.KeyCode == Keys.C) {
|
||||||
|
tbThreshold.Value = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void tbPixelization_KeyDown(object sender, KeyEventArgs e) {
|
||||||
|
if (e.KeyCode == Keys.C) {
|
||||||
|
tbPixelization.Value = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void tbTransparency_ValueChanged(object sender, EventArgs e) {
|
||||||
|
lblTransparency.Text = "Transparency threshold: " + tbTransparency.Value.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void tbTransparency_KeyDown(object sender, KeyEventArgs e) {
|
||||||
|
if (e.KeyCode == Keys.C) {
|
||||||
|
tbTransparency.Value = 32;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ImageImporter_Paint(object sender, PaintEventArgs e) {
|
||||||
|
DrawArrow(e.Graphics, new Point(175, 246), new Point(255, 246), 2, Color.SlateGray);
|
||||||
|
DrawArrow(e.Graphics, new Point(380, 246), new Point(455, 246), 2, Color.SlateGray);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
129
McBitFont/ImageImporter.resx
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
<?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>147, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="dlgLoadImage.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>147, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
@@ -20,12 +20,24 @@
|
|||||||
<UseWindowsForms>true</UseWindowsForms>
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
|
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
|
||||||
<ApplicationIcon>icon_64.ico</ApplicationIcon>
|
<ApplicationIcon>icon_64.ico</ApplicationIcon>
|
||||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
<AssemblyVersion>2.1.0.0</AssemblyVersion>
|
||||||
<FileVersion>2.0.0.0</FileVersion>
|
<FileVersion>2.1.0.0</FileVersion>
|
||||||
|
<Version>$(VersionPrefix)2.1.0</Version>
|
||||||
|
<Copyright>Anton Mukhin</Copyright>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
<DebugType>portable</DebugType>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||||
|
<DebugType>portable</DebugType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="icon.ico" />
|
<Content Include="icon.ico" />
|
||||||
<Content Include="icon_64.ico" />
|
<Content Include="icon_64.ico" />
|
||||||
|
<PackageReference Include="Costura.Fody" Version="6.0.0">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
<PackageReference Include="MessagePack" Version="3.1.3" />
|
<PackageReference Include="MessagePack" Version="3.1.3" />
|
||||||
<PackageReference Include="MessagePack.Annotations" Version="3.1.3" />
|
<PackageReference Include="MessagePack.Annotations" Version="3.1.3" />
|
||||||
<PackageReference Include="MessagePackAnalyzer" Version="3.1.3" />
|
<PackageReference Include="MessagePackAnalyzer" Version="3.1.3" />
|
||||||
@@ -48,4 +60,28 @@
|
|||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Update="Properties\Resources.Designer.cs">
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Update="Properties\Settings.Designer.cs">
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Update="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Update="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@@ -108,8 +108,8 @@ namespace McBitFont {
|
|||||||
|
|
||||||
Bitmap bmp, result;
|
Bitmap bmp, result;
|
||||||
Graphics g;
|
Graphics g;
|
||||||
chars[0] = mainForm.decodeSymbol((int)nudChar1.Value);
|
chars[0] = mainForm.DecodeSymbol((int)nudChar1.Value);
|
||||||
chars[1] = mainForm.decodeSymbol((int)nudChar2.Value);
|
chars[1] = mainForm.DecodeSymbol((int)nudChar2.Value);
|
||||||
for (int i = 0; i < 2; i++) {
|
for (int i = 0; i < 2; i++) {
|
||||||
bmp = new Bitmap((int)nudNewX.Value, (int)nudNewY.Value);
|
bmp = new Bitmap((int)nudNewX.Value, (int)nudNewY.Value);
|
||||||
g = Graphics.FromImage(bmp);
|
g = Graphics.FromImage(bmp);
|
||||||
|
272
McBitFont/Properties/Resources.Designer.cs
generated
@@ -1,10 +1,10 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Этот код создан программой.
|
// This code was generated by a tool.
|
||||||
// Исполняемая версия:4.0.30319.42000
|
// Runtime Version:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// повторной генерации кода.
|
// the code is regenerated.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -13,12 +13,12 @@ namespace McBitFont.Properties {
|
|||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
// Этот класс создан автоматически классом StronglyTypedResourceBuilder
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||||
// с помощью такого средства, как ResGen или Visual Studio.
|
// class via a tool like ResGen or Visual Studio.
|
||||||
// Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
// с параметром /str или перестройте свой проект VS.
|
// with the /str option, or rebuild your VS project.
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
@@ -33,7 +33,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
|
/// Returns the cached ResourceManager instance used by this class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
@@ -47,8 +47,8 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Перезаписывает свойство CurrentUICulture текущего потока для всех
|
/// Overrides the current thread's CurrentUICulture property for all
|
||||||
/// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
|
/// resource lookups using this strongly typed resource class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Globalization.CultureInfo Culture {
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
@@ -61,77 +61,107 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap action_add {
|
internal static System.Drawing.Bitmap add {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("action_add", resourceCulture);
|
object obj = ResourceManager.GetObject("add", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap action_check {
|
internal static System.Drawing.Bitmap arrow_inout {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("action_check", resourceCulture);
|
object obj = ResourceManager.GetObject("arrow_inout", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap action_remove {
|
internal static System.Drawing.Bitmap arrow_redo {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("action_remove", resourceCulture);
|
object obj = ResourceManager.GetObject("arrow_redo", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap arrow_back {
|
internal static System.Drawing.Bitmap arrow_undo {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("arrow_back", resourceCulture);
|
object obj = ResourceManager.GetObject("arrow_undo", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap arrow_down {
|
internal static System.Drawing.Bitmap calculator {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("arrow_down", resourceCulture);
|
object obj = ResourceManager.GetObject("calculator", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap arrow_next {
|
internal static System.Drawing.Bitmap Canvas_Clear {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("arrow_next", resourceCulture);
|
object obj = ResourceManager.GetObject("Canvas_Clear", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap arrow_top {
|
internal static System.Drawing.Bitmap Canvas_Fill {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("arrow_top", resourceCulture);
|
object obj = ResourceManager.GetObject("Canvas_Fill", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap delete {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("delete", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap fam_base {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("fam_base", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap fam_rectt {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("fam_rectt", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Disk_16 {
|
internal static System.Drawing.Bitmap Famfamfam_Silk_Disk_16 {
|
||||||
get {
|
get {
|
||||||
@@ -141,7 +171,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Door_out_16 {
|
internal static System.Drawing.Bitmap Famfamfam_Silk_Door_out_16 {
|
||||||
get {
|
get {
|
||||||
@@ -151,27 +181,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type 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>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Page_copy_16 {
|
internal static System.Drawing.Bitmap Famfamfam_Silk_Page_copy_16 {
|
||||||
get {
|
get {
|
||||||
@@ -181,7 +191,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Page_paste_16 {
|
internal static System.Drawing.Bitmap Famfamfam_Silk_Page_paste_16 {
|
||||||
get {
|
get {
|
||||||
@@ -191,7 +201,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Page_white_16 {
|
internal static System.Drawing.Bitmap Famfamfam_Silk_Page_white_16 {
|
||||||
get {
|
get {
|
||||||
@@ -201,7 +211,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Shape_flip_horizontal_16 {
|
internal static System.Drawing.Bitmap Famfamfam_Silk_Shape_flip_horizontal_16 {
|
||||||
get {
|
get {
|
||||||
@@ -211,7 +221,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Famfamfam_Silk_Shape_flip_vertical_16 {
|
internal static System.Drawing.Bitmap Famfamfam_Silk_Shape_flip_vertical_16 {
|
||||||
get {
|
get {
|
||||||
@@ -221,7 +231,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap file {
|
internal static System.Drawing.Bitmap file {
|
||||||
get {
|
get {
|
||||||
@@ -231,7 +241,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap folder_open {
|
internal static System.Drawing.Bitmap folder_open {
|
||||||
get {
|
get {
|
||||||
@@ -241,7 +251,17 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap folder_table {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("folder_table", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap icon {
|
internal static System.Drawing.Bitmap icon {
|
||||||
get {
|
get {
|
||||||
@@ -251,7 +271,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap icon_32 {
|
internal static System.Drawing.Bitmap icon_32 {
|
||||||
get {
|
get {
|
||||||
@@ -261,7 +281,7 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap icon_64 {
|
internal static System.Drawing.Bitmap icon_64 {
|
||||||
get {
|
get {
|
||||||
@@ -271,21 +291,131 @@ namespace McBitFont.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap Ionic_Ionicons_Invert_mode_outline_16 {
|
internal static System.Drawing.Bitmap z_align_center {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("Ionic-Ionicons-Invert-mode-outline.16", resourceCulture);
|
object obj = ResourceManager.GetObject("z_align_center", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static System.Drawing.Bitmap save {
|
internal static System.Drawing.Bitmap z_asterisk {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("save", resourceCulture);
|
object obj = ResourceManager.GetObject("z_asterisk", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_contrast {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_contrast", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_down {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_down", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_export {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_export", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_folder_image {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_folder_image", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_left {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_left", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_redo {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_redo", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_right {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_right", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_shading {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_shading", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_tick {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_tick", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_undo {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_undo", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap z_uo {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("z_uo", resourceCulture);
|
||||||
return ((System.Drawing.Bitmap)(obj));
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -118,73 +118,112 @@
|
|||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.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>
|
</resheader>
|
||||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<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">
|
<data name="z_left" 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>
|
<value>..\Resources\arrow_left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="arrow_next" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="z_export" 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>
|
<value>..\Resources\package_go.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Famfamfam-Silk-Page-copy.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="z_contrast" 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>
|
<value>..\Resources\contrast.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>
|
||||||
<data name="Famfamfam-Silk-Page-paste.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<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>
|
<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>
|
||||||
<data name="action_remove" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="folder_open" 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>
|
<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-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="arrow_inout" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\arrow_inout.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="arrow_redo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\redo.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="z_right" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\arrow_right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="calculator" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\calculator.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="z_asterisk" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\asterisk_orange.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="z_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\..\icons\famfamfam\arrow_down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="Canvas_Clear" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\Canvas_Clear.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="z_uo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\arrow_up.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>
|
||||||
<data name="file" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<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>
|
<value>..\Resources\file.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Famfamfam-Silk-Shape-flip-vertical.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="z_align_center" 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>
|
<value>..\Resources\shape_align_center.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Famfamfam-Silk-Shape-flip-horizontal.16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="z_shading" 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>
|
<value>..\Resources\shading.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="arrow_top" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="add" 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>
|
<value>..\Resources\add.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>
|
||||||
<data name="icon_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<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>
|
<value>..\Resources\icon_32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="z_undo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\arrow_undo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="z_tick" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\tick.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="z_redo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\arrow_redo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="fam_base" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\fam_base.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="fam_rectt" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\fam_rectt.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="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="Canvas_Fill" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\Canvas_Fill.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="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="z_folder_image" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\folder_image.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="arrow_undo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\undo.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">
|
<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>
|
<value>..\Resources\icon_64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="folder_table" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\folder_table.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
10
McBitFont/Properties/Settings.Designer.cs
generated
@@ -9,14 +9,14 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace McBitFont.Properties {
|
namespace McBitFont.Properties {
|
||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0")]
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
public static Settings Default {
|
public static Settings Default {
|
||||||
get {
|
get {
|
||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
|
BIN
McBitFont/Resources/Canvas_Clear.png
Normal file
After Width: | Height: | Size: 595 B |
BIN
McBitFont/Resources/Canvas_Fill.png
Normal file
After Width: | Height: | Size: 547 B |
BIN
McBitFont/Resources/add.png
Normal file
After Width: | Height: | Size: 733 B |
BIN
McBitFont/Resources/arrow_inout.png
Normal file
After Width: | Height: | Size: 551 B |
BIN
McBitFont/Resources/arrow_inout1.png
Normal file
After Width: | Height: | Size: 551 B |
BIN
McBitFont/Resources/arrow_left.png
Normal file
After Width: | Height: | Size: 344 B |
BIN
McBitFont/Resources/arrow_redo.png
Normal file
After Width: | Height: | Size: 625 B |
BIN
McBitFont/Resources/arrow_right.png
Normal file
After Width: | Height: | Size: 332 B |
BIN
McBitFont/Resources/arrow_undo.png
Normal file
After Width: | Height: | Size: 631 B |
BIN
McBitFont/Resources/arrow_up.png
Normal file
After Width: | Height: | Size: 372 B |
BIN
McBitFont/Resources/asterisk_orange.png
Normal file
After Width: | Height: | Size: 760 B |
BIN
McBitFont/Resources/calculator.png
Normal file
After Width: | Height: | Size: 543 B |
BIN
McBitFont/Resources/contrast.png
Normal file
After Width: | Height: | Size: 381 B |
BIN
McBitFont/Resources/delete.png
Normal file
After Width: | Height: | Size: 715 B |
BIN
McBitFont/Resources/fam_base.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
McBitFont/Resources/fam_rectt.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
McBitFont/Resources/folder_image.png
Normal file
After Width: | Height: | Size: 677 B |
BIN
McBitFont/Resources/folder_table.png
Normal file
After Width: | Height: | Size: 675 B |
BIN
McBitFont/Resources/package_go.png
Normal file
After Width: | Height: | Size: 898 B |
BIN
McBitFont/Resources/redo.png
Normal file
After Width: | Height: | Size: 561 B |
BIN
McBitFont/Resources/shading.png
Normal file
After Width: | Height: | Size: 225 B |
BIN
McBitFont/Resources/shape_align_center.png
Normal file
After Width: | Height: | Size: 384 B |
BIN
McBitFont/Resources/tick.png
Normal file
After Width: | Height: | Size: 537 B |
BIN
McBitFont/Resources/undo.png
Normal file
After Width: | Height: | Size: 566 B |
30
README.md
@@ -5,32 +5,46 @@ McFLY's Bit Font and Image Editor
|
|||||||
Features:
|
Features:
|
||||||
- Generate a project based on a font installed in the system
|
- Generate a project based on a font installed in the system
|
||||||
- Basic pixel manipulations: shift, flip, invert, etc...
|
- Basic pixel manipulations: shift, flip, invert, etc...
|
||||||
|
- Import an image
|
||||||
- Save / Load your project for later edits
|
- Save / Load your project for later edits
|
||||||
- Export as a C array in different formats
|
- Export as a C array in different formats
|
||||||
|
|
||||||
Requires .Net Framework 4.7+
|
Requires:
|
||||||
|
- Windows 7+
|
||||||
|
- .NET 9
|
||||||
|
|
||||||
Some basic hints on the interface:
|
Some basic hints on the interface:
|
||||||
- Mouse 1 to mark a puxel black
|
- Mouse 1 to mark a pixel black
|
||||||
- Mouse 2 to mark a puxel white
|
- Mouse 2 to mark a pixel white
|
||||||
- Drag the mouse holding a button to draw pixels
|
- Drag the mouse holding a button to draw pixels
|
||||||
- Mouse Scroll to scroll up and down
|
- Mouse Scroll to scroll up and down
|
||||||
- Crtl + scroll to zoom
|
|
||||||
- Shift + scroll to scroll left and right
|
- Shift + scroll to scroll left and right
|
||||||
|
- Crtl + scroll to zoom
|
||||||
|
|
||||||
Download in the Releases section!
|
Download in the [Releases](https://gitea.mcflyer.ru/McFLY/McBitFont/releases) section!
|
||||||
|
|
||||||
|
#### Important:
|
||||||
|
**Since v2.0 new save file format is implemented. You can use [McBitFont v1.7](https://gitea.mcflyer.ru/McFLY/McBitFont/releases/tag/v1.7) to convert old saved files to the new format.**
|
||||||
|
|
||||||
|
|
||||||
### Screenshots:
|
### Screenshots:
|
||||||
|
|
||||||
Main window
|
Main window
|
||||||
|
|
||||||

|

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

|

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

|

|
||||||
|
|
||||||
|
Import Image dialog
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Code Shift dialog
|
||||||
|
|
||||||
|

|
||||||
|
13
TODO.txt
@@ -1,16 +1,7 @@
|
|||||||
Application:
|
Application:
|
||||||
V Migrate from .Net Framework 4.7 to .NET 9
|
|
||||||
|
|
||||||
Functionality:
|
Functionality:
|
||||||
- Context menu in symbol navigator
|
|
||||||
V 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:
|
Bugs:
|
||||||
|
V EncodingProvider hotfix
|
||||||
|
V Check if frame changed before exit application
|
||||||
|
BIN
examples/tests/1310396764_rss.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
examples/tests/1310396765_msn.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
examples/tests/1310396769_gmail.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
examples/tests/1310396774_facebook.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
examples/tests/1310396812_apple.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
examples/tests/1310396820_linux.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
examples/tests/1310396823_icq.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
examples/tests/1310396825_YouTube.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
examples/tests/derevya.jpg
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
examples/tests/flipper.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
examples/tests/flipper_1.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
examples/tests/flipper_2.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
examples/tests/flipper_3.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
examples/tests/flipper_6.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
examples/tests/flipper_multiple.png
Normal file
After Width: | Height: | Size: 2.0 MiB |
BIN
examples/tests/flipper_round.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
examples/tests/panda.png
Normal file
After Width: | Height: | Size: 125 KiB |
BIN
examples/tests/single_3x5.mbfont
Normal file
BIN
examples/tests/single_5x9.mbfont
Normal file
BIN
examples/tests/test16x16.mbfont
Normal file
51
examples/tests/test16x16.txt
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
// File generated by McBitFont v2.0
|
||||||
|
// made by Anton Mukhin (mcfly@mcflyer.ru)
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Bytes total: 38
|
||||||
|
// Scan order: Columns
|
||||||
|
// Horizontal direction: Left to Right
|
||||||
|
// Vertical direction: Top to Bottom
|
||||||
|
|
||||||
|
// Bit order: LSB Top
|
||||||
|
// Numbers base: Hexadecimal
|
||||||
|
// Numbers size: 8 bit
|
||||||
|
|
||||||
|
// Text format: 1D C array
|
||||||
|
// Numbers per line: 1 Column per line
|
||||||
|
|
||||||
|
// Font header map:
|
||||||
|
// packed; // Flag for packed font
|
||||||
|
// width; // Font width in pixels (0 - variable width)
|
||||||
|
// height; // Font height in pixels
|
||||||
|
// space; // Font space in pixels
|
||||||
|
// first; // First character code
|
||||||
|
// last; // Last character code
|
||||||
|
|
||||||
|
|
||||||
|
const uint8_t test16x16[] = {
|
||||||
|
// Meta header
|
||||||
|
0, // Is it a packed font?
|
||||||
|
16, // Font width in pixels; 0 - variable width
|
||||||
|
16, // Font height in pixels
|
||||||
|
0, // Font space (between symbols) in pixels
|
||||||
|
0, // First character code
|
||||||
|
0, // Last character code
|
||||||
|
// Data:
|
||||||
|
0xfc, 0x1f,
|
||||||
|
0x00, 0x30,
|
||||||
|
0x0c, 0xe0,
|
||||||
|
0x06, 0x1c,
|
||||||
|
0x02, 0x36,
|
||||||
|
0x32, 0x23,
|
||||||
|
0x32, 0x21,
|
||||||
|
0x82, 0x21,
|
||||||
|
0x82, 0x2c,
|
||||||
|
0xc6, 0x2c,
|
||||||
|
0x64, 0x20,
|
||||||
|
0x3c, 0x30,
|
||||||
|
0x00, 0x10,
|
||||||
|
0x1f, 0x20,
|
||||||
|
0xf0, 0x3f,
|
||||||
|
0x00, 0x20
|
||||||
|
};
|
258
examples/tests/testfont.txt
Normal file
@@ -0,0 +1,258 @@
|
|||||||
|
// File generated by McBitFont v2.0
|
||||||
|
// made by Anton Mukhin (mcfly@mcflyer.ru)
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Bytes total: 1768
|
||||||
|
// Scan order: Columns
|
||||||
|
// Horizontal direction: Left to Right
|
||||||
|
// Vertical direction: Top to Bottom
|
||||||
|
|
||||||
|
// Bit order: LSB Top
|
||||||
|
// Numbers base: Hexadecimal
|
||||||
|
// Numbers size: 8 bit
|
||||||
|
|
||||||
|
// Text format: 1D C array
|
||||||
|
// Numbers per line: 1 Symbol per line
|
||||||
|
|
||||||
|
// Font header map:
|
||||||
|
// packed; // Flag for packed font// width; // Font width in pixels (0 - variable width)
|
||||||
|
// height; // Font height in pixels
|
||||||
|
// space; // Font space in pixels
|
||||||
|
// first; // First character code
|
||||||
|
// last; // Last character code
|
||||||
|
|
||||||
|
|
||||||
|
const uint8_t haxrcorp_4089_cyrillic_altgr[] = {
|
||||||
|
// Meta header
|
||||||
|
0, // Is it a packed font?
|
||||||
|
0, // Font width in pixels; 0 - variable width
|
||||||
|
10, // Font height in pixels
|
||||||
|
0, // Font space (between symbols) in pixels
|
||||||
|
32, // First character code
|
||||||
|
255, // Last character code
|
||||||
|
// Data:
|
||||||
|
0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 32 -->
|
||||||
|
0x01, 0xbe, 0x00, // 33 --> !
|
||||||
|
0x03, 0x0e, 0x00, 0x00, 0x00, 0x0e, 0x00, // 34 --> "
|
||||||
|
0x05, 0x28, 0x00, 0x7c, 0x00, 0x28, 0x00, 0x7c, 0x00, 0x28, 0x00, // 35 --> #
|
||||||
|
0x05, 0x4c, 0x00, 0x92, 0x00, 0xff, 0x01, 0x92, 0x00, 0x64, 0x00, // 36 --> $
|
||||||
|
0x07, 0x84, 0x00, 0x4a, 0x00, 0x24, 0x00, 0x10, 0x00, 0x48, 0x00, 0xa4, 0x00, 0x42, 0x00, // 37 --> %
|
||||||
|
0x06, 0x6c, 0x00, 0x92, 0x00, 0x92, 0x00, 0xac, 0x00, 0x40, 0x00, 0xb0, 0x00, // 38 --> &
|
||||||
|
0x01, 0x0e, 0x00, // 39 --> '
|
||||||
|
0x03, 0x7c, 0x00, 0x82, 0x00, 0x01, 0x01, // 40 --> (
|
||||||
|
0x03, 0x01, 0x01, 0x82, 0x00, 0x7c, 0x00, // 41 --> )
|
||||||
|
0x05, 0x14, 0x00, 0x08, 0x00, 0x3e, 0x00, 0x08, 0x00, 0x14, 0x00, // 42 --> *
|
||||||
|
0x05, 0x10, 0x00, 0x10, 0x00, 0x7c, 0x00, 0x10, 0x00, 0x10, 0x00, // 43 --> +
|
||||||
|
0x02, 0x00, 0x01, 0xc0, 0x00, // 44 --> ,
|
||||||
|
0x05, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, // 45 --> -
|
||||||
|
0x01, 0x80, 0x00, // 46 --> .
|
||||||
|
0x07, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, // 47 --> /
|
||||||
|
0x05, 0x7c, 0x00, 0xa2, 0x00, 0x92, 0x00, 0x8a, 0x00, 0x7c, 0x00, // 48 --> 0
|
||||||
|
0x02, 0x04, 0x00, 0xfe, 0x00, // 49 --> 1
|
||||||
|
0x05, 0x84, 0x00, 0xc2, 0x00, 0xa2, 0x00, 0x92, 0x00, 0x8c, 0x00, // 50 --> 2
|
||||||
|
0x05, 0x44, 0x00, 0x82, 0x00, 0x92, 0x00, 0x92, 0x00, 0x6c, 0x00, // 51 --> 3
|
||||||
|
0x05, 0x30, 0x00, 0x28, 0x00, 0x24, 0x00, 0xfe, 0x00, 0x20, 0x00, // 52 --> 4
|
||||||
|
0x05, 0x4e, 0x00, 0x8a, 0x00, 0x8a, 0x00, 0x8a, 0x00, 0x72, 0x00, // 53 --> 5
|
||||||
|
0x05, 0x7c, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x64, 0x00, // 54 --> 6
|
||||||
|
0x05, 0x02, 0x00, 0x02, 0x00, 0xc2, 0x00, 0x32, 0x00, 0x0e, 0x00, // 55 --> 7
|
||||||
|
0x05, 0x6c, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x6c, 0x00, // 56 --> 8
|
||||||
|
0x05, 0x4c, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x7c, 0x00, // 57 --> 9
|
||||||
|
0x01, 0x48, 0x00, // 58 --> :
|
||||||
|
0x02, 0x00, 0x01, 0xc8, 0x00, // 59 --> ;
|
||||||
|
0x03, 0x10, 0x00, 0x28, 0x00, 0x44, 0x00, // 60 --> <
|
||||||
|
0x05, 0x28, 0x00, 0x28, 0x00, 0x28, 0x00, 0x28, 0x00, 0x28, 0x00, // 61 --> =
|
||||||
|
0x03, 0x44, 0x00, 0x28, 0x00, 0x10, 0x00, // 62 --> >
|
||||||
|
0x05, 0x04, 0x00, 0x02, 0x00, 0xa2, 0x00, 0x12, 0x00, 0x0c, 0x00, // 63 --> ?
|
||||||
|
0x08, 0x7e, 0x00, 0x81, 0x00, 0x99, 0x00, 0xa5, 0x00, 0xa5, 0x00, 0xbd, 0x00, 0xa1, 0x00, 0x1e, 0x00, // 64 --> @
|
||||||
|
0x05, 0xfc, 0x00, 0x12, 0x00, 0x12, 0x00, 0x12, 0x00, 0xfc, 0x00, // 65 --> A
|
||||||
|
0x05, 0xfe, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x6c, 0x00, // 66 --> B
|
||||||
|
0x05, 0x7c, 0x00, 0x82, 0x00, 0x82, 0x00, 0x82, 0x00, 0x44, 0x00, // 67 --> C
|
||||||
|
0x05, 0xfe, 0x00, 0x82, 0x00, 0x82, 0x00, 0x82, 0x00, 0x7c, 0x00, // 68 --> D
|
||||||
|
0x05, 0xfe, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x82, 0x00, // 69 --> E
|
||||||
|
0x05, 0xfe, 0x00, 0x12, 0x00, 0x12, 0x00, 0x12, 0x00, 0x02, 0x00, // 70 --> F
|
||||||
|
0x05, 0x7c, 0x00, 0x82, 0x00, 0x82, 0x00, 0x92, 0x00, 0x74, 0x00, // 71 --> G
|
||||||
|
0x05, 0xfe, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0xfe, 0x00, // 72 --> H
|
||||||
|
0x01, 0xfe, 0x00, // 73 --> I
|
||||||
|
0x05, 0x40, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x7e, 0x00, // 74 --> J
|
||||||
|
0x05, 0xfe, 0x00, 0x10, 0x00, 0x28, 0x00, 0x44, 0x00, 0x82, 0x00, // 75 --> K
|
||||||
|
0x05, 0xfe, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, // 76 --> L
|
||||||
|
0x07, 0xfe, 0x00, 0x04, 0x00, 0x08, 0x00, 0x10, 0x00, 0x08, 0x00, 0x04, 0x00, 0xfe, 0x00, // 77 --> M
|
||||||
|
0x05, 0xfe, 0x00, 0x08, 0x00, 0x10, 0x00, 0x20, 0x00, 0xfe, 0x00, // 78 --> N
|
||||||
|
0x05, 0x7c, 0x00, 0x82, 0x00, 0x82, 0x00, 0x82, 0x00, 0x7c, 0x00, // 79 --> O
|
||||||
|
0x05, 0xfe, 0x00, 0x12, 0x00, 0x12, 0x00, 0x12, 0x00, 0x0c, 0x00, // 80 --> P
|
||||||
|
0x05, 0x7c, 0x00, 0x82, 0x00, 0x82, 0x00, 0x82, 0x00, 0x7c, 0x01, // 81 --> Q
|
||||||
|
0x05, 0xfe, 0x00, 0x12, 0x00, 0x32, 0x00, 0x52, 0x00, 0x8c, 0x00, // 82 --> R
|
||||||
|
0x05, 0x4c, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x64, 0x00, // 83 --> S
|
||||||
|
0x05, 0x02, 0x00, 0x02, 0x00, 0xfe, 0x00, 0x02, 0x00, 0x02, 0x00, // 84 --> T
|
||||||
|
0x05, 0x7e, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x7e, 0x00, // 85 --> U
|
||||||
|
0x05, 0x0e, 0x00, 0x30, 0x00, 0xc0, 0x00, 0x30, 0x00, 0x0e, 0x00, // 86 --> V
|
||||||
|
0x07, 0x7e, 0x00, 0x80, 0x00, 0x80, 0x00, 0x7e, 0x00, 0x80, 0x00, 0x80, 0x00, 0x7e, 0x00, // 87 --> W
|
||||||
|
0x05, 0xc6, 0x00, 0x28, 0x00, 0x10, 0x00, 0x28, 0x00, 0xc6, 0x00, // 88 --> X
|
||||||
|
0x05, 0x06, 0x00, 0x08, 0x00, 0xf0, 0x00, 0x08, 0x00, 0x06, 0x00, // 89 --> Y
|
||||||
|
0x05, 0xc2, 0x00, 0xa2, 0x00, 0x92, 0x00, 0x8a, 0x00, 0x86, 0x00, // 90 --> Z
|
||||||
|
0x03, 0xff, 0x01, 0x01, 0x01, 0x01, 0x01, // 91 --> [
|
||||||
|
0x07, 0x02, 0x00, 0x04, 0x00, 0x08, 0x00, 0x10, 0x00, 0x20, 0x00, 0x40, 0x00, 0x80, 0x00, // 92 --> \
|
||||||
|
0x03, 0x01, 0x01, 0x01, 0x01, 0xff, 0x01, // 93 --> ]
|
||||||
|
0x05, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x04, 0x00, 0x08, 0x00, // 94 --> ^
|
||||||
|
0x05, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, // 95 --> _
|
||||||
|
0x03, 0x02, 0x00, 0x04, 0x00, 0x08, 0x00, // 96 --> `
|
||||||
|
0x04, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0xf8, 0x00, // 97 --> a
|
||||||
|
0x04, 0xfe, 0x00, 0x88, 0x00, 0x88, 0x00, 0x70, 0x00, // 98 --> b
|
||||||
|
0x04, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0x50, 0x00, // 99 --> c
|
||||||
|
0x04, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0xfe, 0x00, // 100 --> d
|
||||||
|
0x04, 0x70, 0x00, 0xa8, 0x00, 0xa8, 0x00, 0x30, 0x00, // 101 --> e
|
||||||
|
0x02, 0xfc, 0x00, 0x12, 0x00, // 102 --> f
|
||||||
|
0x04, 0x70, 0x00, 0x88, 0x02, 0x88, 0x02, 0xf8, 0x01, // 103 --> g
|
||||||
|
0x04, 0xfe, 0x00, 0x08, 0x00, 0x08, 0x00, 0xf0, 0x00, // 104 --> h
|
||||||
|
0x01, 0xfa, 0x00, // 105 --> i
|
||||||
|
0x02, 0x00, 0x02, 0xfa, 0x01, // 106 --> j
|
||||||
|
0x04, 0xfe, 0x00, 0x20, 0x00, 0x50, 0x00, 0x88, 0x00, // 107 --> k
|
||||||
|
0x01, 0xfe, 0x00, // 108 --> l
|
||||||
|
0x07, 0xf8, 0x00, 0x08, 0x00, 0x08, 0x00, 0xf0, 0x00, 0x08, 0x00, 0x08, 0x00, 0xf0, 0x00, // 109 --> m
|
||||||
|
0x04, 0xf8, 0x00, 0x08, 0x00, 0x08, 0x00, 0xf0, 0x00, // 110 --> n
|
||||||
|
0x04, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0x70, 0x00, // 111 --> o
|
||||||
|
0x04, 0xf8, 0x03, 0x88, 0x00, 0x88, 0x00, 0x70, 0x00, // 112 --> p
|
||||||
|
0x04, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0xf8, 0x03, // 113 --> q
|
||||||
|
0x03, 0xf8, 0x00, 0x08, 0x00, 0x08, 0x00, // 114 --> r
|
||||||
|
0x03, 0x90, 0x00, 0xa8, 0x00, 0x48, 0x00, // 115 --> s
|
||||||
|
0x03, 0x08, 0x00, 0xfe, 0x00, 0x08, 0x00, // 116 --> t
|
||||||
|
0x04, 0x78, 0x00, 0x80, 0x00, 0x80, 0x00, 0xf8, 0x00, // 117 --> u
|
||||||
|
0x04, 0x78, 0x00, 0x80, 0x00, 0x80, 0x00, 0x78, 0x00, // 118 --> v
|
||||||
|
0x07, 0x78, 0x00, 0x80, 0x00, 0x80, 0x00, 0x78, 0x00, 0x80, 0x00, 0x80, 0x00, 0x78, 0x00, // 119 --> w
|
||||||
|
0x04, 0xd8, 0x00, 0x20, 0x00, 0x20, 0x00, 0xd8, 0x00, // 120 --> x
|
||||||
|
0x04, 0x78, 0x00, 0x80, 0x02, 0x80, 0x02, 0xf8, 0x01, // 121 --> y
|
||||||
|
0x04, 0xc8, 0x00, 0xa8, 0x00, 0xa8, 0x00, 0x98, 0x00, // 122 --> z
|
||||||
|
0x03, 0x10, 0x00, 0xee, 0x00, 0x01, 0x01, // 123 --> {
|
||||||
|
0x01, 0xff, 0x01, // 124 --> |
|
||||||
|
0x03, 0x01, 0x01, 0xee, 0x00, 0x10, 0x00, // 125 --> }
|
||||||
|
0x06, 0x10, 0x00, 0x08, 0x00, 0x08, 0x00, 0x10, 0x00, 0x10, 0x00, 0x08, 0x00, // 126 --> ~
|
||||||
|
0x00, // 127 -->
|
||||||
|
0x00, // 128 --> Ђ
|
||||||
|
0x00, // 129 --> Ѓ
|
||||||
|
0x00, // 130 --> ‚
|
||||||
|
0x00, // 131 --> ѓ
|
||||||
|
0x00, // 132 --> „
|
||||||
|
0x00, // 133 --> …
|
||||||
|
0x00, // 134 --> †
|
||||||
|
0x00, // 135 --> ‡
|
||||||
|
0x00, // 136 --> €
|
||||||
|
0x00, // 137 --> ‰
|
||||||
|
0x00, // 138 --> Љ
|
||||||
|
0x00, // 139 --> ‹
|
||||||
|
0x00, // 140 --> Њ
|
||||||
|
0x00, // 141 --> Ќ
|
||||||
|
0x00, // 142 --> Ћ
|
||||||
|
0x00, // 143 --> Џ
|
||||||
|
0x00, // 144 --> ђ
|
||||||
|
0x00, // 145 --> ‘
|
||||||
|
0x00, // 146 --> ’
|
||||||
|
0x00, // 147 --> “
|
||||||
|
0x00, // 148 --> ”
|
||||||
|
0x04, 0x30, 0x00, 0x78, 0x00, 0x78, 0x00, 0x30, 0x00, // 149 --> •
|
||||||
|
0x00, // 150 --> –
|
||||||
|
0x00, // 151 --> —
|
||||||
|
0x00, // 152 -->
|
||||||
|
0x00, // 153 --> ™
|
||||||
|
0x00, // 154 --> љ
|
||||||
|
0x00, // 155 --> ›
|
||||||
|
0x00, // 156 --> њ
|
||||||
|
0x00, // 157 --> ќ
|
||||||
|
0x00, // 158 --> ћ
|
||||||
|
0x00, // 159 --> џ
|
||||||
|
0x00, // 160 -->
|
||||||
|
0x00, // 161 --> Ў
|
||||||
|
0x00, // 162 --> ў
|
||||||
|
0x00, // 163 --> Ј
|
||||||
|
0x00, // 164 --> ¤
|
||||||
|
0x00, // 165 --> Ґ
|
||||||
|
0x01, 0xef, 0x01, // 166 --> ¦
|
||||||
|
0x00, // 167 --> §
|
||||||
|
0x00, // 168 --> Ё
|
||||||
|
0x07, 0x7c, 0x00, 0x82, 0x00, 0xba, 0x00, 0xaa, 0x00, 0xaa, 0x00, 0x82, 0x00, 0x7c, 0x00, // 169 --> ©
|
||||||
|
0x00, // 170 --> Є
|
||||||
|
0x00, // 171 --> «
|
||||||
|
0x00, // 172 --> ¬
|
||||||
|
0x00, // 173 -->
|
||||||
|
0x00, // 174 --> ®
|
||||||
|
0x00, // 175 --> Ї
|
||||||
|
0x04, 0x06, 0x00, 0x09, 0x00, 0x09, 0x00, 0x06, 0x00, // 176 --> °
|
||||||
|
0x05, 0x88, 0x00, 0x88, 0x00, 0xbe, 0x00, 0x88, 0x00, 0x88, 0x00, // 177 --> ±
|
||||||
|
0x04, 0x12, 0x00, 0x19, 0x00, 0x15, 0x00, 0x12, 0x00, // 178 --> І
|
||||||
|
0x00, // 179 --> і
|
||||||
|
0x00, // 180 --> ґ
|
||||||
|
0x00, // 181 --> µ
|
||||||
|
0x00, // 182 --> ¶
|
||||||
|
0x00, // 183 --> ·
|
||||||
|
0x00, // 184 --> ё
|
||||||
|
0x08, 0xfe, 0x00, 0x08, 0x00, 0x10, 0x00, 0x20, 0x00, 0xfe, 0x00, 0x24, 0x00, 0x2a, 0x00, 0x24, 0x00, // 185 --> №
|
||||||
|
0x00, // 186 --> є
|
||||||
|
0x00, // 187 --> »
|
||||||
|
0x00, // 188 --> ј
|
||||||
|
0x00, // 189 --> Ѕ
|
||||||
|
0x00, // 190 --> ѕ
|
||||||
|
0x00, // 191 --> ї
|
||||||
|
0x05, 0xfc, 0x00, 0x12, 0x00, 0x12, 0x00, 0x12, 0x00, 0xfc, 0x00, // 192 --> А
|
||||||
|
0x05, 0xfe, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x62, 0x00, // 193 --> Б
|
||||||
|
0x05, 0xfe, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x6c, 0x00, // 194 --> В
|
||||||
|
0x05, 0xfe, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, // 195 --> Г
|
||||||
|
0x07, 0x80, 0x01, 0xfc, 0x00, 0x82, 0x00, 0x82, 0x00, 0x82, 0x00, 0xfc, 0x00, 0x80, 0x01, // 196 --> Д
|
||||||
|
0x05, 0xfe, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x82, 0x00, // 197 --> Е
|
||||||
|
0x07, 0xee, 0x00, 0x10, 0x00, 0x10, 0x00, 0xfe, 0x00, 0x10, 0x00, 0x10, 0x00, 0xee, 0x00, // 198 --> Ж
|
||||||
|
0x05, 0x44, 0x00, 0x92, 0x00, 0x92, 0x00, 0x92, 0x00, 0x6c, 0x00, // 199 --> З
|
||||||
|
0x05, 0xfe, 0x00, 0x20, 0x00, 0x10, 0x00, 0x08, 0x00, 0xfe, 0x00, // 200 --> И
|
||||||
|
0x05, 0xfc, 0x00, 0x21, 0x00, 0x12, 0x00, 0x09, 0x00, 0xfc, 0x00, // 201 --> Й
|
||||||
|
0x05, 0xfe, 0x00, 0x10, 0x00, 0x28, 0x00, 0x44, 0x00, 0x82, 0x00, // 202 --> К
|
||||||
|
0x05, 0x80, 0x00, 0x7c, 0x00, 0x02, 0x00, 0x02, 0x00, 0xfe, 0x00, // 203 --> Л
|
||||||
|
0x07, 0xfe, 0x00, 0x04, 0x00, 0x08, 0x00, 0x10, 0x00, 0x08, 0x00, 0x04, 0x00, 0xfe, 0x00, // 204 --> М
|
||||||
|
0x05, 0xfe, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0xfe, 0x00, // 205 --> Н
|
||||||
|
0x05, 0x7c, 0x00, 0x82, 0x00, 0x82, 0x00, 0x82, 0x00, 0x7c, 0x00, // 206 --> О
|
||||||
|
0x05, 0xfe, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0xfe, 0x00, // 207 --> П
|
||||||
|
0x05, 0xfe, 0x00, 0x12, 0x00, 0x12, 0x00, 0x12, 0x00, 0x0c, 0x00, // 208 --> Р
|
||||||
|
0x05, 0x7c, 0x00, 0x82, 0x00, 0x82, 0x00, 0x82, 0x00, 0x44, 0x00, // 209 --> С
|
||||||
|
0x05, 0x02, 0x00, 0x02, 0x00, 0xfe, 0x00, 0x02, 0x00, 0x02, 0x00, // 210 --> Т
|
||||||
|
0x05, 0x4e, 0x00, 0x90, 0x00, 0x90, 0x00, 0x90, 0x00, 0x7e, 0x00, // 211 --> У
|
||||||
|
0x07, 0x7c, 0x00, 0x82, 0x00, 0x82, 0x00, 0xff, 0x01, 0x82, 0x00, 0x82, 0x00, 0x7c, 0x00, // 212 --> Ф
|
||||||
|
0x05, 0xc6, 0x00, 0x28, 0x00, 0x10, 0x00, 0x28, 0x00, 0xc6, 0x00, // 213 --> Х
|
||||||
|
0x06, 0xfe, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0xfe, 0x00, 0x80, 0x01, // 214 --> Ц
|
||||||
|
0x05, 0x0e, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0xfe, 0x00, // 215 --> Ч
|
||||||
|
0x07, 0xfe, 0x00, 0x80, 0x00, 0x80, 0x00, 0xfe, 0x00, 0x80, 0x00, 0x80, 0x00, 0xfe, 0x00, // 216 --> Ш
|
||||||
|
0x08, 0xfe, 0x00, 0x80, 0x00, 0x80, 0x00, 0xfe, 0x00, 0x80, 0x00, 0x80, 0x00, 0xfe, 0x00, 0x80, 0x01, // 217 --> Щ
|
||||||
|
0x07, 0x02, 0x00, 0x02, 0x00, 0xfe, 0x00, 0x90, 0x00, 0x90, 0x00, 0x90, 0x00, 0x60, 0x00, // 218 --> Ъ
|
||||||
|
0x07, 0xfe, 0x00, 0x90, 0x00, 0x90, 0x00, 0x90, 0x00, 0x60, 0x00, 0x00, 0x00, 0xfe, 0x00, // 219 --> Ы
|
||||||
|
0x05, 0xfe, 0x00, 0x90, 0x00, 0x90, 0x00, 0x90, 0x00, 0x60, 0x00, // 220 --> Ь
|
||||||
|
0x05, 0x44, 0x00, 0x82, 0x00, 0x92, 0x00, 0x92, 0x00, 0x7c, 0x00, // 221 --> Э
|
||||||
|
0x08, 0xfe, 0x00, 0x10, 0x00, 0x10, 0x00, 0x7c, 0x00, 0x82, 0x00, 0x82, 0x00, 0x82, 0x00, 0x7c, 0x00, // 222 --> Ю
|
||||||
|
0x05, 0x8c, 0x00, 0x52, 0x00, 0x32, 0x00, 0x12, 0x00, 0xfe, 0x00, // 223 --> Я
|
||||||
|
0x04, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0xf8, 0x00, // 224 --> а
|
||||||
|
0x04, 0x7c, 0x00, 0x8a, 0x00, 0x8a, 0x00, 0x72, 0x00, // 225 --> б
|
||||||
|
0x04, 0xf8, 0x00, 0xa8, 0x00, 0xa8, 0x00, 0x50, 0x00, // 226 --> в
|
||||||
|
0x04, 0xf8, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, // 227 --> г
|
||||||
|
0x06, 0x80, 0x01, 0xf0, 0x00, 0x88, 0x00, 0x88, 0x00, 0xf0, 0x00, 0x80, 0x01, // 228 --> д
|
||||||
|
0x04, 0x70, 0x00, 0xa8, 0x00, 0xa8, 0x00, 0x30, 0x00, // 229 --> е
|
||||||
|
0x07, 0xd8, 0x00, 0x20, 0x00, 0x20, 0x00, 0xf8, 0x00, 0x20, 0x00, 0x20, 0x00, 0xd8, 0x00, // 230 --> ж
|
||||||
|
0x04, 0x50, 0x00, 0x88, 0x00, 0xa8, 0x00, 0x50, 0x00, // 231 --> з
|
||||||
|
0x05, 0xf8, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0xf8, 0x00, // 232 --> и
|
||||||
|
0x05, 0xf8, 0x00, 0x41, 0x00, 0x22, 0x00, 0x11, 0x00, 0xf8, 0x00, // 233 --> й
|
||||||
|
0x04, 0xf8, 0x00, 0x20, 0x00, 0x50, 0x00, 0x88, 0x00, // 234 --> к
|
||||||
|
0x04, 0x80, 0x00, 0x70, 0x00, 0x08, 0x00, 0xf8, 0x00, // 235 --> л
|
||||||
|
0x05, 0xf8, 0x00, 0x10, 0x00, 0x20, 0x00, 0x10, 0x00, 0xf8, 0x00, // 236 --> м
|
||||||
|
0x04, 0xf8, 0x00, 0x20, 0x00, 0x20, 0x00, 0xf8, 0x00, // 237 --> н
|
||||||
|
0x04, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0x70, 0x00, // 238 --> о
|
||||||
|
0x04, 0xf8, 0x00, 0x08, 0x00, 0x08, 0x00, 0xf8, 0x00, // 239 --> п
|
||||||
|
0x04, 0xf8, 0x03, 0x88, 0x00, 0x88, 0x00, 0x70, 0x00, // 240 --> р
|
||||||
|
0x04, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0x50, 0x00, // 241 --> с
|
||||||
|
0x05, 0x08, 0x00, 0x08, 0x00, 0xf8, 0x00, 0x08, 0x00, 0x08, 0x00, // 242 --> т
|
||||||
|
0x04, 0x78, 0x00, 0x80, 0x02, 0x80, 0x02, 0xf8, 0x01, // 243 --> у
|
||||||
|
0x07, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0xfe, 0x03, 0x88, 0x00, 0x88, 0x00, 0x70, 0x00, // 244 --> ф
|
||||||
|
0x04, 0xd8, 0x00, 0x20, 0x00, 0x20, 0x00, 0xd8, 0x00, // 245 --> х
|
||||||
|
0x05, 0xf8, 0x00, 0x80, 0x00, 0x80, 0x00, 0xf8, 0x00, 0x80, 0x01, // 246 --> ц
|
||||||
|
0x04, 0x18, 0x00, 0x20, 0x00, 0x20, 0x00, 0xf8, 0x00, // 247 --> ч
|
||||||
|
0x07, 0xf8, 0x00, 0x80, 0x00, 0x80, 0x00, 0xf8, 0x00, 0x80, 0x00, 0x80, 0x00, 0xf8, 0x00, // 248 --> ш
|
||||||
|
0x08, 0xf8, 0x00, 0x80, 0x00, 0x80, 0x00, 0xf8, 0x00, 0x80, 0x00, 0x80, 0x00, 0xf8, 0x00, 0x80, 0x01, // 249 --> щ
|
||||||
|
0x05, 0x08, 0x00, 0xf8, 0x00, 0xa0, 0x00, 0xa0, 0x00, 0x40, 0x00, // 250 --> ъ
|
||||||
|
0x06, 0xf8, 0x00, 0xa0, 0x00, 0xa0, 0x00, 0x40, 0x00, 0x00, 0x00, 0xf8, 0x00, // 251 --> ы
|
||||||
|
0x04, 0xf8, 0x00, 0xa0, 0x00, 0xa0, 0x00, 0x40, 0x00, // 252 --> ь
|
||||||
|
0x04, 0x50, 0x00, 0x88, 0x00, 0xa8, 0x00, 0x70, 0x00, // 253 --> э
|
||||||
|
0x06, 0xf8, 0x00, 0x20, 0x00, 0x70, 0x00, 0x88, 0x00, 0x88, 0x00, 0x70, 0x00, // 254 --> ю
|
||||||
|
0x04, 0x90, 0x00, 0x68, 0x00, 0x28, 0x00, 0xf8, 0x00 // 255 --> я
|
||||||
|
};
|
259
examples/tests/testfont_packed.txt
Normal file
@@ -0,0 +1,259 @@
|
|||||||
|
// File generated by McBitFont v2.0
|
||||||
|
// made by Anton Mukhin (mcfly@mcflyer.ru)
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Bytes total: 1264
|
||||||
|
// Scan order: Columns
|
||||||
|
// Horizontal direction: Left to Right
|
||||||
|
// Vertical direction: Top to Bottom
|
||||||
|
|
||||||
|
// Bit order: LSB Top
|
||||||
|
// Numbers base: Hexadecimal
|
||||||
|
// Numbers size: 8 bit
|
||||||
|
|
||||||
|
// Text format: 1D C array
|
||||||
|
// Numbers per line: 1 Symbol per line
|
||||||
|
|
||||||
|
// Font header map:
|
||||||
|
// packed; // Flag for packed font
|
||||||
|
// width; // Font width in pixels (0 - variable width)
|
||||||
|
// height; // Font height in pixels
|
||||||
|
// space; // Font space in pixels
|
||||||
|
// first; // First character code
|
||||||
|
// last; // Last character code
|
||||||
|
|
||||||
|
|
||||||
|
const uint8_t haxrcorp_4089_cyrillic_altgr[] = {
|
||||||
|
// Meta header
|
||||||
|
1, // Is it a packed font?
|
||||||
|
0, // Font width in pixels; 0 - variable width
|
||||||
|
10, // Font height in pixels
|
||||||
|
0, // Font space (between symbols) in pixels
|
||||||
|
32, // First character code
|
||||||
|
255, // Last character code
|
||||||
|
// Data:
|
||||||
|
0x03, 0x00, 0x00, 0x00, 0x00, // 32 -->
|
||||||
|
0x01, 0xbe, 0x00, // 33 --> !
|
||||||
|
0x03, 0x0e, 0x00, 0xe0, 0x00, // 34 --> "
|
||||||
|
0x05, 0x28, 0xf0, 0x81, 0x02, 0x1f, 0x28, 0x00, // 35 --> #
|
||||||
|
0x05, 0x4c, 0x48, 0xf2, 0x9f, 0x24, 0x64, 0x00, // 36 --> $
|
||||||
|
0x07, 0x84, 0x28, 0x41, 0x02, 0x04, 0x48, 0x90, 0x22, 0x04, // 37 --> %
|
||||||
|
0x06, 0x6c, 0x48, 0x22, 0x09, 0x2b, 0x40, 0xc0, 0x02, // 38 --> &
|
||||||
|
0x01, 0x0e, 0x00, // 39 --> '
|
||||||
|
0x03, 0x7c, 0x08, 0x12, 0x10, // 40 --> (
|
||||||
|
0x03, 0x01, 0x09, 0xc2, 0x07, // 41 --> )
|
||||||
|
0x05, 0x14, 0x20, 0xe0, 0x03, 0x02, 0x14, 0x00, // 42 --> *
|
||||||
|
0x05, 0x10, 0x40, 0xc0, 0x07, 0x04, 0x10, 0x00, // 43 --> +
|
||||||
|
0x02, 0x00, 0x01, 0x03, // 44 --> ,
|
||||||
|
0x05, 0x10, 0x40, 0x00, 0x01, 0x04, 0x10, 0x00, // 45 --> -
|
||||||
|
0x01, 0x80, 0x00, // 46 --> .
|
||||||
|
0x07, 0x80, 0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x00, // 47 --> /
|
||||||
|
0x05, 0x7c, 0x88, 0x22, 0x89, 0x22, 0x7c, 0x00, // 48 --> 0
|
||||||
|
0x02, 0x04, 0xf8, 0x03, // 49 --> 1
|
||||||
|
0x05, 0x84, 0x08, 0x23, 0x8a, 0x24, 0x8c, 0x00, // 50 --> 2
|
||||||
|
0x05, 0x44, 0x08, 0x22, 0x89, 0x24, 0x6c, 0x00, // 51 --> 3
|
||||||
|
0x05, 0x30, 0xa0, 0x40, 0x82, 0x3f, 0x20, 0x00, // 52 --> 4
|
||||||
|
0x05, 0x4e, 0x28, 0xa2, 0x88, 0x22, 0x72, 0x00, // 53 --> 5
|
||||||
|
0x05, 0x7c, 0x48, 0x22, 0x89, 0x24, 0x64, 0x00, // 54 --> 6
|
||||||
|
0x05, 0x02, 0x08, 0x20, 0x8c, 0x0c, 0x0e, 0x00, // 55 --> 7
|
||||||
|
0x05, 0x6c, 0x48, 0x22, 0x89, 0x24, 0x6c, 0x00, // 56 --> 8
|
||||||
|
0x05, 0x4c, 0x48, 0x22, 0x89, 0x24, 0x7c, 0x00, // 57 --> 9
|
||||||
|
0x01, 0x48, 0x00, // 58 --> :
|
||||||
|
0x02, 0x00, 0x21, 0x03, // 59 --> ;
|
||||||
|
0x03, 0x10, 0xa0, 0x40, 0x04, // 60 --> <
|
||||||
|
0x05, 0x28, 0xa0, 0x80, 0x02, 0x0a, 0x28, 0x00, // 61 --> =
|
||||||
|
0x03, 0x44, 0xa0, 0x00, 0x01, // 62 --> >
|
||||||
|
0x05, 0x04, 0x08, 0x20, 0x8a, 0x04, 0x0c, 0x00, // 63 --> ?
|
||||||
|
0x08, 0x7e, 0x04, 0x92, 0x49, 0x29, 0xa5, 0xf4, 0x12, 0x8a, 0x07, // 64 --> @
|
||||||
|
0x05, 0xfc, 0x48, 0x20, 0x81, 0x04, 0xfc, 0x00, // 65 --> A
|
||||||
|
0x05, 0xfe, 0x48, 0x22, 0x89, 0x24, 0x6c, 0x00, // 66 --> B
|
||||||
|
0x05, 0x7c, 0x08, 0x22, 0x88, 0x20, 0x44, 0x00, // 67 --> C
|
||||||
|
0x05, 0xfe, 0x08, 0x22, 0x88, 0x20, 0x7c, 0x00, // 68 --> D
|
||||||
|
0x05, 0xfe, 0x48, 0x22, 0x89, 0x24, 0x82, 0x00, // 69 --> E
|
||||||
|
0x05, 0xfe, 0x48, 0x20, 0x81, 0x04, 0x02, 0x00, // 70 --> F
|
||||||
|
0x05, 0x7c, 0x08, 0x22, 0x88, 0x24, 0x74, 0x00, // 71 --> G
|
||||||
|
0x05, 0xfe, 0x40, 0x00, 0x01, 0x04, 0xfe, 0x00, // 72 --> H
|
||||||
|
0x01, 0xfe, 0x00, // 73 --> I
|
||||||
|
0x05, 0x40, 0x00, 0x02, 0x08, 0x20, 0x7e, 0x00, // 74 --> J
|
||||||
|
0x05, 0xfe, 0x40, 0x80, 0x02, 0x11, 0x82, 0x00, // 75 --> K
|
||||||
|
0x05, 0xfe, 0x00, 0x02, 0x08, 0x20, 0x80, 0x00, // 76 --> L
|
||||||
|
0x07, 0xfe, 0x10, 0x80, 0x00, 0x04, 0x08, 0x10, 0xe0, 0x0f, // 77 --> M
|
||||||
|
0x05, 0xfe, 0x20, 0x00, 0x01, 0x08, 0xfe, 0x00, // 78 --> N
|
||||||
|
0x05, 0x7c, 0x08, 0x22, 0x88, 0x20, 0x7c, 0x00, // 79 --> O
|
||||||
|
0x05, 0xfe, 0x48, 0x20, 0x81, 0x04, 0x0c, 0x00, // 80 --> P
|
||||||
|
0x05, 0x7c, 0x08, 0x22, 0x88, 0x20, 0x7c, 0x01, // 81 --> Q
|
||||||
|
0x05, 0xfe, 0x48, 0x20, 0x83, 0x14, 0x8c, 0x00, // 82 --> R
|
||||||
|
0x05, 0x4c, 0x48, 0x22, 0x89, 0x24, 0x64, 0x00, // 83 --> S
|
||||||
|
0x05, 0x02, 0x08, 0xe0, 0x8f, 0x00, 0x02, 0x00, // 84 --> T
|
||||||
|
0x05, 0x7e, 0x00, 0x02, 0x08, 0x20, 0x7e, 0x00, // 85 --> U
|
||||||
|
0x05, 0x0e, 0xc0, 0x00, 0x0c, 0x0c, 0x0e, 0x00, // 86 --> V
|
||||||
|
0x07, 0x7e, 0x00, 0x02, 0x88, 0x1f, 0x80, 0x00, 0xe2, 0x07, // 87 --> W
|
||||||
|
0x05, 0xc6, 0xa0, 0x00, 0x01, 0x0a, 0xc6, 0x00, // 88 --> X
|
||||||
|
0x05, 0x06, 0x20, 0x00, 0x0f, 0x02, 0x06, 0x00, // 89 --> Y
|
||||||
|
0x05, 0xc2, 0x88, 0x22, 0x89, 0x22, 0x86, 0x00, // 90 --> Z
|
||||||
|
0x03, 0xff, 0x05, 0x14, 0x10, // 91 --> [
|
||||||
|
0x07, 0x02, 0x10, 0x80, 0x00, 0x04, 0x20, 0x00, 0x01, 0x08, // 92 --> \
|
||||||
|
0x03, 0x01, 0x05, 0xf4, 0x1f, // 93 --> ]
|
||||||
|
0x05, 0x08, 0x10, 0x20, 0x00, 0x01, 0x08, 0x00, // 94 --> ^
|
||||||
|
0x05, 0x80, 0x00, 0x02, 0x08, 0x20, 0x80, 0x00, // 95 --> _
|
||||||
|
0x03, 0x02, 0x10, 0x80, 0x00, // 96 --> `
|
||||||
|
0x04, 0x70, 0x20, 0x82, 0x08, 0x3e, // 97 --> a
|
||||||
|
0x04, 0xfe, 0x20, 0x82, 0x08, 0x1c, // 98 --> b
|
||||||
|
0x04, 0x70, 0x20, 0x82, 0x08, 0x14, // 99 --> c
|
||||||
|
0x04, 0x70, 0x20, 0x82, 0x88, 0x3f, // 100 --> d
|
||||||
|
0x04, 0x70, 0xa0, 0x82, 0x0a, 0x0c, // 101 --> e
|
||||||
|
0x02, 0xfc, 0x48, 0x00, // 102 --> f
|
||||||
|
0x04, 0x70, 0x20, 0x8a, 0x28, 0x7e, // 103 --> g
|
||||||
|
0x04, 0xfe, 0x20, 0x80, 0x00, 0x3c, // 104 --> h
|
||||||
|
0x01, 0xfa, 0x00, // 105 --> i
|
||||||
|
0x02, 0x00, 0xea, 0x07, // 106 --> j
|
||||||
|
0x04, 0xfe, 0x80, 0x00, 0x05, 0x22, // 107 --> k
|
||||||
|
0x01, 0xfe, 0x00, // 108 --> l
|
||||||
|
0x07, 0xf8, 0x20, 0x80, 0x00, 0x3c, 0x08, 0x20, 0x00, 0x0f, // 109 --> m
|
||||||
|
0x04, 0xf8, 0x20, 0x80, 0x00, 0x3c, // 110 --> n
|
||||||
|
0x04, 0x70, 0x20, 0x82, 0x08, 0x1c, // 111 --> o
|
||||||
|
0x04, 0xf8, 0x23, 0x82, 0x08, 0x1c, // 112 --> p
|
||||||
|
0x04, 0x70, 0x20, 0x82, 0x08, 0xfe, // 113 --> q
|
||||||
|
0x03, 0xf8, 0x20, 0x80, 0x00, // 114 --> r
|
||||||
|
0x03, 0x90, 0xa0, 0x82, 0x04, // 115 --> s
|
||||||
|
0x03, 0x08, 0xf8, 0x83, 0x00, // 116 --> t
|
||||||
|
0x04, 0x78, 0x00, 0x02, 0x08, 0x3e, // 117 --> u
|
||||||
|
0x04, 0x78, 0x00, 0x02, 0x08, 0x1e, // 118 --> v
|
||||||
|
0x07, 0x78, 0x00, 0x02, 0x08, 0x1e, 0x80, 0x00, 0x82, 0x07, // 119 --> w
|
||||||
|
0x04, 0xd8, 0x80, 0x00, 0x02, 0x36, // 120 --> x
|
||||||
|
0x04, 0x78, 0x00, 0x0a, 0x28, 0x7e, // 121 --> y
|
||||||
|
0x04, 0xc8, 0xa0, 0x82, 0x0a, 0x26, // 122 --> z
|
||||||
|
0x03, 0x10, 0xb8, 0x13, 0x10, // 123 --> {
|
||||||
|
0x01, 0xff, 0x01, // 124 --> |
|
||||||
|
0x03, 0x01, 0xb9, 0x03, 0x01, // 125 --> }
|
||||||
|
0x06, 0x10, 0x20, 0x80, 0x00, 0x04, 0x10, 0x20, 0x00, // 126 --> ~
|
||||||
|
0x00, // 127 -->
|
||||||
|
0x00, // 128 --> Ђ
|
||||||
|
0x00, // 129 --> Ѓ
|
||||||
|
0x00, // 130 --> ‚
|
||||||
|
0x00, // 131 --> ѓ
|
||||||
|
0x00, // 132 --> „
|
||||||
|
0x00, // 133 --> …
|
||||||
|
0x00, // 134 --> †
|
||||||
|
0x00, // 135 --> ‡
|
||||||
|
0x00, // 136 --> €
|
||||||
|
0x00, // 137 --> ‰
|
||||||
|
0x00, // 138 --> Љ
|
||||||
|
0x00, // 139 --> ‹
|
||||||
|
0x00, // 140 --> Њ
|
||||||
|
0x00, // 141 --> Ќ
|
||||||
|
0x00, // 142 --> Ћ
|
||||||
|
0x00, // 143 --> Џ
|
||||||
|
0x00, // 144 --> ђ
|
||||||
|
0x00, // 145 --> ‘
|
||||||
|
0x00, // 146 --> ’
|
||||||
|
0x00, // 147 --> “
|
||||||
|
0x00, // 148 --> ”
|
||||||
|
0x04, 0x30, 0xe0, 0x81, 0x07, 0x0c, // 149 --> •
|
||||||
|
0x00, // 150 --> –
|
||||||
|
0x00, // 151 --> —
|
||||||
|
0x00, // 152 -->
|
||||||
|
0x00, // 153 --> ™
|
||||||
|
0x00, // 154 --> љ
|
||||||
|
0x00, // 155 --> ›
|
||||||
|
0x00, // 156 --> њ
|
||||||
|
0x00, // 157 --> ќ
|
||||||
|
0x00, // 158 --> ћ
|
||||||
|
0x00, // 159 --> џ
|
||||||
|
0x00, // 160 -->
|
||||||
|
0x00, // 161 --> Ў
|
||||||
|
0x00, // 162 --> ў
|
||||||
|
0x00, // 163 --> Ј
|
||||||
|
0x00, // 164 --> ¤
|
||||||
|
0x00, // 165 --> Ґ
|
||||||
|
0x01, 0xef, 0x01, // 166 --> ¦
|
||||||
|
0x00, // 167 --> §
|
||||||
|
0x00, // 168 --> Ё
|
||||||
|
0x07, 0x7c, 0x08, 0xa2, 0x8b, 0x2a, 0xaa, 0x08, 0xc2, 0x07, // 169 --> ©
|
||||||
|
0x00, // 170 --> Є
|
||||||
|
0x00, // 171 --> «
|
||||||
|
0x00, // 172 --> ¬
|
||||||
|
0x00, // 173 -->
|
||||||
|
0x00, // 174 --> ®
|
||||||
|
0x00, // 175 --> Ї
|
||||||
|
0x04, 0x06, 0x24, 0x90, 0x80, 0x01, // 176 --> °
|
||||||
|
0x05, 0x88, 0x20, 0xe2, 0x0b, 0x22, 0x88, 0x00, // 177 --> ±
|
||||||
|
0x04, 0x12, 0x64, 0x50, 0x81, 0x04, // 178 --> І
|
||||||
|
0x00, // 179 --> і
|
||||||
|
0x00, // 180 --> ґ
|
||||||
|
0x00, // 181 --> µ
|
||||||
|
0x00, // 182 --> ¶
|
||||||
|
0x00, // 183 --> ·
|
||||||
|
0x00, // 184 --> ё
|
||||||
|
0x08, 0xfe, 0x20, 0x00, 0x01, 0x08, 0xfe, 0x90, 0xa0, 0x02, 0x09, // 185 --> №
|
||||||
|
0x00, // 186 --> є
|
||||||
|
0x00, // 187 --> »
|
||||||
|
0x00, // 188 --> ј
|
||||||
|
0x00, // 189 --> Ѕ
|
||||||
|
0x00, // 190 --> ѕ
|
||||||
|
0x00, // 191 --> ї
|
||||||
|
0x05, 0xfc, 0x48, 0x20, 0x81, 0x04, 0xfc, 0x00, // 192 --> А
|
||||||
|
0x05, 0xfe, 0x48, 0x22, 0x89, 0x24, 0x62, 0x00, // 193 --> Б
|
||||||
|
0x05, 0xfe, 0x48, 0x22, 0x89, 0x24, 0x6c, 0x00, // 194 --> В
|
||||||
|
0x05, 0xfe, 0x08, 0x20, 0x80, 0x00, 0x02, 0x00, // 195 --> Г
|
||||||
|
0x07, 0x80, 0xf1, 0x23, 0x88, 0x20, 0x82, 0xf0, 0x03, 0x18, // 196 --> Д
|
||||||
|
0x05, 0xfe, 0x48, 0x22, 0x89, 0x24, 0x82, 0x00, // 197 --> Е
|
||||||
|
0x07, 0xee, 0x40, 0x00, 0x81, 0x3f, 0x10, 0x40, 0xe0, 0x0e, // 198 --> Ж
|
||||||
|
0x05, 0x44, 0x48, 0x22, 0x89, 0x24, 0x6c, 0x00, // 199 --> З
|
||||||
|
0x05, 0xfe, 0x80, 0x00, 0x01, 0x02, 0xfe, 0x00, // 200 --> И
|
||||||
|
0x05, 0xfc, 0x84, 0x20, 0x41, 0x02, 0xfc, 0x00, // 201 --> Й
|
||||||
|
0x05, 0xfe, 0x40, 0x80, 0x02, 0x11, 0x82, 0x00, // 202 --> К
|
||||||
|
0x05, 0x80, 0xf0, 0x21, 0x80, 0x00, 0xfe, 0x00, // 203 --> Л
|
||||||
|
0x07, 0xfe, 0x10, 0x80, 0x00, 0x04, 0x08, 0x10, 0xe0, 0x0f, // 204 --> М
|
||||||
|
0x05, 0xfe, 0x40, 0x00, 0x01, 0x04, 0xfe, 0x00, // 205 --> Н
|
||||||
|
0x05, 0x7c, 0x08, 0x22, 0x88, 0x20, 0x7c, 0x00, // 206 --> О
|
||||||
|
0x05, 0xfe, 0x08, 0x20, 0x80, 0x00, 0xfe, 0x00, // 207 --> П
|
||||||
|
0x05, 0xfe, 0x48, 0x20, 0x81, 0x04, 0x0c, 0x00, // 208 --> Р
|
||||||
|
0x05, 0x7c, 0x08, 0x22, 0x88, 0x20, 0x44, 0x00, // 209 --> С
|
||||||
|
0x05, 0x02, 0x08, 0xe0, 0x8f, 0x00, 0x02, 0x00, // 210 --> Т
|
||||||
|
0x05, 0x4e, 0x40, 0x02, 0x09, 0x24, 0x7e, 0x00, // 211 --> У
|
||||||
|
0x07, 0x7c, 0x08, 0x22, 0xc8, 0x7f, 0x82, 0x08, 0xc2, 0x07, // 212 --> Ф
|
||||||
|
0x05, 0xc6, 0xa0, 0x00, 0x01, 0x0a, 0xc6, 0x00, // 213 --> Х
|
||||||
|
0x06, 0xfe, 0x00, 0x02, 0x08, 0x20, 0xfe, 0x00, 0x06, // 214 --> Ц
|
||||||
|
0x05, 0x0e, 0x40, 0x00, 0x01, 0x04, 0xfe, 0x00, // 215 --> Ч
|
||||||
|
0x07, 0xfe, 0x00, 0x02, 0x88, 0x3f, 0x80, 0x00, 0xe2, 0x0f, // 216 --> Ш
|
||||||
|
0x08, 0xfe, 0x00, 0x02, 0x88, 0x3f, 0x80, 0x00, 0xe2, 0x0f, 0x60, // 217 --> Щ
|
||||||
|
0x07, 0x02, 0x08, 0xe0, 0x0f, 0x24, 0x90, 0x40, 0x02, 0x06, // 218 --> Ъ
|
||||||
|
0x07, 0xfe, 0x40, 0x02, 0x09, 0x24, 0x60, 0x00, 0xe0, 0x0f, // 219 --> Ы
|
||||||
|
0x05, 0xfe, 0x40, 0x02, 0x09, 0x24, 0x60, 0x00, // 220 --> Ь
|
||||||
|
0x05, 0x44, 0x08, 0x22, 0x89, 0x24, 0x7c, 0x00, // 221 --> Э
|
||||||
|
0x08, 0xfe, 0x40, 0x00, 0x01, 0x1f, 0x82, 0x08, 0x22, 0x08, 0x1f, // 222 --> Ю
|
||||||
|
0x05, 0x8c, 0x48, 0x21, 0x83, 0x04, 0xfe, 0x00, // 223 --> Я
|
||||||
|
0x04, 0x70, 0x20, 0x82, 0x08, 0x3e, // 224 --> а
|
||||||
|
0x04, 0x7c, 0x28, 0xa2, 0x88, 0x1c, // 225 --> б
|
||||||
|
0x04, 0xf8, 0xa0, 0x82, 0x0a, 0x14, // 226 --> в
|
||||||
|
0x04, 0xf8, 0x20, 0x80, 0x00, 0x02, // 227 --> г
|
||||||
|
0x06, 0x80, 0xc1, 0x83, 0x08, 0x22, 0xf0, 0x00, 0x06, // 228 --> д
|
||||||
|
0x04, 0x70, 0xa0, 0x82, 0x0a, 0x0c, // 229 --> е
|
||||||
|
0x07, 0xd8, 0x80, 0x00, 0x02, 0x3e, 0x20, 0x80, 0x80, 0x0d, // 230 --> ж
|
||||||
|
0x04, 0x50, 0x20, 0x82, 0x0a, 0x14, // 231 --> з
|
||||||
|
0x05, 0xf8, 0x00, 0x01, 0x02, 0x04, 0xf8, 0x00, // 232 --> и
|
||||||
|
0x05, 0xf8, 0x04, 0x21, 0x42, 0x04, 0xf8, 0x00, // 233 --> й
|
||||||
|
0x04, 0xf8, 0x80, 0x00, 0x05, 0x22, // 234 --> к
|
||||||
|
0x04, 0x80, 0xc0, 0x81, 0x00, 0x3e, // 235 --> л
|
||||||
|
0x05, 0xf8, 0x40, 0x00, 0x02, 0x04, 0xf8, 0x00, // 236 --> м
|
||||||
|
0x04, 0xf8, 0x80, 0x00, 0x02, 0x3e, // 237 --> н
|
||||||
|
0x04, 0x70, 0x20, 0x82, 0x08, 0x1c, // 238 --> о
|
||||||
|
0x04, 0xf8, 0x20, 0x80, 0x00, 0x3e, // 239 --> п
|
||||||
|
0x04, 0xf8, 0x23, 0x82, 0x08, 0x1c, // 240 --> р
|
||||||
|
0x04, 0x70, 0x20, 0x82, 0x08, 0x14, // 241 --> с
|
||||||
|
0x05, 0x08, 0x20, 0x80, 0x0f, 0x02, 0x08, 0x00, // 242 --> т
|
||||||
|
0x04, 0x78, 0x00, 0x0a, 0x28, 0x7e, // 243 --> у
|
||||||
|
0x07, 0x70, 0x20, 0x82, 0x88, 0xff, 0x88, 0x20, 0x02, 0x07, // 244 --> ф
|
||||||
|
0x04, 0xd8, 0x80, 0x00, 0x02, 0x36, // 245 --> х
|
||||||
|
0x05, 0xf8, 0x00, 0x02, 0x08, 0x3e, 0x80, 0x01, // 246 --> ц
|
||||||
|
0x04, 0x18, 0x80, 0x00, 0x02, 0x3e, // 247 --> ч
|
||||||
|
0x07, 0xf8, 0x00, 0x02, 0x08, 0x3e, 0x80, 0x00, 0x82, 0x0f, // 248 --> ш
|
||||||
|
0x08, 0xf8, 0x00, 0x02, 0x08, 0x3e, 0x80, 0x00, 0x82, 0x0f, 0x60, // 249 --> щ
|
||||||
|
0x05, 0x08, 0xe0, 0x03, 0x0a, 0x28, 0x40, 0x00, // 250 --> ъ
|
||||||
|
0x06, 0xf8, 0x80, 0x02, 0x0a, 0x10, 0x00, 0xe0, 0x03, // 251 --> ы
|
||||||
|
0x04, 0xf8, 0x80, 0x02, 0x0a, 0x10, // 252 --> ь
|
||||||
|
0x04, 0x50, 0x20, 0x82, 0x0a, 0x1c, // 253 --> э
|
||||||
|
0x06, 0xf8, 0x80, 0x00, 0x07, 0x22, 0x88, 0xc0, 0x01, // 254 --> ю
|
||||||
|
0x04, 0x90, 0xa0, 0x81, 0x02, 0x3e // 255 --> я
|
||||||
|
};
|
259
examples/tests/testfont_packed_bin.txt
Normal file
@@ -0,0 +1,259 @@
|
|||||||
|
// File generated by McBitFont v2.0
|
||||||
|
// made by Anton Mukhin (mcfly@mcflyer.ru)
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Bytes total: 1264
|
||||||
|
// Scan order: Columns
|
||||||
|
// Horizontal direction: Left to Right
|
||||||
|
// Vertical direction: Top to Bottom
|
||||||
|
|
||||||
|
// Bit order: LSB Top
|
||||||
|
// Numbers base: Binary
|
||||||
|
// Numbers size: 8 bit
|
||||||
|
|
||||||
|
// Text format: 1D C array
|
||||||
|
// Numbers per line: 1 Symbol per line
|
||||||
|
|
||||||
|
// Font header map:
|
||||||
|
// packed; // Flag for packed font
|
||||||
|
// width; // Font width in pixels (0 - variable width)
|
||||||
|
// height; // Font height in pixels
|
||||||
|
// space; // Font space in pixels
|
||||||
|
// first; // First character code
|
||||||
|
// last; // Last character code
|
||||||
|
|
||||||
|
|
||||||
|
const uint8_t haxrcorp_4089_cyrillic_altgr[] = {
|
||||||
|
// Meta header
|
||||||
|
1, // Is it a packed font?
|
||||||
|
0, // Font width in pixels; 0 - variable width
|
||||||
|
10, // Font height in pixels
|
||||||
|
0, // Font space (between symbols) in pixels
|
||||||
|
32, // First character code
|
||||||
|
255, // Last character code
|
||||||
|
// Data:
|
||||||
|
0b00000011, 0b00000000, 0b00000000, 0b00000000, 0b00000000, // 32 -->
|
||||||
|
0b00000001, 0b10111110, 0b00000000, // 33 --> !
|
||||||
|
0b00000011, 0b00001110, 0b00000000, 0b11100000, 0b00000000, // 34 --> "
|
||||||
|
0b00000101, 0b00101000, 0b11110000, 0b10000001, 0b00000010, 0b00011111, 0b00101000, 0b00000000, // 35 --> #
|
||||||
|
0b00000101, 0b01001100, 0b01001000, 0b11110010, 0b10011111, 0b00100100, 0b01100100, 0b00000000, // 36 --> $
|
||||||
|
0b00000111, 0b10000100, 0b00101000, 0b01000001, 0b00000010, 0b00000100, 0b01001000, 0b10010000, 0b00100010, 0b00000100, // 37 --> %
|
||||||
|
0b00000110, 0b01101100, 0b01001000, 0b00100010, 0b00001001, 0b00101011, 0b01000000, 0b11000000, 0b00000010, // 38 --> &
|
||||||
|
0b00000001, 0b00001110, 0b00000000, // 39 --> '
|
||||||
|
0b00000011, 0b01111100, 0b00001000, 0b00010010, 0b00010000, // 40 --> (
|
||||||
|
0b00000011, 0b00000001, 0b00001001, 0b11000010, 0b00000111, // 41 --> )
|
||||||
|
0b00000101, 0b00010100, 0b00100000, 0b11100000, 0b00000011, 0b00000010, 0b00010100, 0b00000000, // 42 --> *
|
||||||
|
0b00000101, 0b00010000, 0b01000000, 0b11000000, 0b00000111, 0b00000100, 0b00010000, 0b00000000, // 43 --> +
|
||||||
|
0b00000010, 0b00000000, 0b00000001, 0b00000011, // 44 --> ,
|
||||||
|
0b00000101, 0b00010000, 0b01000000, 0b00000000, 0b00000001, 0b00000100, 0b00010000, 0b00000000, // 45 --> -
|
||||||
|
0b00000001, 0b10000000, 0b00000000, // 46 --> .
|
||||||
|
0b00000111, 0b10000000, 0b00000000, 0b00000001, 0b00000010, 0b00000100, 0b00001000, 0b00010000, 0b00100000, 0b00000000, // 47 --> /
|
||||||
|
0b00000101, 0b01111100, 0b10001000, 0b00100010, 0b10001001, 0b00100010, 0b01111100, 0b00000000, // 48 --> 0
|
||||||
|
0b00000010, 0b00000100, 0b11111000, 0b00000011, // 49 --> 1
|
||||||
|
0b00000101, 0b10000100, 0b00001000, 0b00100011, 0b10001010, 0b00100100, 0b10001100, 0b00000000, // 50 --> 2
|
||||||
|
0b00000101, 0b01000100, 0b00001000, 0b00100010, 0b10001001, 0b00100100, 0b01101100, 0b00000000, // 51 --> 3
|
||||||
|
0b00000101, 0b00110000, 0b10100000, 0b01000000, 0b10000010, 0b00111111, 0b00100000, 0b00000000, // 52 --> 4
|
||||||
|
0b00000101, 0b01001110, 0b00101000, 0b10100010, 0b10001000, 0b00100010, 0b01110010, 0b00000000, // 53 --> 5
|
||||||
|
0b00000101, 0b01111100, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b01100100, 0b00000000, // 54 --> 6
|
||||||
|
0b00000101, 0b00000010, 0b00001000, 0b00100000, 0b10001100, 0b00001100, 0b00001110, 0b00000000, // 55 --> 7
|
||||||
|
0b00000101, 0b01101100, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b01101100, 0b00000000, // 56 --> 8
|
||||||
|
0b00000101, 0b01001100, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b01111100, 0b00000000, // 57 --> 9
|
||||||
|
0b00000001, 0b01001000, 0b00000000, // 58 --> :
|
||||||
|
0b00000010, 0b00000000, 0b00100001, 0b00000011, // 59 --> ;
|
||||||
|
0b00000011, 0b00010000, 0b10100000, 0b01000000, 0b00000100, // 60 --> <
|
||||||
|
0b00000101, 0b00101000, 0b10100000, 0b10000000, 0b00000010, 0b00001010, 0b00101000, 0b00000000, // 61 --> =
|
||||||
|
0b00000011, 0b01000100, 0b10100000, 0b00000000, 0b00000001, // 62 --> >
|
||||||
|
0b00000101, 0b00000100, 0b00001000, 0b00100000, 0b10001010, 0b00000100, 0b00001100, 0b00000000, // 63 --> ?
|
||||||
|
0b00001000, 0b01111110, 0b00000100, 0b10010010, 0b01001001, 0b00101001, 0b10100101, 0b11110100, 0b00010010, 0b10001010, 0b00000111, // 64 --> @
|
||||||
|
0b00000101, 0b11111100, 0b01001000, 0b00100000, 0b10000001, 0b00000100, 0b11111100, 0b00000000, // 65 --> A
|
||||||
|
0b00000101, 0b11111110, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b01101100, 0b00000000, // 66 --> B
|
||||||
|
0b00000101, 0b01111100, 0b00001000, 0b00100010, 0b10001000, 0b00100000, 0b01000100, 0b00000000, // 67 --> C
|
||||||
|
0b00000101, 0b11111110, 0b00001000, 0b00100010, 0b10001000, 0b00100000, 0b01111100, 0b00000000, // 68 --> D
|
||||||
|
0b00000101, 0b11111110, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b10000010, 0b00000000, // 69 --> E
|
||||||
|
0b00000101, 0b11111110, 0b01001000, 0b00100000, 0b10000001, 0b00000100, 0b00000010, 0b00000000, // 70 --> F
|
||||||
|
0b00000101, 0b01111100, 0b00001000, 0b00100010, 0b10001000, 0b00100100, 0b01110100, 0b00000000, // 71 --> G
|
||||||
|
0b00000101, 0b11111110, 0b01000000, 0b00000000, 0b00000001, 0b00000100, 0b11111110, 0b00000000, // 72 --> H
|
||||||
|
0b00000001, 0b11111110, 0b00000000, // 73 --> I
|
||||||
|
0b00000101, 0b01000000, 0b00000000, 0b00000010, 0b00001000, 0b00100000, 0b01111110, 0b00000000, // 74 --> J
|
||||||
|
0b00000101, 0b11111110, 0b01000000, 0b10000000, 0b00000010, 0b00010001, 0b10000010, 0b00000000, // 75 --> K
|
||||||
|
0b00000101, 0b11111110, 0b00000000, 0b00000010, 0b00001000, 0b00100000, 0b10000000, 0b00000000, // 76 --> L
|
||||||
|
0b00000111, 0b11111110, 0b00010000, 0b10000000, 0b00000000, 0b00000100, 0b00001000, 0b00010000, 0b11100000, 0b00001111, // 77 --> M
|
||||||
|
0b00000101, 0b11111110, 0b00100000, 0b00000000, 0b00000001, 0b00001000, 0b11111110, 0b00000000, // 78 --> N
|
||||||
|
0b00000101, 0b01111100, 0b00001000, 0b00100010, 0b10001000, 0b00100000, 0b01111100, 0b00000000, // 79 --> O
|
||||||
|
0b00000101, 0b11111110, 0b01001000, 0b00100000, 0b10000001, 0b00000100, 0b00001100, 0b00000000, // 80 --> P
|
||||||
|
0b00000101, 0b01111100, 0b00001000, 0b00100010, 0b10001000, 0b00100000, 0b01111100, 0b00000001, // 81 --> Q
|
||||||
|
0b00000101, 0b11111110, 0b01001000, 0b00100000, 0b10000011, 0b00010100, 0b10001100, 0b00000000, // 82 --> R
|
||||||
|
0b00000101, 0b01001100, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b01100100, 0b00000000, // 83 --> S
|
||||||
|
0b00000101, 0b00000010, 0b00001000, 0b11100000, 0b10001111, 0b00000000, 0b00000010, 0b00000000, // 84 --> T
|
||||||
|
0b00000101, 0b01111110, 0b00000000, 0b00000010, 0b00001000, 0b00100000, 0b01111110, 0b00000000, // 85 --> U
|
||||||
|
0b00000101, 0b00001110, 0b11000000, 0b00000000, 0b00001100, 0b00001100, 0b00001110, 0b00000000, // 86 --> V
|
||||||
|
0b00000111, 0b01111110, 0b00000000, 0b00000010, 0b10001000, 0b00011111, 0b10000000, 0b00000000, 0b11100010, 0b00000111, // 87 --> W
|
||||||
|
0b00000101, 0b11000110, 0b10100000, 0b00000000, 0b00000001, 0b00001010, 0b11000110, 0b00000000, // 88 --> X
|
||||||
|
0b00000101, 0b00000110, 0b00100000, 0b00000000, 0b00001111, 0b00000010, 0b00000110, 0b00000000, // 89 --> Y
|
||||||
|
0b00000101, 0b11000010, 0b10001000, 0b00100010, 0b10001001, 0b00100010, 0b10000110, 0b00000000, // 90 --> Z
|
||||||
|
0b00000011, 0b11111111, 0b00000101, 0b00010100, 0b00010000, // 91 --> [
|
||||||
|
0b00000111, 0b00000010, 0b00010000, 0b10000000, 0b00000000, 0b00000100, 0b00100000, 0b00000000, 0b00000001, 0b00001000, // 92 --> \
|
||||||
|
0b00000011, 0b00000001, 0b00000101, 0b11110100, 0b00011111, // 93 --> ]
|
||||||
|
0b00000101, 0b00001000, 0b00010000, 0b00100000, 0b00000000, 0b00000001, 0b00001000, 0b00000000, // 94 --> ^
|
||||||
|
0b00000101, 0b10000000, 0b00000000, 0b00000010, 0b00001000, 0b00100000, 0b10000000, 0b00000000, // 95 --> _
|
||||||
|
0b00000011, 0b00000010, 0b00010000, 0b10000000, 0b00000000, // 96 --> `
|
||||||
|
0b00000100, 0b01110000, 0b00100000, 0b10000010, 0b00001000, 0b00111110, // 97 --> a
|
||||||
|
0b00000100, 0b11111110, 0b00100000, 0b10000010, 0b00001000, 0b00011100, // 98 --> b
|
||||||
|
0b00000100, 0b01110000, 0b00100000, 0b10000010, 0b00001000, 0b00010100, // 99 --> c
|
||||||
|
0b00000100, 0b01110000, 0b00100000, 0b10000010, 0b10001000, 0b00111111, // 100 --> d
|
||||||
|
0b00000100, 0b01110000, 0b10100000, 0b10000010, 0b00001010, 0b00001100, // 101 --> e
|
||||||
|
0b00000010, 0b11111100, 0b01001000, 0b00000000, // 102 --> f
|
||||||
|
0b00000100, 0b01110000, 0b00100000, 0b10001010, 0b00101000, 0b01111110, // 103 --> g
|
||||||
|
0b00000100, 0b11111110, 0b00100000, 0b10000000, 0b00000000, 0b00111100, // 104 --> h
|
||||||
|
0b00000001, 0b11111010, 0b00000000, // 105 --> i
|
||||||
|
0b00000010, 0b00000000, 0b11101010, 0b00000111, // 106 --> j
|
||||||
|
0b00000100, 0b11111110, 0b10000000, 0b00000000, 0b00000101, 0b00100010, // 107 --> k
|
||||||
|
0b00000001, 0b11111110, 0b00000000, // 108 --> l
|
||||||
|
0b00000111, 0b11111000, 0b00100000, 0b10000000, 0b00000000, 0b00111100, 0b00001000, 0b00100000, 0b00000000, 0b00001111, // 109 --> m
|
||||||
|
0b00000100, 0b11111000, 0b00100000, 0b10000000, 0b00000000, 0b00111100, // 110 --> n
|
||||||
|
0b00000100, 0b01110000, 0b00100000, 0b10000010, 0b00001000, 0b00011100, // 111 --> o
|
||||||
|
0b00000100, 0b11111000, 0b00100011, 0b10000010, 0b00001000, 0b00011100, // 112 --> p
|
||||||
|
0b00000100, 0b01110000, 0b00100000, 0b10000010, 0b00001000, 0b11111110, // 113 --> q
|
||||||
|
0b00000011, 0b11111000, 0b00100000, 0b10000000, 0b00000000, // 114 --> r
|
||||||
|
0b00000011, 0b10010000, 0b10100000, 0b10000010, 0b00000100, // 115 --> s
|
||||||
|
0b00000011, 0b00001000, 0b11111000, 0b10000011, 0b00000000, // 116 --> t
|
||||||
|
0b00000100, 0b01111000, 0b00000000, 0b00000010, 0b00001000, 0b00111110, // 117 --> u
|
||||||
|
0b00000100, 0b01111000, 0b00000000, 0b00000010, 0b00001000, 0b00011110, // 118 --> v
|
||||||
|
0b00000111, 0b01111000, 0b00000000, 0b00000010, 0b00001000, 0b00011110, 0b10000000, 0b00000000, 0b10000010, 0b00000111, // 119 --> w
|
||||||
|
0b00000100, 0b11011000, 0b10000000, 0b00000000, 0b00000010, 0b00110110, // 120 --> x
|
||||||
|
0b00000100, 0b01111000, 0b00000000, 0b00001010, 0b00101000, 0b01111110, // 121 --> y
|
||||||
|
0b00000100, 0b11001000, 0b10100000, 0b10000010, 0b00001010, 0b00100110, // 122 --> z
|
||||||
|
0b00000011, 0b00010000, 0b10111000, 0b00010011, 0b00010000, // 123 --> {
|
||||||
|
0b00000001, 0b11111111, 0b00000001, // 124 --> |
|
||||||
|
0b00000011, 0b00000001, 0b10111001, 0b00000011, 0b00000001, // 125 --> }
|
||||||
|
0b00000110, 0b00010000, 0b00100000, 0b10000000, 0b00000000, 0b00000100, 0b00010000, 0b00100000, 0b00000000, // 126 --> ~
|
||||||
|
0b00000000, // 127 -->
|
||||||
|
0b00000000, // 128 --> Ђ
|
||||||
|
0b00000000, // 129 --> Ѓ
|
||||||
|
0b00000000, // 130 --> ‚
|
||||||
|
0b00000000, // 131 --> ѓ
|
||||||
|
0b00000000, // 132 --> „
|
||||||
|
0b00000000, // 133 --> …
|
||||||
|
0b00000000, // 134 --> †
|
||||||
|
0b00000000, // 135 --> ‡
|
||||||
|
0b00000000, // 136 --> €
|
||||||
|
0b00000000, // 137 --> ‰
|
||||||
|
0b00000000, // 138 --> Љ
|
||||||
|
0b00000000, // 139 --> ‹
|
||||||
|
0b00000000, // 140 --> Њ
|
||||||
|
0b00000000, // 141 --> Ќ
|
||||||
|
0b00000000, // 142 --> Ћ
|
||||||
|
0b00000000, // 143 --> Џ
|
||||||
|
0b00000000, // 144 --> ђ
|
||||||
|
0b00000000, // 145 --> ‘
|
||||||
|
0b00000000, // 146 --> ’
|
||||||
|
0b00000000, // 147 --> “
|
||||||
|
0b00000000, // 148 --> ”
|
||||||
|
0b00000100, 0b00110000, 0b11100000, 0b10000001, 0b00000111, 0b00001100, // 149 --> •
|
||||||
|
0b00000000, // 150 --> –
|
||||||
|
0b00000000, // 151 --> —
|
||||||
|
0b00000000, // 152 -->
|
||||||
|
0b00000000, // 153 --> ™
|
||||||
|
0b00000000, // 154 --> љ
|
||||||
|
0b00000000, // 155 --> ›
|
||||||
|
0b00000000, // 156 --> њ
|
||||||
|
0b00000000, // 157 --> ќ
|
||||||
|
0b00000000, // 158 --> ћ
|
||||||
|
0b00000000, // 159 --> џ
|
||||||
|
0b00000000, // 160 -->
|
||||||
|
0b00000000, // 161 --> Ў
|
||||||
|
0b00000000, // 162 --> ў
|
||||||
|
0b00000000, // 163 --> Ј
|
||||||
|
0b00000000, // 164 --> ¤
|
||||||
|
0b00000000, // 165 --> Ґ
|
||||||
|
0b00000001, 0b11101111, 0b00000001, // 166 --> ¦
|
||||||
|
0b00000000, // 167 --> §
|
||||||
|
0b00000000, // 168 --> Ё
|
||||||
|
0b00000111, 0b01111100, 0b00001000, 0b10100010, 0b10001011, 0b00101010, 0b10101010, 0b00001000, 0b11000010, 0b00000111, // 169 --> ©
|
||||||
|
0b00000000, // 170 --> Є
|
||||||
|
0b00000000, // 171 --> «
|
||||||
|
0b00000000, // 172 --> ¬
|
||||||
|
0b00000000, // 173 -->
|
||||||
|
0b00000000, // 174 --> ®
|
||||||
|
0b00000000, // 175 --> Ї
|
||||||
|
0b00000100, 0b00000110, 0b00100100, 0b10010000, 0b10000000, 0b00000001, // 176 --> °
|
||||||
|
0b00000101, 0b10001000, 0b00100000, 0b11100010, 0b00001011, 0b00100010, 0b10001000, 0b00000000, // 177 --> ±
|
||||||
|
0b00000100, 0b00010010, 0b01100100, 0b01010000, 0b10000001, 0b00000100, // 178 --> І
|
||||||
|
0b00000000, // 179 --> і
|
||||||
|
0b00000000, // 180 --> ґ
|
||||||
|
0b00000000, // 181 --> µ
|
||||||
|
0b00000000, // 182 --> ¶
|
||||||
|
0b00000000, // 183 --> ·
|
||||||
|
0b00000000, // 184 --> ё
|
||||||
|
0b00001000, 0b11111110, 0b00100000, 0b00000000, 0b00000001, 0b00001000, 0b11111110, 0b10010000, 0b10100000, 0b00000010, 0b00001001, // 185 --> №
|
||||||
|
0b00000000, // 186 --> є
|
||||||
|
0b00000000, // 187 --> »
|
||||||
|
0b00000000, // 188 --> ј
|
||||||
|
0b00000000, // 189 --> Ѕ
|
||||||
|
0b00000000, // 190 --> ѕ
|
||||||
|
0b00000000, // 191 --> ї
|
||||||
|
0b00000101, 0b11111100, 0b01001000, 0b00100000, 0b10000001, 0b00000100, 0b11111100, 0b00000000, // 192 --> А
|
||||||
|
0b00000101, 0b11111110, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b01100010, 0b00000000, // 193 --> Б
|
||||||
|
0b00000101, 0b11111110, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b01101100, 0b00000000, // 194 --> В
|
||||||
|
0b00000101, 0b11111110, 0b00001000, 0b00100000, 0b10000000, 0b00000000, 0b00000010, 0b00000000, // 195 --> Г
|
||||||
|
0b00000111, 0b10000000, 0b11110001, 0b00100011, 0b10001000, 0b00100000, 0b10000010, 0b11110000, 0b00000011, 0b00011000, // 196 --> Д
|
||||||
|
0b00000101, 0b11111110, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b10000010, 0b00000000, // 197 --> Е
|
||||||
|
0b00000111, 0b11101110, 0b01000000, 0b00000000, 0b10000001, 0b00111111, 0b00010000, 0b01000000, 0b11100000, 0b00001110, // 198 --> Ж
|
||||||
|
0b00000101, 0b01000100, 0b01001000, 0b00100010, 0b10001001, 0b00100100, 0b01101100, 0b00000000, // 199 --> З
|
||||||
|
0b00000101, 0b11111110, 0b10000000, 0b00000000, 0b00000001, 0b00000010, 0b11111110, 0b00000000, // 200 --> И
|
||||||
|
0b00000101, 0b11111100, 0b10000100, 0b00100000, 0b01000001, 0b00000010, 0b11111100, 0b00000000, // 201 --> Й
|
||||||
|
0b00000101, 0b11111110, 0b01000000, 0b10000000, 0b00000010, 0b00010001, 0b10000010, 0b00000000, // 202 --> К
|
||||||
|
0b00000101, 0b10000000, 0b11110000, 0b00100001, 0b10000000, 0b00000000, 0b11111110, 0b00000000, // 203 --> Л
|
||||||
|
0b00000111, 0b11111110, 0b00010000, 0b10000000, 0b00000000, 0b00000100, 0b00001000, 0b00010000, 0b11100000, 0b00001111, // 204 --> М
|
||||||
|
0b00000101, 0b11111110, 0b01000000, 0b00000000, 0b00000001, 0b00000100, 0b11111110, 0b00000000, // 205 --> Н
|
||||||
|
0b00000101, 0b01111100, 0b00001000, 0b00100010, 0b10001000, 0b00100000, 0b01111100, 0b00000000, // 206 --> О
|
||||||
|
0b00000101, 0b11111110, 0b00001000, 0b00100000, 0b10000000, 0b00000000, 0b11111110, 0b00000000, // 207 --> П
|
||||||
|
0b00000101, 0b11111110, 0b01001000, 0b00100000, 0b10000001, 0b00000100, 0b00001100, 0b00000000, // 208 --> Р
|
||||||
|
0b00000101, 0b01111100, 0b00001000, 0b00100010, 0b10001000, 0b00100000, 0b01000100, 0b00000000, // 209 --> С
|
||||||
|
0b00000101, 0b00000010, 0b00001000, 0b11100000, 0b10001111, 0b00000000, 0b00000010, 0b00000000, // 210 --> Т
|
||||||
|
0b00000101, 0b01001110, 0b01000000, 0b00000010, 0b00001001, 0b00100100, 0b01111110, 0b00000000, // 211 --> У
|
||||||
|
0b00000111, 0b01111100, 0b00001000, 0b00100010, 0b11001000, 0b01111111, 0b10000010, 0b00001000, 0b11000010, 0b00000111, // 212 --> Ф
|
||||||
|
0b00000101, 0b11000110, 0b10100000, 0b00000000, 0b00000001, 0b00001010, 0b11000110, 0b00000000, // 213 --> Х
|
||||||
|
0b00000110, 0b11111110, 0b00000000, 0b00000010, 0b00001000, 0b00100000, 0b11111110, 0b00000000, 0b00000110, // 214 --> Ц
|
||||||
|
0b00000101, 0b00001110, 0b01000000, 0b00000000, 0b00000001, 0b00000100, 0b11111110, 0b00000000, // 215 --> Ч
|
||||||
|
0b00000111, 0b11111110, 0b00000000, 0b00000010, 0b10001000, 0b00111111, 0b10000000, 0b00000000, 0b11100010, 0b00001111, // 216 --> Ш
|
||||||
|
0b00001000, 0b11111110, 0b00000000, 0b00000010, 0b10001000, 0b00111111, 0b10000000, 0b00000000, 0b11100010, 0b00001111, 0b01100000, // 217 --> Щ
|
||||||
|
0b00000111, 0b00000010, 0b00001000, 0b11100000, 0b00001111, 0b00100100, 0b10010000, 0b01000000, 0b00000010, 0b00000110, // 218 --> Ъ
|
||||||
|
0b00000111, 0b11111110, 0b01000000, 0b00000010, 0b00001001, 0b00100100, 0b01100000, 0b00000000, 0b11100000, 0b00001111, // 219 --> Ы
|
||||||
|
0b00000101, 0b11111110, 0b01000000, 0b00000010, 0b00001001, 0b00100100, 0b01100000, 0b00000000, // 220 --> Ь
|
||||||
|
0b00000101, 0b01000100, 0b00001000, 0b00100010, 0b10001001, 0b00100100, 0b01111100, 0b00000000, // 221 --> Э
|
||||||
|
0b00001000, 0b11111110, 0b01000000, 0b00000000, 0b00000001, 0b00011111, 0b10000010, 0b00001000, 0b00100010, 0b00001000, 0b00011111, // 222 --> Ю
|
||||||
|
0b00000101, 0b10001100, 0b01001000, 0b00100001, 0b10000011, 0b00000100, 0b11111110, 0b00000000, // 223 --> Я
|
||||||
|
0b00000100, 0b01110000, 0b00100000, 0b10000010, 0b00001000, 0b00111110, // 224 --> а
|
||||||
|
0b00000100, 0b01111100, 0b00101000, 0b10100010, 0b10001000, 0b00011100, // 225 --> б
|
||||||
|
0b00000100, 0b11111000, 0b10100000, 0b10000010, 0b00001010, 0b00010100, // 226 --> в
|
||||||
|
0b00000100, 0b11111000, 0b00100000, 0b10000000, 0b00000000, 0b00000010, // 227 --> г
|
||||||
|
0b00000110, 0b10000000, 0b11000001, 0b10000011, 0b00001000, 0b00100010, 0b11110000, 0b00000000, 0b00000110, // 228 --> д
|
||||||
|
0b00000100, 0b01110000, 0b10100000, 0b10000010, 0b00001010, 0b00001100, // 229 --> е
|
||||||
|
0b00000111, 0b11011000, 0b10000000, 0b00000000, 0b00000010, 0b00111110, 0b00100000, 0b10000000, 0b10000000, 0b00001101, // 230 --> ж
|
||||||
|
0b00000100, 0b01010000, 0b00100000, 0b10000010, 0b00001010, 0b00010100, // 231 --> з
|
||||||
|
0b00000101, 0b11111000, 0b00000000, 0b00000001, 0b00000010, 0b00000100, 0b11111000, 0b00000000, // 232 --> и
|
||||||
|
0b00000101, 0b11111000, 0b00000100, 0b00100001, 0b01000010, 0b00000100, 0b11111000, 0b00000000, // 233 --> й
|
||||||
|
0b00000100, 0b11111000, 0b10000000, 0b00000000, 0b00000101, 0b00100010, // 234 --> к
|
||||||
|
0b00000100, 0b10000000, 0b11000000, 0b10000001, 0b00000000, 0b00111110, // 235 --> л
|
||||||
|
0b00000101, 0b11111000, 0b01000000, 0b00000000, 0b00000010, 0b00000100, 0b11111000, 0b00000000, // 236 --> м
|
||||||
|
0b00000100, 0b11111000, 0b10000000, 0b00000000, 0b00000010, 0b00111110, // 237 --> н
|
||||||
|
0b00000100, 0b01110000, 0b00100000, 0b10000010, 0b00001000, 0b00011100, // 238 --> о
|
||||||
|
0b00000100, 0b11111000, 0b00100000, 0b10000000, 0b00000000, 0b00111110, // 239 --> п
|
||||||
|
0b00000100, 0b11111000, 0b00100011, 0b10000010, 0b00001000, 0b00011100, // 240 --> р
|
||||||
|
0b00000100, 0b01110000, 0b00100000, 0b10000010, 0b00001000, 0b00010100, // 241 --> с
|
||||||
|
0b00000101, 0b00001000, 0b00100000, 0b10000000, 0b00001111, 0b00000010, 0b00001000, 0b00000000, // 242 --> т
|
||||||
|
0b00000100, 0b01111000, 0b00000000, 0b00001010, 0b00101000, 0b01111110, // 243 --> у
|
||||||
|
0b00000111, 0b01110000, 0b00100000, 0b10000010, 0b10001000, 0b11111111, 0b10001000, 0b00100000, 0b00000010, 0b00000111, // 244 --> ф
|
||||||
|
0b00000100, 0b11011000, 0b10000000, 0b00000000, 0b00000010, 0b00110110, // 245 --> х
|
||||||
|
0b00000101, 0b11111000, 0b00000000, 0b00000010, 0b00001000, 0b00111110, 0b10000000, 0b00000001, // 246 --> ц
|
||||||
|
0b00000100, 0b00011000, 0b10000000, 0b00000000, 0b00000010, 0b00111110, // 247 --> ч
|
||||||
|
0b00000111, 0b11111000, 0b00000000, 0b00000010, 0b00001000, 0b00111110, 0b10000000, 0b00000000, 0b10000010, 0b00001111, // 248 --> ш
|
||||||
|
0b00001000, 0b11111000, 0b00000000, 0b00000010, 0b00001000, 0b00111110, 0b10000000, 0b00000000, 0b10000010, 0b00001111, 0b01100000, // 249 --> щ
|
||||||
|
0b00000101, 0b00001000, 0b11100000, 0b00000011, 0b00001010, 0b00101000, 0b01000000, 0b00000000, // 250 --> ъ
|
||||||
|
0b00000110, 0b11111000, 0b10000000, 0b00000010, 0b00001010, 0b00010000, 0b00000000, 0b11100000, 0b00000011, // 251 --> ы
|
||||||
|
0b00000100, 0b11111000, 0b10000000, 0b00000010, 0b00001010, 0b00010000, // 252 --> ь
|
||||||
|
0b00000100, 0b01010000, 0b00100000, 0b10000010, 0b00001010, 0b00011100, // 253 --> э
|
||||||
|
0b00000110, 0b11111000, 0b10000000, 0b00000000, 0b00000111, 0b00100010, 0b10001000, 0b11000000, 0b00000001, // 254 --> ю
|
||||||
|
0b00000100, 0b10010000, 0b10100000, 0b10000001, 0b00000010, 0b00111110 // 255 --> я
|
||||||
|
};
|
BIN
icons/fam_base.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
icons/fam_rectt.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
icons/famfamfam/Canvas_Clear.png
Normal file
After Width: | Height: | Size: 595 B |
BIN
icons/famfamfam/Canvas_Fill.png
Normal file
After Width: | Height: | Size: 547 B |
Before Width: | Height: | Size: 899 B After Width: | Height: | Size: 899 B |
Before Width: | Height: | Size: 932 B After Width: | Height: | Size: 932 B |
Before Width: | Height: | Size: 931 B After Width: | Height: | Size: 931 B |
Before Width: | Height: | Size: 732 B After Width: | Height: | Size: 732 B |
Before Width: | Height: | Size: 966 B After Width: | Height: | Size: 966 B |
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 914 B |
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 465 B |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 465 B |
BIN
icons/famfamfam/add.png
Normal file
After Width: | Height: | Size: 733 B |
BIN
icons/famfamfam/arrow_down.png
Normal file
After Width: | Height: | Size: 379 B |
BIN
icons/famfamfam/arrow_inout.png
Normal file
After Width: | Height: | Size: 551 B |
BIN
icons/famfamfam/arrow_left.png
Normal file
After Width: | Height: | Size: 344 B |
BIN
icons/famfamfam/arrow_redo.png
Normal file
After Width: | Height: | Size: 625 B |
BIN
icons/famfamfam/arrow_right.png
Normal file
After Width: | Height: | Size: 332 B |
BIN
icons/famfamfam/arrow_undo.png
Normal file
After Width: | Height: | Size: 631 B |
BIN
icons/famfamfam/arrow_up.png
Normal file
After Width: | Height: | Size: 372 B |
BIN
icons/famfamfam/asterisk_orange.png
Normal file
After Width: | Height: | Size: 760 B |
BIN
icons/famfamfam/calculator.png
Normal file
After Width: | Height: | Size: 543 B |
BIN
icons/famfamfam/contrast.png
Normal file
After Width: | Height: | Size: 381 B |
BIN
icons/famfamfam/fam_base.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
icons/famfamfam/fam_rectt.png
Normal file
After Width: | Height: | Size: 1.7 KiB |