floppy info window: centurion button

This commit is contained in:
Rick Altherr committed 2023-09-13 21:24:03 -07:00
1 parent ff52a83f3e
commit decd69c861
4 files changed
+48 -36

No files matched your search

@@ -420,6 +420,7 @@ int InfosThreadProc(void* floppycontext,void* context)
hxcfe_td_activate_analyzer(td,C64_GCR_ENCODING,w->c64_bt->value());
hxcfe_td_activate_analyzer(td,VICTOR9K_GCR_ENCODING,w->victor9k_bt->value());
hxcfe_td_activate_analyzer(td,MICRALN_HS_FM_ENCODING,w->heathkit_bt->value());
hxcfe_td_activate_analyzer(td,CENTURION_MFM_ENCODING,w->centurion_bt->value());
hxcfe_td_setparams(td,(int)(adjust_timescale(w->x_time->value())),(int)w->y_time->value(),(int)(w->x_offset->value()*1000),0);
@@ -1108,4 +1109,4 @@ void mouse_di_cb(Fl_Widget *o, void *v)
}
}
}
@@ -39,7 +39,7 @@ floppy_infos_window::floppy_infos_window() {
} // Fl_Choice* view_mode
o->end();
} // Fl_Group* o
{ Fl_Group* o = new Fl_Group(1000, 2, 275, 284, getString(STR_FLOPPYVIEWERWINDOW_0005));
{ Fl_Group* o = new Fl_Group(1000, 2, 275, 269, getString(STR_FLOPPYVIEWERWINDOW_0005));
o->box(FL_ENGRAVED_FRAME);
o->labeltype(FL_ENGRAVED_LABEL);
o->labelsize(12);
@@ -102,71 +102,75 @@ floppy_infos_window::floppy_infos_window() {
} // Fl_Button* o
o->end();
} // Fl_Group* o
{ Fl_Group* o = new Fl_Group(1000, 287, 275, 101, getString(STR_FLOPPYVIEWERWINDOW_0014));
{ Fl_Group* o = new Fl_Group(1000, 272, 275, 117, getString(STR_FLOPPYVIEWERWINDOW_0014));
o->box(FL_ENGRAVED_FRAME);
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, 305, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0015));
{ iso_mfm_bt = new Fl_Light_Button(1015, 290, 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, 320, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0016));
{ iso_fm_bt = new Fl_Light_Button(1015, 305, 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, 335, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0017));
{ amiga_mfm_bt = new Fl_Light_Button(1015, 320, 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, 335, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0018));
{ membrain_bt = new Fl_Light_Button(1099, 320, 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, 320, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0019));
{ tycom_bt = new Fl_Light_Button(1099, 305, 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, 305, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0020));
{ eemu_bt = new Fl_Light_Button(1099, 290, 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, 350, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0021));
{ apple2_bt = new Fl_Light_Button(1015, 335, 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, 350, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0022));
{ arburg_bt = new Fl_Light_Button(1099, 335, 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, 305, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0023));
{ aed6200p_bt = new Fl_Light_Button(1183, 290, 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, 320, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0024));
{ northstar_bt = new Fl_Light_Button(1183, 305, 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, 335, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0025));
{ heathkit_bt = new Fl_Light_Button(1183, 320, 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, 350, 76, 15, getString(STR_FLOPPYVIEWERWINDOW_0026));
{ decrx02_bt = new Fl_Light_Button(1183, 335, 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, 365, 76, 15, "C64");
{ c64_bt = new Fl_Light_Button(1015, 350, 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, 365, 76, 15, "QD MO5");
{ qd_mo5_bt = new Fl_Light_Button(1183, 350, 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, 365, 76, 15, "Victor 9K");
{ victor9k_bt = new Fl_Light_Button(1099, 350, 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->labelsize(10);
centurion_bt->callback((Fl_Callback*)disk_infos_window_callback, (void*)(this));
} // Fl_Light_Button* centurion_bt
o->end();
} // Fl_Group* o
@@ -50,6 +50,7 @@ public:
Fl_Light_Button *c64_bt;
Fl_Light_Button *qd_mo5_bt;
Fl_Light_Button *victor9k_bt;
Fl_Light_Button *centurion_bt;
Fl_Text_Buffer* buf;
Fl_Text_Display * txt_displ;
};
@@ -35,7 +35,7 @@ class floppy_infos_window {open
}
Fl_Group {} {
label Status open
xywh {1000 2 275 284} box ENGRAVED_FRAME labeltype ENGRAVED_LABEL labelsize 12 align 21
xywh {1000 2 275 269} box ENGRAVED_FRAME labeltype ENGRAVED_LABEL labelsize 12 align 21
} {
Fl_Output x_pos {
xywh {1005 17 265 15} labelsize 10 textsize 10
@@ -48,7 +48,7 @@ class floppy_infos_window {open
}
Fl_Text_Display object_txt {
user_data this
xywh {1005 68 265 215} labelsize 10 textsize 10
xywh {1005 68 265 200} labelsize 10 textsize 10
}
}
Fl_Group floppy_map_disp {
@@ -92,97 +92,103 @@ class floppy_infos_window {open
}
Fl_Group {} {
label {Track analysis format} open
xywh {1000 287 275 102} box ENGRAVED_FRAME labeltype EMBOSSED_LABEL labelsize 10 align 21
xywh {1000 272 275 117} box ENGRAVED_FRAME labeltype EMBOSSED_LABEL labelsize 10 align 21
} {
Fl_Light_Button iso_mfm_bt {
label {ISO MFM}
user_data this
callback disk_infos_window_callback
xywh {1015 305 76 15} labelsize 10
xywh {1015 290 76 15} labelsize 10
}
Fl_Light_Button iso_fm_bt {
label {ISO FM}
user_data this
callback disk_infos_window_callback
xywh {1015 320 76 15} labelsize 10
xywh {1015 305 76 15} labelsize 10
}
Fl_Light_Button amiga_mfm_bt {
label {AMIGA MFM}
user_data this
callback disk_infos_window_callback
xywh {1015 335 76 15} labelsize 10
xywh {1015 320 76 15} labelsize 10
}
Fl_Light_Button membrain_bt {
label MEMBRAIN
user_data this
callback disk_infos_window_callback
xywh {1099 335 76 15} labelsize 10
xywh {1099 320 76 15} labelsize 10
}
Fl_Light_Button tycom_bt {
label TYCOM
user_data this
callback disk_infos_window_callback
xywh {1099 320 76 15} labelsize 10
xywh {1099 305 76 15} labelsize 10
}
Fl_Light_Button eemu_bt {
label {E-Emu}
user_data this
callback disk_infos_window_callback
xywh {1099 305 76 15} labelsize 10
xywh {1099 290 76 15} labelsize 10
}
Fl_Light_Button apple2_bt {
label Apple
user_data this
callback disk_infos_window_callback
xywh {1015 350 76 15} labelsize 10
xywh {1015 335 76 15} labelsize 10
}
Fl_Light_Button arburg_bt {
label Arburg
user_data this
callback disk_infos_window_callback
xywh {1099 350 76 15} labelsize 10
xywh {1099 335 76 15} labelsize 10
}
Fl_Light_Button aed6200p_bt {
label {AED 6200P}
user_data this
callback disk_infos_window_callback
xywh {1183 305 76 15} labelsize 10
xywh {1183 290 76 15} labelsize 10
}
Fl_Light_Button northstar_bt {
label NORTHSTAR
user_data this
callback disk_infos_window_callback
xywh {1183 320 76 15} labelsize 10
xywh {1183 305 76 15} labelsize 10
}
Fl_Light_Button heathkit_bt {
label HEATHKIT
user_data this
callback disk_infos_window_callback
xywh {1183 335 76 15} labelsize 10
xywh {1183 320 76 15} labelsize 10
}
Fl_Light_Button decrx02_bt {
label {DEC RX02}
user_data this
callback disk_infos_window_callback
xywh {1183 350 76 15} labelsize 10
xywh {1183 335 76 15} labelsize 10
}
Fl_Light_Button c64_bt {
label C64
user_data this
callback disk_infos_window_callback
xywh {1015 365 76 15} labelsize 10
xywh {1015 350 76 15} labelsize 10
}
Fl_Light_Button qd_mo5_bt {
label {QD MO5}
user_data this
callback disk_infos_window_callback
xywh {1183 365 76 15} labelsize 10
xywh {1183 350 76 15} labelsize 10
}
Fl_Light_Button victor9k_bt {
label {Victor 9K}
user_data this
callback disk_infos_window_callback
xywh {1099 365 76 15} labelsize 10
xywh {1099 350 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
}
}
}