Fill canvas button and several small UI changes/fixes

This commit is contained in:
2025-05-24 00:04:26 +03:00
parent c1a8d30760
commit 1034bd98d6
9 changed files with 112 additions and 39 deletions

View File

@@ -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();
@@ -96,8 +97,9 @@
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();
label3 = new System.Windows.Forms.Label();
chkHexCodes = new System.Windows.Forms.CheckBox(); chkHexCodes = new System.Windows.Forms.CheckBox();
label3 = new System.Windows.Forms.Label();
FillToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
((System.ComponentModel.ISupportInitialize)nudX).BeginInit(); ((System.ComponentModel.ISupportInitialize)nudX).BeginInit();
((System.ComponentModel.ISupportInitialize)nudY).BeginInit(); ((System.ComponentModel.ISupportInitialize)nudY).BeginInit();
panel1.SuspendLayout(); panel1.SuspendLayout();
@@ -209,6 +211,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);
@@ -223,6 +226,19 @@
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);
@@ -232,7 +248,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;
// //
@@ -713,14 +729,14 @@
// //
// canvasToolStripMenuItem // canvasToolStripMenuItem
// //
canvasToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { ClearToolStripMenuItem, shiftUpToolStripMenuItem, shiftDownToolStripMenuItem, shiftLeftToolStripMenuItem, shiftRightToolStripMenuItem, invertToolStripMenuItem, mirrorXToolStripMenuItem, mirrorYToolStripMenuItem, applyToolStripMenuItem }); canvasToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { ClearToolStripMenuItem, FillToolStripMenuItem, shiftUpToolStripMenuItem, shiftDownToolStripMenuItem, shiftLeftToolStripMenuItem, shiftRightToolStripMenuItem, invertToolStripMenuItem, mirrorXToolStripMenuItem, mirrorYToolStripMenuItem, applyToolStripMenuItem });
canvasToolStripMenuItem.Name = "canvasToolStripMenuItem"; canvasToolStripMenuItem.Name = "canvasToolStripMenuItem";
canvasToolStripMenuItem.Size = new System.Drawing.Size(57, 20); canvasToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
canvasToolStripMenuItem.Text = "Canvas"; canvasToolStripMenuItem.Text = "Canvas";
// //
// ClearToolStripMenuItem // ClearToolStripMenuItem
// //
ClearToolStripMenuItem.Image = Properties.Resources.z_shading; ClearToolStripMenuItem.Image = Properties.Resources.Canvas_Clear;
ClearToolStripMenuItem.Name = "ClearToolStripMenuItem"; ClearToolStripMenuItem.Name = "ClearToolStripMenuItem";
ClearToolStripMenuItem.ShortcutKeyDisplayString = ""; 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;
@@ -877,6 +893,18 @@
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.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;
//
// label3 // label3
// //
label3.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right; label3.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
@@ -887,16 +915,14 @@
label3.TabIndex = 21; label3.TabIndex = 21;
label3.Text = "Cursor:"; label3.Text = "Cursor:";
// //
// chkHexCodes // FillToolStripMenuItem
// //
chkHexCodes.AutoSize = true; FillToolStripMenuItem.Image = Properties.Resources.Canvas_Fill;
chkHexCodes.Location = new System.Drawing.Point(618, 155); FillToolStripMenuItem.Name = "FillToolStripMenuItem";
chkHexCodes.Name = "chkHexCodes"; FillToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B;
chkHexCodes.Size = new System.Drawing.Size(95, 19); FillToolStripMenuItem.Size = new System.Drawing.Size(197, 22);
chkHexCodes.TabIndex = 22; FillToolStripMenuItem.Text = "Fill canvas";
chkHexCodes.Text = "Codes in Hex"; FillToolStripMenuItem.Click += btnFill_Click;
chkHexCodes.UseVisualStyleBackColor = true;
chkHexCodes.CheckedChanged += chkHexCodes_CheckedChanged;
// //
// MainForm // MainForm
// //
@@ -1019,6 +1045,8 @@
private System.Windows.Forms.ToolStripMenuItem importImageToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem importImageToolStripMenuItem;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckBox chkHexCodes; private System.Windows.Forms.CheckBox chkHexCodes;
private System.Windows.Forms.Button btnFill;
private System.Windows.Forms.ToolStripMenuItem FillToolStripMenuItem;
} }
} }

View File

