Update fluid .fl files and generated code - remove trailing white space.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser
2015-07-09 02:09:33 +00:00
parent 9488810968
commit c9d8e0feaa
26 changed files with 299 additions and 299 deletions
+25 -25
View File
@@ -40,9 +40,9 @@ Fl_Check_Button *use_FL_COMMAND_button=(Fl_Check_Button *)0;
Fl_Choice *i18n_type_chooser=(Fl_Choice *)0; Fl_Choice *i18n_type_chooser=(Fl_Choice *)0;
Fl_Menu_Item menu_i18n_type_chooser[] = { Fl_Menu_Item menu_i18n_type_chooser[] = {
{"None", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"None", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"GNU gettext", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"GNU gettext", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"POSIX catgets", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"POSIX catgets", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -149,11 +149,11 @@ Fl_Double_Window *settings_window=(Fl_Double_Window *)0;
Fl_Choice *scheme_choice=(Fl_Choice *)0; Fl_Choice *scheme_choice=(Fl_Choice *)0;
Fl_Menu_Item menu_scheme_choice[] = { Fl_Menu_Item menu_scheme_choice[] = {
{"Default", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"Default", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"None", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"None", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"Plastic", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"Plastic", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"GTK+", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"GTK+", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"Gleam", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"Gleam", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -599,9 +599,9 @@ opt[Fl::OPTION_VISIBLE_FOCUS][mode] = wVisibleFocus->value();
} }
Fl_Menu_Item menu_wVisibleFocus[] = { Fl_Menu_Item menu_wVisibleFocus[] = {
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0}, {"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -613,9 +613,9 @@ opt[Fl::OPTION_ARROW_FOCUS][mode] = wArrowFocus->value();
} }
Fl_Menu_Item menu_wArrowFocus[] = { Fl_Menu_Item menu_wArrowFocus[] = {
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0}, {"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -627,9 +627,9 @@ opt[Fl::OPTION_SHOW_TOOLTIPS][mode] = wShowTooltips->value();
} }
Fl_Menu_Item menu_wShowTooltips[] = { Fl_Menu_Item menu_wShowTooltips[] = {
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0}, {"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -641,9 +641,9 @@ opt[Fl::OPTION_DND_TEXT][mode] = wDNDText->value();
} }
Fl_Menu_Item menu_wDNDText[] = { Fl_Menu_Item menu_wDNDText[] = {
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0}, {"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -655,9 +655,9 @@ opt[Fl::OPTION_FNFC_USES_GTK ][mode] = wGTKText->value();
} }
Fl_Menu_Item menu_wGTKText[] = { Fl_Menu_Item menu_wGTKText[] = {
{"off", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"off", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"on", 0, 0, (void*)(1), 128, FL_NORMAL_LABEL, 0, 14, 0}, {"on", 0, 0, (void*)(1), 128, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"default", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"default", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -668,8 +668,8 @@ static void cb_wUserOrSystem(Fl_Choice*, void*) {
} }
Fl_Menu_Item menu_wUserOrSystem[] = { Fl_Menu_Item menu_wUserOrSystem[] = {
{"User Settings", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"User Settings", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"System Settings", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 14, 0}, {"System Settings", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
+21 -21
View File
@@ -40,17 +40,17 @@ Fl_Double_Window *function_panel=(Fl_Double_Window *)0;
Fl_Choice *f_public_member_choice=(Fl_Choice *)0; Fl_Choice *f_public_member_choice=(Fl_Choice *)0;
Fl_Menu_Item menu_f_public_member_choice[] = { Fl_Menu_Item menu_f_public_member_choice[] = {
{"private", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"private", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"public", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"public", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"protected", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"protected", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
Fl_Choice *f_public_choice=(Fl_Choice *)0; Fl_Choice *f_public_choice=(Fl_Choice *)0;
Fl_Menu_Item menu_f_public_choice[] = { Fl_Menu_Item menu_f_public_choice[] = {
{"local", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"local", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"global", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"global", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -256,8 +256,8 @@ Fl_Double_Window *declblock_panel=(Fl_Double_Window *)0;
Fl_Choice *declblock_public_choice=(Fl_Choice *)0; Fl_Choice *declblock_public_choice=(Fl_Choice *)0;
Fl_Menu_Item menu_declblock_public_choice[] = { Fl_Menu_Item menu_declblock_public_choice[] = {
{"in source code only", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"in source code only", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"in header and source", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"in header and source", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -337,19 +337,19 @@ Fl_Double_Window *decl_panel=(Fl_Double_Window *)0;
Fl_Choice *decl_choice=(Fl_Choice *)0; Fl_Choice *decl_choice=(Fl_Choice *)0;
Fl_Menu_Item menu_decl_choice[] = { Fl_Menu_Item menu_decl_choice[] = {
{"in source file only", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"in source file only", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"in header file only", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"in header file only", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"\"static\" in source file", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"\"static\" in source file", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"in source and \"extern\" in header", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"in source and \"extern\" in header", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
Fl_Choice *decl_class_choice=(Fl_Choice *)0; Fl_Choice *decl_class_choice=(Fl_Choice *)0;
Fl_Menu_Item menu_decl_class_choice[] = { Fl_Menu_Item menu_decl_class_choice[] = {
{"private", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"private", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"public", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"public", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"protected", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"protected", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -430,19 +430,19 @@ Fl_Double_Window *data_panel=(Fl_Double_Window *)0;
Fl_Choice *data_choice=(Fl_Choice *)0; Fl_Choice *data_choice=(Fl_Choice *)0;
Fl_Menu_Item menu_data_choice[] = { Fl_Menu_Item menu_data_choice[] = {
{"in source file only", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"in source file only", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"in header file only", 0, 0, 0, 16, FL_NORMAL_LABEL, 0, 11, 0}, {"in header file only", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"\"static\" in source file", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"\"static\" in source file", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"in source and \"extern\" in header", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"in source and \"extern\" in header", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
Fl_Choice *data_class_choice=(Fl_Choice *)0; Fl_Choice *data_class_choice=(Fl_Choice *)0;
Fl_Menu_Item menu_data_class_choice[] = { Fl_Menu_Item menu_data_class_choice[] = {
{"private", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"private", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"public", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"public", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"protected", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 11, 0}, {"protected", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
+10 -10
View File
@@ -55,7 +55,7 @@ Function {use_tab_navigation(int, Fl_Text_Editor*)} {
Function {make_function_panel()} {} { Function {make_function_panel()} {} {
Fl_Window function_panel { Fl_Window function_panel {
label {Function/Method Properties} open label {Function/Method Properties} open
xywh {557 523 343 232} type Double resizable modal visible xywh {557 523 343 232} type Double hide resizable modal
} { } {
Fl_Group {} {open Fl_Group {} {open
xywh {10 10 270 20} xywh {10 10 270 20}
@@ -139,8 +139,8 @@ Function {make_code_panel()} {} {
callback {if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape) callback {if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape)
return; // ignore Escape return; // ignore Escape
code_panel->hide(); // otherwise hide..} open code_panel->hide(); // otherwise hide..} open
xywh {503 450 540 180} type Double labelsize 11 resizable xywh {503 450 540 180} type Double labelsize 11 hide resizable
code0 {o->size_range(200, 150);} modal visible code0 {o->size_range(200, 150);} modal
} { } {
Fl_Text_Editor code_input { Fl_Text_Editor code_input {
xywh {10 10 520 130} box DOWN_BOX labelsize 11 textfont 4 textsize 11 resizable xywh {10 10 520 130} box DOWN_BOX labelsize 11 textfont 4 textsize 11 resizable
@@ -169,8 +169,8 @@ code_panel->hide(); // otherwise hide..} open
Function {make_codeblock_panel()} {} { Function {make_codeblock_panel()} {} {
Fl_Window codeblock_panel { Fl_Window codeblock_panel {
label {Code Block Properties} open label {Code Block Properties} open
xywh {468 221 300 115} type Double labelsize 11 resizable xywh {468 221 300 115} type Double labelsize 11 hide resizable
code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal visible code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal
} { } {
Fl_Input code_before_input { Fl_Input code_before_input {
label {Conditional code block} label {Conditional code block}
@@ -201,8 +201,8 @@ Function {make_codeblock_panel()} {} {
Function {make_declblock_panel()} {} { Function {make_declblock_panel()} {} {
Fl_Window declblock_panel { Fl_Window declblock_panel {
label {Declaration Block Properties} open label {Declaration Block Properties} open
xywh {428 215 300 135} type Double labelsize 11 resizable xywh {428 215 300 135} type Double labelsize 11 hide resizable
code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal visible code0 {o->size_range(o->w(), o->h(), Fl::w(), o->h());} modal
} { } {
Fl_Group {} {open Fl_Group {} {open
xywh {10 10 280 20} xywh {10 10 280 20}
@@ -257,7 +257,7 @@ Function {make_declblock_panel()} {} {
Function {make_decl_panel()} {} { Function {make_decl_panel()} {} {
Fl_Window decl_panel { Fl_Window decl_panel {
label {Declaration Properties} open label {Declaration Properties} open
xywh {480 333 343 237} type Double align 80 resizable size_range {343 237 0 0} visible xywh {480 333 343 237} type Double align 80 hide resizable size_range {343 237 0 0}
} { } {
Fl_Group {} {open Fl_Group {} {open
xywh {10 10 270 20} xywh {10 10 270 20}
@@ -333,7 +333,7 @@ Function {make_decl_panel()} {} {
Function {make_data_panel()} {} { Function {make_data_panel()} {} {
Fl_Window data_panel { Fl_Window data_panel {
label {Binary Data Properties} open label {Binary Data Properties} open
xywh {595 352 343 237} type Double align 80 resizable size_range {343 237 0 0} visible xywh {595 352 343 237} type Double align 80 hide resizable size_range {343 237 0 0}
} { } {
Fl_Group {} {open Fl_Group {} {open
xywh {10 10 270 20} xywh {10 10 270 20}
@@ -418,7 +418,7 @@ Function {make_class_panel()} {open
} { } {
Fl_Window class_panel { Fl_Window class_panel {
label {Class Properties} open label {Class Properties} open
xywh {497 585 342 196} type Double labelsize 11 resizable modal size_range {343 188 0 0} visible xywh {497 585 342 196} type Double labelsize 11 hide resizable modal size_range {343 188 0 0}
} { } {
Fl_Group {} {open Fl_Group {} {open
xywh {10 10 280 20} hide xywh {10 10 280 20} hide
+2 -2
View File
@@ -108,8 +108,8 @@ print_update_status();
Fl_Choice *print_page_size=(Fl_Choice *)0; Fl_Choice *print_page_size=(Fl_Choice *)0;
Fl_Menu_Item menu_print_page_size[] = { Fl_Menu_Item menu_print_page_size[] = {
{"Letter", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"Letter", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"A4", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"A4", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
+27 -27
View File
@@ -26,31 +26,31 @@ static void cb_(Fl_Tabs* o, void* v) {
} }
Fl_Menu_Item menu_[] = { Fl_Menu_Item menu_[] = {
{" Image Alignment ", 0, 0, (void*)(0xFFFFFFFF), 1, FL_NORMAL_LABEL, 2, 11, 0}, {" Image Alignment ", 0, 0, (void*)(0xFFFFFFFF), 1, (uchar)FL_NORMAL_LABEL, 2, 11, 0},
{"image over text", 0, 0, (void*)(FL_ALIGN_IMAGE_OVER_TEXT), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"image over text", 0, 0, (void*)(FL_ALIGN_IMAGE_OVER_TEXT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"text over image", 0, 0, (void*)(FL_ALIGN_TEXT_OVER_IMAGE), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"text over image", 0, 0, (void*)(FL_ALIGN_TEXT_OVER_IMAGE), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"text next to image", 0, 0, (void*)(FL_ALIGN_TEXT_NEXT_TO_IMAGE), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"text next to image", 0, 0, (void*)(FL_ALIGN_TEXT_NEXT_TO_IMAGE), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"image next to text", 0, 0, (void*)(FL_ALIGN_IMAGE_NEXT_TO_TEXT), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"image next to text", 0, 0, (void*)(FL_ALIGN_IMAGE_NEXT_TO_TEXT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"image is backdrop", 0, 0, (void*)(FL_ALIGN_IMAGE_BACKDROP), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"image is backdrop", 0, 0, (void*)(FL_ALIGN_IMAGE_BACKDROP), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
Fl_Menu_Item menu_1[] = { Fl_Menu_Item menu_1[] = {
{" Inside && Outside ", 0, 0, (void*)(0xFFFFFFFF), 1, FL_NORMAL_LABEL, 2, 11, 0}, {" Inside && Outside ", 0, 0, (void*)(0xFFFFFFFF), 1, (uchar)FL_NORMAL_LABEL, 2, 11, 0},
{"top left", 0, 0, (void*)(FL_ALIGN_TOP_LEFT), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"top left", 0, 0, (void*)(FL_ALIGN_TOP_LEFT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"top", 0, 0, (void*)(FL_ALIGN_TOP), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"top", 0, 0, (void*)(FL_ALIGN_TOP), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"top right", 0, 0, (void*)(FL_ALIGN_TOP_RIGHT), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"top right", 0, 0, (void*)(FL_ALIGN_TOP_RIGHT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"left", 0, 0, (void*)(FL_ALIGN_LEFT), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"left", 0, 0, (void*)(FL_ALIGN_LEFT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"center", 0, 0, (void*)(FL_ALIGN_CENTER), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"center", 0, 0, (void*)(FL_ALIGN_CENTER), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"right", 0, 0, (void*)(FL_ALIGN_RIGHT), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"right", 0, 0, (void*)(FL_ALIGN_RIGHT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"bottom left", 0, 0, (void*)(FL_ALIGN_BOTTOM_LEFT), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"bottom left", 0, 0, (void*)(FL_ALIGN_BOTTOM_LEFT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"bottom", 0, 0, (void*)(FL_ALIGN_BOTTOM), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"bottom", 0, 0, (void*)(FL_ALIGN_BOTTOM), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"bottom right", 0, 0, (void*)(FL_ALIGN_BOTTOM_RIGHT), 128, FL_NORMAL_LABEL, 0, 11, 0}, {"bottom right", 0, 0, (void*)(FL_ALIGN_BOTTOM_RIGHT), 128, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{" Outside Alignment ", 0, 0, (void*)(0xFFFFFFFF), 1, FL_NORMAL_LABEL, 2, 11, 0}, {" Outside Alignment ", 0, 0, (void*)(0xFFFFFFFF), 1, (uchar)FL_NORMAL_LABEL, 2, 11, 0},
{"left top", 0, 0, (void*)(FL_ALIGN_LEFT_TOP), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"left top", 0, 0, (void*)(FL_ALIGN_LEFT_TOP), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"right top", 0, 0, (void*)(FL_ALIGN_RIGHT_TOP), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"right top", 0, 0, (void*)(FL_ALIGN_RIGHT_TOP), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"left bottom", 0, 0, (void*)(FL_ALIGN_LEFT_BOTTOM), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"left bottom", 0, 0, (void*)(FL_ALIGN_LEFT_BOTTOM), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"right bottom", 0, 0, (void*)(FL_ALIGN_RIGHT_BOTTOM), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"right bottom", 0, 0, (void*)(FL_ALIGN_RIGHT_BOTTOM), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -63,15 +63,15 @@ Fl_Value_Input *widget_w_input=(Fl_Value_Input *)0;
Fl_Value_Input *widget_h_input=(Fl_Value_Input *)0; Fl_Value_Input *widget_h_input=(Fl_Value_Input *)0;
Fl_Menu_Item menu_2[] = { Fl_Menu_Item menu_2[] = {
{"private", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"private", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"public", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"public", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"protected", 0, 0, (void*)(2), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"protected", 0, 0, (void*)(2), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
Fl_Menu_Item menu_3[] = { Fl_Menu_Item menu_3[] = {
{"local", 0, 0, (void*)(0), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"local", 0, 0, (void*)(0), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{"global", 0, 0, (void*)(1), 0, FL_NORMAL_LABEL, 0, 11, 0}, {"global", 0, 0, (void*)(1), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
{0,0,0,0,0,0,0,0,0} {0,0,0,0,0,0,0,0,0}
}; };
@@ -95,7 +95,7 @@ Fl_Double_Window* make_widget_panel() {
Fl_Double_Window* w; Fl_Double_Window* w;
{ // Use a Double Window to avoid flickering. { // Use a Double Window to avoid flickering.
Fl_Double_Window* o = new Fl_Double_Window(420, 400); Fl_Double_Window* o = new Fl_Double_Window(420, 400);
w = o; w = o; if (w) {/* empty */}
o->labelsize(11); o->labelsize(11);
o->align(Fl_Align(FL_ALIGN_CLIP|FL_ALIGN_INSIDE)); o->align(Fl_Align(FL_ALIGN_CLIP|FL_ALIGN_INSIDE));
o->hotspot(o); o->hotspot(o);
+2 -2
View File
@@ -30,8 +30,8 @@ Function {make_widget_panel()} {
} { } {
Fl_Window {} { Fl_Window {} {
comment {Use a Double Window to avoid flickering.} open comment {Use a Double Window to avoid flickering.} open
xywh {468 187 420 400} type Double labelsize 11 align 80 resizable hotspot xywh {468 187 420 400} type Double labelsize 11 align 80 hide resizable hotspot
code0 {o->size_range(o->w(), o->h());} size_range {420 400 0 0} visible code0 {o->size_range(o->w(), o->h());} size_range {420 400 0 0}
} { } {
Fl_Tabs {} { Fl_Tabs {} {
callback {propagate_load((Fl_Group *)o,v);} open callback {propagate_load((Fl_Group *)o,v);} open
@@ -1,11 +1,11 @@
# data file for the Fltk User Interface Designer (fluid) # data file for the Fltk User Interface Designer (fluid)
version 1.0300 version 1.0304
header_name {.h} header_name {.h}
code_name {.cxx} code_name {.cxx}
Function {make_window()} {open Function {make_window()} {open
} { } {
Fl_Window {} {open selected Fl_Window {} {open selected
xywh {550 77 300 160} type Double visible xywh {550 77 300 160} type Double hide
} { } {
Fl_Box {} { Fl_Box {} {
label {Welcome to FLTK!} label {Welcome to FLTK!}
+1 -1
View File
@@ -346,7 +346,7 @@ Function {} {open
} { } {
Fl_Window window { Fl_Window window {
label tree open label tree open
xywh {600 253 1045 580} type Double visible xywh {600 253 1045 580} type Double hide
} { } {
Fl_Group tree { Fl_Group tree {
label Tree label Tree