mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-07-28 04:06:36 +00:00
cosmetic gui change
This commit is contained in:
@@ -1037,7 +1037,7 @@ int load_indexed_fileimage(int index)
|
||||
else
|
||||
{
|
||||
hxcfe_floppyUnload(guicontext->hxcfe,guicontext->loadedfloppy);
|
||||
guicontext->loadedfloppy=0;
|
||||
guicontext->loadedfloppy = NULL;
|
||||
|
||||
guicontext->last_loaded_image_path[0]=0;
|
||||
cur_index = -1;
|
||||
|
||||
@@ -56,7 +56,7 @@ floppy_infos_window::floppy_infos_window() {
|
||||
global_status->labelsize(10);
|
||||
global_status->textsize(10);
|
||||
} // Fl_Output* global_status
|
||||
{ object_txt = new Fl_Text_Display(1005, 68, 265, 215);
|
||||
{ object_txt = new Fl_Text_Display(1005, 68, 265, 200);
|
||||
object_txt->labelsize(10);
|
||||
object_txt->textsize(10);
|
||||
object_txt->user_data((void*)(this));
|
||||
@@ -107,67 +107,67 @@ floppy_infos_window::floppy_infos_window() {
|
||||
o->labeltype(FL_EMBOSSED_LABEL);
|
||||
o->labelsize(10);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ iso_mfm_bt = new Fl_Light_Button(1015, 290, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0015));
|
||||
{ iso_mfm_bt = new Fl_Light_Button(1015, 293, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0015));
|
||||
iso_mfm_bt->labelsize(10);
|
||||
iso_mfm_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* iso_mfm_bt
|
||||
{ iso_fm_bt = new Fl_Light_Button(1015, 305, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0016));
|
||||
{ iso_fm_bt = new Fl_Light_Button(1015, 308, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0016));
|
||||
iso_fm_bt->labelsize(10);
|
||||
iso_fm_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* iso_fm_bt
|
||||
{ amiga_mfm_bt = new Fl_Light_Button(1015, 320, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0017));
|
||||
{ amiga_mfm_bt = new Fl_Light_Button(1015, 323, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0017));
|
||||
amiga_mfm_bt->labelsize(10);
|
||||
amiga_mfm_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* amiga_mfm_bt
|
||||
{ membrain_bt = new Fl_Light_Button(1099, 320, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0018));
|
||||
{ membrain_bt = new Fl_Light_Button(1099, 323, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0018));
|
||||
membrain_bt->labelsize(10);
|
||||
membrain_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* membrain_bt
|
||||
{ tycom_bt = new Fl_Light_Button(1099, 305, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0019));
|
||||
{ tycom_bt = new Fl_Light_Button(1099, 308, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0019));
|
||||
tycom_bt->labelsize(10);
|
||||
tycom_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* tycom_bt
|
||||
{ eemu_bt = new Fl_Light_Button(1099, 290, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0020));
|
||||
{ eemu_bt = new Fl_Light_Button(1099, 293, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0020));
|
||||
eemu_bt->labelsize(10);
|
||||
eemu_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* eemu_bt
|
||||
{ apple2_bt = new Fl_Light_Button(1015, 335, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0021));
|
||||
{ apple2_bt = new Fl_Light_Button(1015, 338, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0021));
|
||||
apple2_bt->labelsize(10);
|
||||
apple2_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* apple2_bt
|
||||
{ arburg_bt = new Fl_Light_Button(1099, 335, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0022));
|
||||
{ arburg_bt = new Fl_Light_Button(1099, 338, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0022));
|
||||
arburg_bt->labelsize(10);
|
||||
arburg_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* arburg_bt
|
||||
{ aed6200p_bt = new Fl_Light_Button(1183, 290, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0023));
|
||||
{ aed6200p_bt = new Fl_Light_Button(1183, 293, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0023));
|
||||
aed6200p_bt->labelsize(10);
|
||||
aed6200p_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* aed6200p_bt
|
||||
{ northstar_bt = new Fl_Light_Button(1183, 305, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0024));
|
||||
{ northstar_bt = new Fl_Light_Button(1183, 308, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0024));
|
||||
northstar_bt->labelsize(10);
|
||||
northstar_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* northstar_bt
|
||||
{ heathkit_bt = new Fl_Light_Button(1183, 320, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0025));
|
||||
{ heathkit_bt = new Fl_Light_Button(1183, 323, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0025));
|
||||
heathkit_bt->labelsize(10);
|
||||
heathkit_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* heathkit_bt
|
||||
{ decrx02_bt = new Fl_Light_Button(1183, 335, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0026));
|
||||
{ decrx02_bt = new Fl_Light_Button(1183, 338, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0026));
|
||||
decrx02_bt->labelsize(10);
|
||||
decrx02_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* decrx02_bt
|
||||
{ c64_bt = new Fl_Light_Button(1015, 350, 76, 15, "C64");
|
||||
{ c64_bt = new Fl_Light_Button(1015, 353, 76, 15, "C64");
|
||||
c64_bt->labelsize(10);
|
||||
c64_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* c64_bt
|
||||
{ qd_mo5_bt = new Fl_Light_Button(1183, 350, 76, 15, "QD MO5");
|
||||
{ qd_mo5_bt = new Fl_Light_Button(1183, 353, 76, 15, "QD MO5");
|
||||
qd_mo5_bt->labelsize(10);
|
||||
qd_mo5_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* qd_mo5_bt
|
||||
{ victor9k_bt = new Fl_Light_Button(1099, 350, 76, 15, "Victor 9K");
|
||||
{ victor9k_bt = new Fl_Light_Button(1099, 353, 76, 15, "Victor 9K");
|
||||
victor9k_bt->labelsize(10);
|
||||
victor9k_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* victor9k_bt
|
||||
{ centurion_bt = new Fl_Light_Button(1015, 365, 76, 15, "Centurion");
|
||||
{ centurion_bt = new Fl_Light_Button(1015, 368, 76, 15, "Centurion");
|
||||
centurion_bt->labelsize(10);
|
||||
centurion_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
|
||||
} // Fl_Light_Button* centurion_bt
|
||||
|
||||
@@ -8,7 +8,7 @@ class floppy_infos_window {open
|
||||
} {
|
||||
Fl_Window window {
|
||||
label {Visual Floppy disk} open
|
||||
xywh {1 100 1275 540} type Single resizable visible
|
||||
xywh {173 146 1275 540} type Single resizable visible
|
||||
} {
|
||||
Fl_Group {} {
|
||||
label {Track / Side selection} open
|
||||
@@ -97,98 +97,98 @@ class floppy_infos_window {open
|
||||
Fl_Light_Button iso_mfm_bt {
|
||||
label {ISO MFM}
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1015 290 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1015 293 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button iso_fm_bt {
|
||||
label {ISO FM}
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1015 305 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1015 308 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button amiga_mfm_bt {
|
||||
label {AMIGA MFM}
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1015 320 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1015 323 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button membrain_bt {
|
||||
label MEMBRAIN
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1099 320 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1099 323 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button tycom_bt {
|
||||
label TYCOM
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1099 305 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1099 308 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button eemu_bt {
|
||||
label {E-Emu}
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1099 290 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1099 293 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button apple2_bt {
|
||||
label Apple
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1015 335 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1015 338 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button arburg_bt {
|
||||
label Arburg
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1099 335 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1099 338 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button aed6200p_bt {
|
||||
label {AED 6200P}
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1183 290 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1183 293 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button northstar_bt {
|
||||
label NORTHSTAR
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1183 305 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1183 308 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button heathkit_bt {
|
||||
label HEATHKIT
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1183 320 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1183 323 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button decrx02_bt {
|
||||
label {DEC RX02}
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1183 335 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1183 338 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button c64_bt {
|
||||
label C64
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1015 350 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1015 353 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button qd_mo5_bt {
|
||||
label {QD MO5}
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1183 350 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1183 353 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button victor9k_bt {
|
||||
label {Victor 9K}
|
||||
user_data this
|
||||
callback disk_infos_window_callback
|
||||
xywh {1099 350 76 15} labelsize 10
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1099 353 76 15} labelsize 10
|
||||
}
|
||||
Fl_Light_Button centurion_bt {
|
||||
label Centurion
|
||||
user_data this
|
||||
callback disk_infos_window_callback selected
|
||||
xywh {1015 365 76 15} labelsize 10
|
||||
xywh {1015 368 76 15} labelsize 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user