@@ -125,7 +125,7 @@ namespace McBitFont {
return ff; return ff;
} }
public void ListViewItem_SetSpacing(ListView listview, short leftPadding, short topPadding) { public static void ListViewItem_SetSpacing(ListView listview, short leftPadding, short topPadding) {
const int LVM_FIRST = 0x1000; const int LVM_FIRST = 0x1000;
const int LVM_SETICONSPACING = LVM_FIRST + 53; const int LVM_SETICONSPACING = LVM_FIRST + 53;
SendMessage(listview.Handle, LVM_SETICONSPACING, IntPtr.Zero, (IntPtr)MakeLong(leftPadding, topPadding)); SendMessage(listview.Handle, LVM_SETICONSPACING, IntPtr.Zero, (IntPtr)MakeLong(leftPadding, topPadding));
@@ -161,8 +161,8 @@ namespace McBitFont {
if (monospaced) { if (monospaced) {
Bitmap bmp; Bitmap bmp;
for (int i = 0; i < frames.Count; i++) { for (int i = 0; i < frames.Count; i++) {
frames[i] = frameResize(frames[i], (int)nudX.Value, dotHeight); frames[i] = FrameResize(frames[i], (int)nudX.Value, dotHeight);
bmp = getMiniPictue(frames[i]); bmp = GetMiniPictue(frames[i]);
string s = frames[i].code.ToString().PadLeft(3, '0'); string s = frames[i].code.ToString().PadLeft(3, '0');
ilMiniatures.Images.RemoveByKey(s); ilMiniatures.Images.RemoveByKey(s);
ilMiniatures.Images.Add(s, (Image)bmp); ilMiniatures.Images.Add(s, (Image)bmp);
@@ -174,7 +174,7 @@ namespace McBitFont {
prjModified = true; prjModified = true;
} }
dotResize((int)nudX.Value, dotHeight); DotResize((int)nudX.Value, dotHeight);
Cursor.Current = Cursors.Default; Cursor.Current = Cursors.Default;
} }
@@ -182,8 +182,8 @@ namespace McBitFont {
Cursor.Current = Cursors.WaitCursor; Cursor.Current = Cursors.WaitCursor;
Bitmap bmp; Bitmap bmp;
for (int i = 0; i < frames.Count; i++) { for (int i = 0; i < frames.Count; i++) {
frames[i] = frameResize(frames[i], frames[i].width, (int)nudY.Value); frames[i] = FrameResize(frames[i], frames[i].width, (int)nudY.Value);
bmp = getMiniPictue(frames[i]); bmp = GetMiniPictue(frames[i]);
string s = frames[i].code.ToString().PadLeft(3, '0'); string s = frames[i].code.ToString().PadLeft(3, '0');
ilMiniatures.Images.RemoveByKey(s); ilMiniatures.Images.RemoveByKey(s);
ilMiniatures.Images.Add(s, (Image)bmp); ilMiniatures.Images.Add(s, (Image)bmp);
@@ -194,11 +194,11 @@ namespace McBitFont {
prjModified = true; prjModified = true;
} }
dotResize(dotWidth, (int)nudY.Value); DotResize(dotWidth, (int)nudY.Value);
Cursor.Current = Cursors.Default; Cursor.Current = Cursors.Default;
} }
private FrameMiniature frameResize(FrameMiniature ff, int neww, int newh) { private FrameMiniature FrameResize(FrameMiniature ff, int neww, int newh) {
int oldw = ff.width; int oldw = ff.width;
int oldh = ff.height; int oldh = ff.height;
int di = 0, dj = 0; int di = 0, dj = 0;
@@ -226,8 +226,8 @@ namespace McBitFont {
return ff; return ff;
} }
private void dotResize(int ww, int hh) { private void DotResize(int ww, int hh) {
f = frameResize(f, ww, hh); f = FrameResize(f, ww, hh);
dotWidth = ww; dotWidth = ww;
dotHeight = hh; dotHeight = hh;
w = pixelOffset + dotWidth * (cellSize + gap); w = pixelOffset + dotWidth * (cellSize + gap);
@@ -496,7 +496,7 @@ namespace McBitFont {
int index = frames.FindIndex(x => x.code == f.code); int index = frames.FindIndex(x => x.code == f.code);
frames[index] = f; frames[index] = f;
var sizedBMP = getMiniPictue(f); var sizedBMP = GetMiniPictue(f);
string s = f.code.ToString().PadLeft(3, '0'); string s = f.code.ToString().PadLeft(3, '0');
ilMiniatures.Images.RemoveByKey(s); ilMiniatures.Images.RemoveByKey(s);
ilMiniatures.Images.Add(s, (Image)sizedBMP); ilMiniatures.Images.Add(s, (Image)sizedBMP);
@@ -505,7 +505,7 @@ namespace McBitFont {
prjModified = true; prjModified = true;
} }
private Bitmap getMiniPictue(FrameMiniature m) { private static Bitmap GetMiniPictue(FrameMiniature m) {
int picSize = (m.width > m.height) ? m.width : m.height; int picSize = (m.width > m.height) ? m.width : m.height;
var bmp = new Bitmap(picSize, picSize); var bmp = new Bitmap(picSize, picSize);
int imin = m.width < picSize ? (picSize - m.width) / 2 : 0; int imin = m.width < picSize ? (picSize - m.width) / 2 : 0;
@@ -572,7 +572,7 @@ namespace McBitFont {
return enc.GetString(new byte[] { (byte)code }); return enc.GetString(new byte[] { (byte)code });
} }
private FrameMiniature fillFrame(FrameMiniature ff, Font font, int sx, int sy) { private FrameMiniature DrawFrameChar(FrameMiniature ff, Font font, int sx, int sy) {
string s = decodeSymbol(ff.code); string s = decodeSymbol(ff.code);
Bitmap bmp = new Bitmap(ff.width, ff.height); Bitmap bmp = new Bitmap(ff.width, ff.height);
Graphics g = Graphics.FromImage(bmp); Graphics g = Graphics.FromImage(bmp);
@@ -640,7 +640,7 @@ namespace McBitFont {
for (i = imin; i <= imax; i++) { for (i = imin; i <= imax; i++) {
newf = new FrameMiniature(i, neww, newh); newf = new FrameMiniature(i, neww, newh);
if (form.cbFontBased.Checked) newf = fillFrame(newf, form.dlgFont.Font, (int)form.nudShiftX.Value, (int)form.nudShiftY.Value); if (form.cbFontBased.Checked) newf = DrawFrameChar(newf, form.dlgFont.Font, (int)form.nudShiftX.Value, (int)form.nudShiftY.Value);
frames.Add(newf); frames.Add(newf);
} }
@@ -654,7 +654,7 @@ namespace McBitFont {
codepage = (form.cbEncoding.SelectedItem as New.EncodingItem).Code; codepage = (form.cbEncoding.SelectedItem as New.EncodingItem).Code;
foreach (FrameMiniature ff in frames) { foreach (FrameMiniature ff in frames) {
var s = ff.code.ToString().PadLeft(3, '0'); var s = ff.code.ToString().PadLeft(3, '0');
ilMiniatures.Images.Add(s, (Image)getMiniPictue(ff)); ilMiniatures.Images.Add(s, (Image)GetMiniPictue(ff));
var sss = decodeSymbol(ff.code); var sss = decodeSymbol(ff.code);
miniList.Items.Add(s, s + ' ' + append + sss, s); miniList.Items.Add(s, s + ' ' + append + sss, s);
} }
@@ -764,14 +764,14 @@ namespace McBitFont {
var s = ff.code.ToString().PadLeft(3, '0'); var s = ff.code.ToString().PadLeft(3, '0');
var sHex = 'x' + Convert.ToString(ff.code, 16).PadLeft(2, '0').ToUpper(); var sHex = 'x' + Convert.ToString(ff.code, 16).PadLeft(2, '0').ToUpper();
var sss = decodeSymbol(ff.code); var sss = decodeSymbol(ff.code);
ilMiniatures.Images.Add(s, (Image)getMiniPictue(ff)); ilMiniatures.Images.Add(s, (Image)GetMiniPictue(ff));
miniList.Items.Add(s, (chkHexCodes.Checked ? sHex : s) + ' ' + sss, s); miniList.Items.Add(s, (chkHexCodes.Checked ? sHex : s) + ' ' + sss, s);
} }
nudX.ValueChanged -= nudX_ValueChanged; nudX.ValueChanged -= nudX_ValueChanged;
nudY.ValueChanged -= nudY_ValueChanged; nudY.ValueChanged -= nudY_ValueChanged;
nudX.Value = frames.First().width; nudX.Value = frames.First().width;
nudY.Value = frames.First().height; nudY.Value = frames.First().height;
dotResize((int)nudX.Value, (int)nudY.Value); DotResize((int)nudX.Value, (int)nudY.Value);
nudX.ValueChanged += nudX_ValueChanged; nudX.ValueChanged += nudX_ValueChanged;
nudY.ValueChanged += nudY_ValueChanged; nudY.ValueChanged += nudY_ValueChanged;
f = CopyFrame(frames.First()); f = CopyFrame(frames.First());
@@ -856,7 +856,7 @@ namespace McBitFont {
} }
var s = ff.code.ToString().PadLeft(3, '0'); var s = ff.code.ToString().PadLeft(3, '0');
ilMiniatures.Images.Add(s, (Image)getMiniPictue(ff)); ilMiniatures.Images.Add(s, (Image)GetMiniPictue(ff));
var sss = decodeSymbol(ff.code); var sss = decodeSymbol(ff.code);
miniList.Items.Add(s, s + ' ' + sss, s); miniList.Items.Add(s, s + ' ' + sss, s);
CheckForAdd(); CheckForAdd();
@@ -939,15 +939,32 @@ namespace McBitFont {
} }
private void btnClear_Click(object sender, EventArgs e) { private void FillFrame(bool val) {
history.AddPre(f); history.AddPre(f);
Array.Clear(f.data, 0, f.data.Length);
if (!val) Array.Clear(f.data);
else
for (int i = 0; i < f.width; i++) {
for (int j = 0; j < f.height; j++) {
f.data[i, j] = val;
}
}
history.AddPost(f); history.AddPost(f);
CheckHistoryButtons(); CheckHistoryButtons();
modified = true; modified = true;
prjModified = true;
dotPanel.Refresh(); dotPanel.Refresh();
} }
private void btnClear_Click(object sender, EventArgs e) {
FillFrame(false);
}
private void btnFill_Click(object sender, EventArgs e) {
FillFrame(true);
}
private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { private void MainForm_FormClosing(object sender, FormClosingEventArgs e) {
if (prjModified) { if (prjModified) {
if (MessageBox.Show("The project is modified.\nAre you sure you want to quit?", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { if (MessageBox.Show("The project is modified.\nAre you sure you want to quit?", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) {
@@ -1050,7 +1067,7 @@ namespace McBitFont {
var key = ff.code.ToString().PadLeft(3, '0'); var key = ff.code.ToString().PadLeft(3, '0');
var text = decodeSymbol(ff.code); var text = decodeSymbol(ff.code);
ilMiniatures.Images.Add(key, (Image)getMiniPictue(ff)); ilMiniatures.Images.Add(key, (Image)GetMiniPictue(ff));
miniList.Items.Add(key, key + ' ' + text, key); miniList.Items.Add(key, key + ' ' + text, key);
} }
@@ -1098,5 +1115,6 @@ namespace McBitFont {
} }
} }
} }
} }

View File

@@ -110,6 +110,26 @@ namespace McBitFont.Properties {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Canvas_Clear {
get {
object obj = ResourceManager.GetObject("Canvas_Clear", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Canvas_Fill {
get {
object obj = ResourceManager.GetObject("Canvas_Fill", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>

View File

@@ -151,8 +151,8 @@
<data name="z_right" type="System.Resources.ResXFileRef, System.Windows.Forms"> <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> <value>..\Resources\arrow_right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="Famfamfam-Silk-Door-out.16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="calculator" 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> <value>..\Resources\calculator.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="z_asterisk" type="System.Resources.ResXFileRef, System.Windows.Forms"> <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> <value>..\Resources\asterisk_orange.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@@ -160,9 +160,15 @@
<data name="z_down" type="System.Resources.ResXFileRef, System.Windows.Forms"> <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> <value>..\..\icons\famfamfam\arrow_down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </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"> <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> <value>..\Resources\arrow_up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </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="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>
@@ -208,7 +214,7 @@
<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="calculator" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Canvas_Fill" 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> <value>..\Resources\Canvas_Fill.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
</root> </root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B

View File

@@ -9,6 +9,7 @@ V Option to display codes in Hex numbers
V Make symbol list wider to display 8 characters instead of 7 V Make symbol list wider to display 8 characters instead of 7
Functionality: Functionality:
V Fill canvas button
V Context menu in symbol navigator V Context menu in symbol navigator
V Delete symbols before/after selected V Delete symbols before/after selected
V Shift all symbols on code line (change symbol codes) V Shift all symbols on code line (change symbol codes)

BIN
icons/Canvas_Clear.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 B

BIN
icons/Canvas_Fill.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B