2001-10-29 06:44:33 +03:00
|
|
|
# data file for the Fltk User Interface Designer (fluid)
|
2016-01-30 03:56:42 +03:00
|
|
|
version 1.0400
|
2015-07-09 05:09:33 +03:00
|
|
|
header_name {.h}
|
2008-12-05 17:59:10 +03:00
|
|
|
code_name {.cxx}
|
2023-07-15 00:42:09 +03:00
|
|
|
snap {
|
|
|
|
ver 1
|
|
|
|
current_suite FLTK
|
|
|
|
current_preset 1
|
|
|
|
}
|
2008-12-05 17:59:10 +03:00
|
|
|
Function {button_cb(Fl_Button *b, void *)} {
|
|
|
|
comment {Buttons test callback} open private return_type void
|
|
|
|
} {
|
|
|
|
code {char msg[256];
|
|
|
|
sprintf(msg, "Label: '%s'\\nValue: %d", b->label(),b->value());
|
|
|
|
cb_info->value(msg);
|
2008-12-16 23:11:04 +03:00
|
|
|
cb_info->redraw();
|
2023-07-15 00:42:09 +03:00
|
|
|
printf("%s\\n",msg);} {}
|
2015-07-09 05:09:33 +03:00
|
|
|
}
|
2008-12-05 17:59:10 +03:00
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
Function {} {open
|
|
|
|
} {
|
2023-07-15 00:42:09 +03:00
|
|
|
Fl_Window {} {open selected
|
|
|
|
xywh {470 366 369 214} type Double visible
|
1998-10-06 22:21:25 +04:00
|
|
|
} {
|
|
|
|
Fl_Button {} {
|
2008-12-16 23:11:04 +03:00
|
|
|
label {&Fl_Button A1}
|
2008-12-05 17:59:10 +03:00
|
|
|
tooltip {Normal button (callback called only when released)} xywh {20 10 160 30} labelsize 13
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2008-12-16 23:11:04 +03:00
|
|
|
Fl_Button {} {
|
|
|
|
label {Fl_Button &A2}
|
|
|
|
tooltip {Normal button with callback called when changed (push and released)} xywh {20 44 160 30} labelsize 13 when 1
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
|
|
|
}
|
1998-10-06 22:21:25 +04:00
|
|
|
Fl_Return_Button {} {
|
2008-12-05 17:59:10 +03:00
|
|
|
label {Fl_Return_Button &B}
|
|
|
|
tooltip {Button with Return key as default shortcut} xywh {20 78 160 30} labelsize 13
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
Fl_Light_Button {} {
|
2008-12-05 17:59:10 +03:00
|
|
|
label {Fl_Light_Button &C}
|
|
|
|
tooltip {Button with toggle state and a visual indicator of the current state} xywh {20 113 160 30} labelsize 13
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
Fl_Check_Button {} {
|
2008-12-05 17:59:10 +03:00
|
|
|
label {Fl_Check_Button &D}
|
|
|
|
tooltip {Check button with toggle state} xywh {20 148 160 30} down_box DOWN_BOX labelsize 13
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
Fl_Round_Button {} {
|
2008-12-05 17:59:10 +03:00
|
|
|
label {Fl_Round_Button &E}
|
|
|
|
tooltip {Round Button with toggle state} xywh {20 178 160 30} down_box ROUND_DOWN_BOX labelsize 13
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2008-12-05 17:59:10 +03:00
|
|
|
Fl_Group {} {open
|
2001-10-29 06:44:33 +03:00
|
|
|
xywh {190 10 70 120} box THIN_UP_FRAME
|
1998-10-06 22:21:25 +04:00
|
|
|
} {
|
2001-10-29 06:44:33 +03:00
|
|
|
Fl_Round_Button {} {
|
2008-12-05 17:59:10 +03:00
|
|
|
label {radio &1}
|
|
|
|
tooltip {Radio button, only one button is set at a time, in the corresponding group.} xywh {190 10 70 30} type Radio down_box ROUND_DOWN_BOX
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2001-10-29 06:44:33 +03:00
|
|
|
Fl_Round_Button {} {
|
2008-12-05 17:59:10 +03:00
|
|
|
label {radio &2}
|
|
|
|
tooltip {Radio button, only one button is set at a time, in the corresponding group.} xywh {190 40 70 30} type Radio down_box ROUND_DOWN_BOX
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2001-10-29 06:44:33 +03:00
|
|
|
Fl_Round_Button {} {
|
2008-12-05 17:59:10 +03:00
|
|
|
label {radio &3}
|
|
|
|
tooltip {Radio button, only one button is set at a time, in the corresponding group.} xywh {190 70 70 30} type Radio down_box ROUND_DOWN_BOX
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2001-10-29 06:44:33 +03:00
|
|
|
Fl_Round_Button {} {
|
2008-12-05 17:59:10 +03:00
|
|
|
label {radio &4}
|
|
|
|
tooltip {Radio button, only one button is set at a time, in the corresponding group.} xywh {190 100 70 30} type Radio down_box ROUND_DOWN_BOX
|
|
|
|
code0 {o->callback((Fl_Callback*) button_cb);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
Fl_Group {} {open
|
2008-12-05 17:59:10 +03:00
|
|
|
xywh {270 10 90 120} box THIN_UP_BOX
|
1998-10-06 22:21:25 +04:00
|
|
|
} {
|
|
|
|
Fl_Button {} {
|
2001-10-29 06:44:33 +03:00
|
|
|
label radio
|
2008-12-05 17:59:10 +03:00
|
|
|
tooltip {Custom look button, only one button is set at a time, in the corresponding group.} xywh {280 20 20 20} type Radio selection_color 1 align 8
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
Fl_Button {} {
|
2001-10-29 06:44:33 +03:00
|
|
|
label radio
|
2008-12-05 17:59:10 +03:00
|
|
|
tooltip {Custom look button, only one button is set at a time, in the corresponding group.} xywh {280 45 20 20} type Radio selection_color 1 align 8
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
Fl_Button {} {
|
2001-10-29 06:44:33 +03:00
|
|
|
label radio
|
2008-12-05 17:59:10 +03:00
|
|
|
tooltip {Custom look button, only one button is set at a time, in the corresponding group.} xywh {280 70 20 20} type Radio selection_color 1 align 8
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
Fl_Button {} {
|
2001-10-29 06:44:33 +03:00
|
|
|
label radio
|
2008-12-05 17:59:10 +03:00
|
|
|
tooltip {Custom look button, only one button is set at a time, in the corresponding group.} xywh {280 95 20 20} type Radio selection_color 1 align 8
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
}
|
2008-12-05 17:59:10 +03:00
|
|
|
Fl_Output cb_info {
|
2008-12-16 23:11:04 +03:00
|
|
|
label {callback:}
|
2008-12-05 17:59:10 +03:00
|
|
|
xywh {190 148 170 62} type Multiline align 133 textsize 12
|
|
|
|
}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2015-07-09 05:09:33 +03:00
|
|
|
}
|