1998-10-06 22:21:25 +04:00
# data file for the Fltk User Interface Designer (fluid)
2004-03-11 08:17:12 +03:00
version 1.0105
1999-01-27 00:59:41 +03:00
header_name {.h}
2002-10-31 21:49:05 +03:00
code_name {.cxx}
decl {\#include <FL/Fl_Pixmap.H>} {}
decl {\#include "Fl_Type.h"} {}
decl {extern class Fl_Pixmap *pixmap[];} {}
decl {extern class Fl_Type *Fl_Type_make(const char*);} {}
decl {extern void select_only(Fl_Type*);} {}
1998-10-06 22:21:25 +04:00
Function {make_function_panel()} {open
} {
Fl_Window function_panel {
label {function/method} open
2004-03-11 08:17:12 +03:00
xywh {909 450 285 170} type Single hide resizable modal
1998-10-06 22:21:25 +04:00
} {
Fl_Light_Button f_public_button {
label public
2001-09-30 02:59:45 +04:00
tooltip {Make the function or method publicly accessible.} xywh {10 10 65 25} labelsize 10 when 0
1998-10-06 22:21:25 +04:00
}
1999-08-05 13:01:25 +04:00
Fl_Light_Button f_c_button {
1999-12-17 21:35:00 +03:00
label {C declaration}
2001-09-30 02:59:45 +04:00
tooltip {Declare with a C interface instead of C++.} xywh {80 10 90 25} labelsize 10
1999-08-05 13:01:25 +04:00
}
1998-10-06 22:21:25 +04:00
Fl_Input f_name_input {
1999-01-27 00:59:41 +03:00
label {Name(args): (blank for main())}
2001-09-30 02:59:45 +04:00
tooltip {The name of the function or method.} xywh {10 55 265 25} labelsize 12 align 5 when 0 textfont 4 resizable
1998-10-06 22:21:25 +04:00
}
Fl_Input f_return_type_input {
1999-08-05 13:01:25 +04:00
label {Return Type: (blank to return outermost widget)}
2001-09-30 02:59:45 +04:00
tooltip {The return type of the function or method.} xywh {10 100 265 25} labelsize 12 align 5 when 0 textfont 4
1998-10-06 22:21:25 +04:00
}
Fl_Return_Button f_panel_ok {
label OK
2001-09-30 02:59:45 +04:00
tooltip {Apply the changes.} xywh {110 135 80 25} hotspot
1998-10-06 22:21:25 +04:00
}
Fl_Button f_panel_cancel {
1999-01-27 00:59:41 +03:00
label Cancel
2001-09-30 02:59:45 +04:00
tooltip {Cancel the changes.} xywh {195 135 80 25} shortcut 0xff1b
1998-10-06 22:21:25 +04:00
}
}
}
Function {make_code_panel()} {open
} {
Fl_Window code_panel {
label code open
2004-03-11 08:17:12 +03:00
xywh {327 261 545 175} type Single hide resizable modal
1998-10-06 22:21:25 +04:00
} {
2002-11-03 03:01:21 +03:00
Fl_Group {} {open
xywh {10 10 525 120} box DOWN_FRAME resizable
} {
2003-04-03 08:28:15 +04:00
Fl_Text_Editor code_input {
2002-11-03 03:01:21 +03:00
xywh {12 12 521 116} box NO_BOX resizable
code0 {o->buffer(new Fl_Text_Buffer);}
2002-11-03 07:50:54 +03:00
code1 {o->textfont(FL_COURIER);}
2002-12-26 04:15:32 +03:00
code2 {o->when(FL_WHEN_ENTER_KEY_CHANGED|FL_WHEN_RELEASE);}
2002-11-03 03:01:21 +03:00
}
1998-10-06 22:21:25 +04:00
}
Fl_Return_Button code_panel_ok {
2002-04-28 15:40:26 +04:00
label OK
2002-04-28 14:12:41 +04:00
xywh {370 140 80 25} hotspot
1998-10-06 22:21:25 +04:00
}
Fl_Button code_panel_cancel {
2002-04-28 15:40:26 +04:00
label Cancel
2002-04-28 14:12:41 +04:00
xywh {455 140 80 25} shortcut 0xff1b
1998-10-06 22:21:25 +04:00
}
}
}
Function {make_codeblock_panel()} {open
} {
Fl_Window codeblock_panel {
2004-03-11 08:17:12 +03:00
label codeblock open selected
xywh {289 462 295 130} type Single hide resizable modal
1998-10-06 22:21:25 +04:00
} {
Fl_Input code_before_input {
2001-09-30 02:59:45 +04:00
tooltip {\#ifdef or similar conditional code block.} xywh {10 10 275 25} labelsize 12 align 5 when 0 textfont 4 resizable
1998-10-06 22:21:25 +04:00
}
Fl_Box {} {
label {"{...child code...}" is inserted here}
xywh {10 35 270 25} align 20
}
Fl_Input code_after_input {
2001-09-30 02:59:45 +04:00
tooltip {\#endif or similar conditional code block.} xywh {10 60 275 25} labelsize 12 align 5 when 0 textfont 4
1998-10-06 22:21:25 +04:00
}
Fl_Return_Button codeblock_panel_ok {
label OK
2000-03-15 21:57:07 +03:00
xywh {120 95 80 25} hotspot
1998-10-06 22:21:25 +04:00
}
Fl_Button codeblock_panel_cancel {
1999-01-27 00:59:41 +03:00
label Cancel
2000-03-15 21:57:07 +03:00
xywh {205 95 80 25} shortcut 0xff1b
1998-10-06 22:21:25 +04:00
}
}
}
Function {make_declblock_panel()} {open
} {
Fl_Window declblock_panel {
label {declaration block} open
2004-03-11 08:17:12 +03:00
xywh {184 572 295 155} type Single hide resizable modal
1998-10-06 22:21:25 +04:00
} {
Fl_Input decl_before_input {
2004-03-11 08:17:12 +03:00
tooltip {\#ifdef or similar conditional declaration block.} xywh {10 35 275 25} labelsize 12 align 5 when 0 textfont 4 resizable
1998-10-06 22:21:25 +04:00
}
Fl_Box {} {
label {"\\n...child code...\\n" is inserted here}
2004-03-11 08:17:12 +03:00
xywh {10 60 275 25} align 20
1998-10-06 22:21:25 +04:00
}
Fl_Input decl_after_input {
2004-03-11 08:17:12 +03:00
tooltip {\#endif or similar declaration code block.} xywh {10 85 275 25} labelsize 12 align 5 when 0 textfont 4
1998-10-06 22:21:25 +04:00
}
Fl_Return_Button declblock_panel_ok {
label OK
2004-03-11 08:17:12 +03:00
xywh {120 120 80 25} hotspot
1998-10-06 22:21:25 +04:00
}
Fl_Button declblock_panel_cancel {
1999-01-27 00:59:41 +03:00
label Cancel
2004-03-11 08:17:12 +03:00
xywh {205 120 80 25} shortcut 0xff1b
}
Fl_Light_Button declblock_public_button {
label public
tooltip {Make the declaration publicly accessible.} xywh {9 6 65 25} labelsize 10 when 0
1998-10-06 22:21:25 +04:00
}
}
}
Function {make_decl_panel()} {open
} {
Fl_Window decl_panel {
label declaration open
2004-03-11 08:17:12 +03:00
xywh {393 601 290 180} type Single hide resizable
1998-10-06 22:21:25 +04:00
} {
Fl_Light_Button decl_public_button {
label public
2001-09-30 02:59:45 +04:00
tooltip {Make the declaration publicly accessible.} xywh {10 10 65 25} labelsize 10 when 0
1998-10-06 22:21:25 +04:00
}
Fl_Input decl_input {
2002-10-31 21:49:05 +03:00
label {Can be any declaration, like "int x;", an external symbol like "extern int foo();", a \#directive like "\#include <foo.h>", a comment like "//foo" or "/*foo*/", or typedef like "typedef char byte;" or "using std::list;".}
2002-04-28 15:40:26 +04:00
tooltip {Declaration text.} xywh {10 40 270 25} labelsize 12 align 134 when 0 textfont 4 resizable
1998-10-06 22:21:25 +04:00
}
Fl_Return_Button decl_panel_ok {
label OK
xywh {115 145 80 25} hotspot
}
Fl_Button decl_panel_cancel {
1999-01-27 00:59:41 +03:00
label Cancel
2000-03-15 21:57:07 +03:00
xywh {200 145 80 25} shortcut 0xff1b
1998-10-06 22:21:25 +04:00
}
}
}
Function {make_class_panel()} {open
} {
Fl_Window class_panel {
2002-04-28 14:12:41 +04:00
label class open
2004-03-11 08:17:12 +03:00
xywh {517 797 285 170} type Single hide resizable modal
1998-10-06 22:21:25 +04:00
} {
Fl_Light_Button c_public_button {
label public
2001-09-30 02:59:45 +04:00
tooltip {Make the class publicly accessible.} xywh {10 10 65 25} labelsize 10 when 0
1998-10-06 22:21:25 +04:00
}
Fl_Input c_name_input {
2000-03-15 21:57:07 +03:00
label {Name:}
2001-09-30 02:59:45 +04:00
tooltip {Name of class.} xywh {10 55 265 25} labelsize 12 align 5 when 0 textfont 4 resizable
1998-10-06 22:21:25 +04:00
}
Fl_Input c_subclass_input {
2000-03-15 21:57:07 +03:00
label {Subclass of (text between : and \{)}
2001-09-30 02:59:45 +04:00
tooltip {Name of subclass.} xywh {10 100 265 25} labelsize 12 align 5 when 0 textfont 4
1998-10-06 22:21:25 +04:00
}
Fl_Return_Button c_panel_ok {
label OK
xywh {110 135 80 25} hotspot
}
Fl_Button c_panel_cancel {
1999-01-27 00:59:41 +03:00
label Cancel
2000-03-15 21:57:07 +03:00
xywh {195 135 80 25} shortcut 0xff1b
1998-10-06 22:21:25 +04:00
}
}
}
2002-10-31 21:49:05 +03:00
Function {type_make_cb(Fl_Widget*w,void*d)} {open return_type void
} {
code {Fl_Type *t = Fl_Type_make((char*)d);
if (t) {select_only(t); modflag = 1; t->open();}} {}
}
Function {make_widgetbin()} {open
} {
Fl_Window widgetbin_panel {
label Bin open
2004-03-11 08:17:12 +03:00
xywh {325 137 440 100} type Single hide
code0 {o->size(o->w(),80);} non_modal
2002-10-31 21:49:05 +03:00
} {
2004-03-11 08:17:12 +03:00
Fl_Group {} {
2002-10-31 21:49:05 +03:00
xywh {3 3 50 74} box THIN_DOWN_BOX
} {
Fl_Button {} {
user_data {"Function"}
callback type_make_cb
tooltip Function xywh {4 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[7]);}
}
Fl_Button {} {
user_data {"Class"}
callback type_make_cb
tooltip Class xywh {28 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[12]);}
}
Fl_Button {} {
user_data {"Code"}
callback type_make_cb
tooltip Code xywh {4 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[8]);}
}
Fl_Button {} {
user_data {"CodeBlock"}
callback type_make_cb
tooltip {Code Block} xywh {28 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[9]);}
}
Fl_Button {} {
user_data {"decl"}
callback type_make_cb
tooltip Declaration xywh {4 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[10]);}
}
Fl_Button {} {
user_data {"declblock"}
callback type_make_cb
tooltip {Declaration Block} xywh {28 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[11]);}
}
}
2004-03-11 08:17:12 +03:00
Fl_Group {} {
2002-10-31 21:49:05 +03:00
xywh {55 3 74 74} box THIN_DOWN_BOX
} {
Fl_Button {} {
user_data {"Fl_Window"}
callback type_make_cb
tooltip Window xywh {56 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[1]);}
}
Fl_Button {} {
2003-04-03 08:28:15 +04:00
user_data {"Fl_Group"}
2002-10-31 21:49:05 +03:00
callback type_make_cb
2003-04-03 08:28:15 +04:00
tooltip Group xywh {80 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[6]);}
2002-10-31 21:49:05 +03:00
}
Fl_Button {} {
2003-04-03 08:28:15 +04:00
user_data {"Fl_Pack"}
2002-10-31 21:49:05 +03:00
callback type_make_cb
2003-04-03 08:28:15 +04:00
tooltip Pack xywh {104 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[22]);}
2002-10-31 21:49:05 +03:00
}
Fl_Button {} {
2003-04-03 08:28:15 +04:00
user_data {"Fl_Tabs"}
2002-10-31 21:49:05 +03:00
callback type_make_cb
2003-04-03 08:28:15 +04:00
tooltip Tabs xywh {56 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[13]);}
2002-10-31 21:49:05 +03:00
}
Fl_Button {} {
user_data {"Fl_Scroll"}
callback type_make_cb
tooltip Scroll xywh {80 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[19]);}
}
Fl_Button {} {
2003-04-03 08:28:15 +04:00
user_data {"Fl_Tile"}
2002-10-31 21:49:05 +03:00
callback type_make_cb
2003-04-03 08:28:15 +04:00
tooltip Tile xywh {56 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[20]);}
2002-10-31 21:49:05 +03:00
}
Fl_Button {} {
2003-04-03 08:28:15 +04:00
user_data {"Fl_Wizard"}
2002-10-31 21:49:05 +03:00
callback type_make_cb
2003-04-03 08:28:15 +04:00
tooltip Wizard xywh {80 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[21]);}
2002-10-31 21:49:05 +03:00
}
}
2004-03-11 08:17:12 +03:00
Fl_Group {} {
2002-10-31 21:49:05 +03:00
xywh {131 3 50 74} box THIN_DOWN_BOX
} {
Fl_Button {} {
user_data {"Fl_Button"}
callback type_make_cb
tooltip Button xywh {132 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[2]);}
}
Fl_Button {} {
user_data {"Fl_Return_Button"}
callback type_make_cb
tooltip {Return Button} xywh {156 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[23]);}
}
Fl_Button {} {
user_data {"Fl_Light_Button"}
callback type_make_cb
tooltip {Light Button} xywh {132 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[24]);}
}
Fl_Button {} {
user_data {"Fl_Repeat_Button"}
callback type_make_cb
tooltip {Repeat Button} xywh {156 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[25]);}
}
Fl_Button {} {
user_data {"Fl_Check_Button"}
callback type_make_cb
tooltip {Check Button} xywh {132 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[3]);}
}
Fl_Button {} {
user_data {"Fl_Round_Button"}
callback type_make_cb
tooltip {Round Button} xywh {156 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[4]);}
}
}
2004-03-11 08:17:12 +03:00
Fl_Group {} {
2002-10-31 21:49:05 +03:00
xywh {183 3 74 74} box THIN_DOWN_BOX
} {
Fl_Button {} {
user_data {"Fl_Slider"}
callback type_make_cb
tooltip Slider xywh {184 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[37]);}
}
Fl_Button {} {
user_data {"Fl_Scrollbar"}
callback type_make_cb
tooltip {Scroll Bar} xywh {208 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[38]);}
}
2003-04-03 08:28:15 +04:00
Fl_Button {} {
user_data {"Fl_Value_Slider"}
callback type_make_cb
tooltip {Value Slider} xywh {232 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[39]);}
}
2002-10-31 21:49:05 +03:00
Fl_Button {} {
user_data {"Fl_Adjuster"}
callback type_make_cb
tooltip Adjuster xywh {184 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[40]);}
}
Fl_Button {} {
user_data {"Fl_Counter"}
callback type_make_cb
tooltip Counter xywh {208 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[41]);}
}
2003-04-03 08:28:15 +04:00
Fl_Button {} {
user_data {"Fl_Dial"}
callback type_make_cb
tooltip Dial xywh {232 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[42]);}
}
2002-10-31 21:49:05 +03:00
Fl_Button {} {
user_data {"Fl_Roller"}
callback type_make_cb
tooltip Roller xywh {184 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[43]);}
}
Fl_Button {} {
user_data {"Fl_Value_Input"}
callback type_make_cb
tooltip {Value Input} xywh {208 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[44]);}
}
Fl_Button {} {
user_data {"Fl_Value_Output"}
callback type_make_cb
tooltip {Value Output} xywh {232 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[45]);}
}
}
2004-03-11 08:17:12 +03:00
Fl_Group {} {
2002-10-31 21:49:05 +03:00
xywh {259 3 50 74} box THIN_DOWN_BOX
} {
Fl_Button {} {
user_data {"Fl_Input"}
callback type_make_cb
tooltip Input xywh {260 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[14]);}
}
Fl_Button {} {
user_data {"Fl_Output"}
2002-12-26 04:15:32 +03:00
callback type_make_cb
2002-10-31 21:49:05 +03:00
tooltip Output xywh {284 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[27]);}
}
2003-04-03 08:28:15 +04:00
Fl_Button {} {
user_data {"Fl_Text_Editor"}
callback type_make_cb
tooltip {Text Edit} xywh {260 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[29]);}
}
2002-10-31 21:49:05 +03:00
Fl_Button {} {
user_data {"Fl_Text_Display"}
callback type_make_cb
tooltip {Text Display} xywh {284 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[28]);}
}
2003-04-03 08:28:15 +04:00
Fl_Button {} {
user_data {"Fl_File_Input"}
callback type_make_cb
tooltip {File Input} xywh {260 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[30]);}
}
2002-10-31 21:49:05 +03:00
}
2004-03-11 08:17:12 +03:00
Fl_Group {} {
2002-10-31 21:49:05 +03:00
xywh {311 3 50 74} box THIN_DOWN_BOX
} {
Fl_Button {} {
user_data {"Fl_Menu_Bar"}
callback type_make_cb
tooltip {Menu Bar} xywh {312 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[17]);}
}
Fl_Button {} {
user_data {"menuitem"}
callback type_make_cb
tooltip {Menu Item} xywh {336 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[16]);}
}
2003-04-03 08:28:15 +04:00
Fl_Button {} {
user_data {"Fl_Menu_Button"}
callback type_make_cb
tooltip {Menu Button} xywh {312 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[26]);}
}
2002-10-31 21:49:05 +03:00
Fl_Button {} {
user_data {"submenu"}
callback type_make_cb
tooltip {Sub Menu} xywh {336 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[18]);}
}
2003-04-03 08:28:15 +04:00
Fl_Button {} {
user_data {"Fl_Choice"}
callback type_make_cb
tooltip Choice xywh {312 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[15]);}
}
2002-10-31 21:49:05 +03:00
}
2004-03-11 08:17:12 +03:00
Fl_Group {} {
2002-10-31 21:49:05 +03:00
xywh {363 3 26 74} box THIN_DOWN_BOX
} {
Fl_Button {} {
user_data {"Fl_Browser"}
callback type_make_cb
tooltip Browser xywh {364 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[31]);}
}
Fl_Button {} {
user_data {"Fl_Check_Browser"}
callback type_make_cb
tooltip {Check Browser} xywh {364 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[32]);}
}
Fl_Button {} {
user_data {"Fl_File_Browser"}
callback type_make_cb
tooltip {File Browser} xywh {364 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[33]);}
}
}
2004-03-11 08:17:12 +03:00
Fl_Group {} {
2002-10-31 21:49:05 +03:00
xywh {391 3 50 74} box THIN_DOWN_BOX
} {
Fl_Button {} {
user_data {"Fl_Box"}
callback type_make_cb
tooltip Box xywh {392 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[5]);}
}
2003-04-03 08:28:15 +04:00
Fl_Button {} {
user_data {"Fl_Clock"}
callback type_make_cb
tooltip Clock xywh {416 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[34]);}
}
2002-10-31 21:49:05 +03:00
Fl_Button {} {
user_data {"Fl_Help_View"}
2002-11-03 03:01:21 +03:00
callback type_make_cb
2002-10-31 21:49:05 +03:00
tooltip {Help Browser} xywh {392 28 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[35]);}
}
Fl_Button {} {
user_data {"Fl_Progress"}
2004-03-11 08:17:12 +03:00
callback type_make_cb
2002-10-31 21:49:05 +03:00
tooltip Progress xywh {392 52 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[36]);}
}
}
}
}