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) {
|
||||
Cursor.Current = Cursors.WaitCursor;
|
||||
if (monospaced) {
|
||||
Bitmap bmp;
|
||||
for (int i = 0; i < frames.Count; i++) {
|
||||
@@ -165,9 +166,11 @@ namespace McBitFont {
|
||||
}
|
||||
prjModified = true;
|
||||
dotResize((int)nudX.Value, dotHeight);
|
||||
Cursor.Current = Cursors.Default;
|
||||
}
|
||||
|
||||
private void nudY_ValueChanged(object sender, EventArgs e) {
|
||||
Cursor.Current = Cursors.WaitCursor;
|
||||
Bitmap bmp;
|
||||
for (int i = 0; i < frames.Count; i++) {
|
||||
frames[i] = frameResize(frames[i], frames[i].width, (int)nudY.Value);
|
||||
@@ -180,6 +183,7 @@ namespace McBitFont {
|
||||
if (nudY.Focused) modified = true;
|
||||
prjModified = true;
|
||||
dotResize(dotWidth, (int)nudY.Value);
|
||||
Cursor.Current = Cursors.Default;
|
||||
}
|
||||
|
||||
private FrameMiniature frameResize(FrameMiniature ff, int neww, int newh) {
|
||||
@@ -589,6 +593,8 @@ namespace McBitFont {
|
||||
}
|
||||
New form = new New(this);
|
||||
if (form.ShowDialog() == DialogResult.OK) {
|
||||
Cursor.Current = Cursors.WaitCursor;
|
||||
|
||||
frames.Clear();
|
||||
miniList.Clear();
|
||||
ilMiniatures.Images.Clear();
|
||||
@@ -638,8 +644,6 @@ namespace McBitFont {
|
||||
miniList.Items.Add(s, s + ' ' + append + sss, s);
|
||||
}
|
||||
f = CopyFrame(frames.First());
|
||||
dotPanel.Refresh();
|
||||
miniList.Refresh();
|
||||
form.Dispose();
|
||||
|
||||
baseline = 0;
|
||||
@@ -650,7 +654,13 @@ namespace McBitFont {
|
||||
modified = false;
|
||||
checkForAdd();
|
||||
fbuffer = false;
|
||||
miniList.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 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 Spinning cursor when application is busy
|
||||
|
||||
Functionality:
|
||||
- Context menu in symbol navigator
|
||||
|
Reference in New Issue
Block a user