TODO feature: Spinning cursor when application is busy; small history fix
This commit is contained in:
@@ -150,6 +150,7 @@ namespace McBitFont {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void nudX_ValueChanged(object sender, EventArgs e) {
|
private void nudX_ValueChanged(object sender, EventArgs e) {
|
||||||
|
Cursor.Current = Cursors.WaitCursor;
|
||||||
if (monospaced) {
|
if (monospaced) {
|
||||||
Bitmap bmp;
|
Bitmap bmp;
|
||||||
for (int i = 0; i < frames.Count; i++) {
|
for (int i = 0; i < frames.Count; i++) {
|
||||||
@@ -165,9 +166,11 @@ namespace McBitFont {
|
|||||||
}
|
}
|
||||||
prjModified = true;
|
prjModified = true;
|
||||||
dotResize((int)nudX.Value, dotHeight);
|
dotResize((int)nudX.Value, dotHeight);
|
||||||
|
Cursor.Current = Cursors.Default;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void nudY_ValueChanged(object sender, EventArgs e) {
|
private void nudY_ValueChanged(object sender, EventArgs e) {
|
||||||
|
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);
|
||||||
@@ -180,6 +183,7 @@ namespace McBitFont {
|
|||||||
if (nudY.Focused) modified = true;
|
if (nudY.Focused) modified = true;
|
||||||
prjModified = true;
|
prjModified = true;
|
||||||
dotResize(dotWidth, (int)nudY.Value);
|
dotResize(dotWidth, (int)nudY.Value);
|
||||||
|
Cursor.Current = Cursors.Default;
|
||||||
}
|
}
|
||||||
|
|
||||||
private FrameMiniature frameResize(FrameMiniature ff, int neww, int newh) {
|
private FrameMiniature frameResize(FrameMiniature ff, int neww, int newh) {
|
||||||
@@ -589,6 +593,8 @@ namespace McBitFont {
|
|||||||
}
|
}
|
||||||
New form = new New(this);
|
New form = new New(this);
|
||||||
if (form.ShowDialog() == DialogResult.OK) {
|
if (form.ShowDialog() == DialogResult.OK) {
|
||||||
|
Cursor.Current = Cursors.WaitCursor;
|
||||||
|
|
||||||
frames.Clear();
|
frames.Clear();
|
||||||
miniList.Clear();
|
miniList.Clear();
|
||||||
ilMiniatures.Images.Clear();
|
ilMiniatures.Images.Clear();
|
||||||
@@ -638,8 +644,6 @@ namespace McBitFont {
|
|||||||
miniList.Items.Add(s, s + ' ' + append + sss, s);
|
miniList.Items.Add(s, s + ' ' + append + sss, s);
|
||||||
}
|
}
|
||||||
f = CopyFrame(frames.First());
|
f = CopyFrame(frames.First());
|
||||||
dotPanel.Refresh();
|
|
||||||
miniList.Refresh();
|
|
||||||
form.Dispose();
|
form.Dispose();
|
||||||
|
|
||||||
baseline = 0;
|
baseline = 0;
|
||||||
@@ -650,7 +654,13 @@ namespace McBitFont {
|
|||||||
modified = false;
|
modified = false;
|
||||||
checkForAdd();
|
checkForAdd();
|
||||||
fbuffer = false;
|
fbuffer = false;
|
||||||
|
miniList.Refresh();
|
||||||
dotPanel.Refresh();
|
dotPanel.Refresh();
|
||||||
|
|
||||||
|
// Re-create history object
|
||||||
|
history = new CanvasHistory();
|
||||||
|
|
||||||
|
Cursor.Current = Cursors.Default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
TODO.txt
1
TODO.txt
@@ -2,6 +2,7 @@ Application:
|
|||||||
V Migrate from .Net Framework 4.7 to .NET 9
|
V Migrate from .Net Framework 4.7 to .NET 9
|
||||||
V New Save file format! Use McBitFont v1.7 to convert old save files to the new format.
|
V New Save file format! Use McBitFont v1.7 to convert old save files to the new format.
|
||||||
V Better quality pictures in symbol list
|
V Better quality pictures in symbol list
|
||||||
|
V Spinning cursor when application is busy
|
||||||
|
|
||||||
Functionality:
|
Functionality:
|
||||||
- Context menu in symbol navigator
|
- Context menu in symbol navigator
|
||||||
|
Reference in New Issue
Block a user