diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-28 22:51:56 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-28 22:52:01 +0200 |
| commit | 2dc7ae8edbf9ac49116e9148abd23e585ab9d913 (patch) | |
| tree | 4a90c76b812788f9b0231e9e30ee36f2b915a68c /fluid | |
| parent | 961d9ee71901306435a0126ca9c06d49f910857b (diff) | |
FLUID: Changes uid to hexadecimal in project file
for constancy with the code file
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Type.cxx | 12 | ||||
| -rw-r--r-- | fluid/README_fl.txt | 2 | ||||
| -rw-r--r-- | fluid/alignment_panel.cxx | 190 | ||||
| -rw-r--r-- | fluid/alignment_panel.fl | 422 |
4 files changed, 315 insertions, 311 deletions
diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx index ad5786f78..a4e39373c 100644 --- a/fluid/Fl_Type.cxx +++ b/fluid/Fl_Type.cxx @@ -729,7 +729,7 @@ void Fl_Type::write_properties(Fd_Project_Writer &f) { // repeat this for each attribute: if (g_project.write_mergeback_data && uid_) { f.write_word("uid"); - f.write_string("%d", uid_); + f.write_string("%04x", uid_); } if (label()) { f.write_indent(level+1); @@ -760,9 +760,13 @@ void Fl_Type::write_properties(Fd_Project_Writer &f) { } void Fl_Type::read_property(Fd_Project_Reader &f, const char *c) { - if (!strcmp(c,"uid")) - set_uid(f.read_int()); - else if (!strcmp(c,"label")) + if (!strcmp(c,"uid")) { + const char *hex = f.read_word(); + int x = 0; + if (hex) + x = sscanf(hex, "%04x", &x); + set_uid(x); + } else if (!strcmp(c,"label")) label(f.read_word()); else if (!strcmp(c,"user_data")) user_data(f.read_word()); diff --git a/fluid/README_fl.txt b/fluid/README_fl.txt index a5e4a1749..f302d9da2 100644 --- a/fluid/README_fl.txt +++ b/fluid/README_fl.txt @@ -377,7 +377,7 @@ See Fl_Grid for an example. Type Fl_Type <word> - "uid" <word> : since Oct 2023, optional, a unique id for this node within the project file + "uid" <4-digit-hex> : since Oct 2023, optional, a unique id for this node within the project file “label” <word> : text “user_data” <word> : a value or an expression “user_data_type” <word> : usually “void*” or “long” diff --git a/fluid/alignment_panel.cxx b/fluid/alignment_panel.cxx index eaf1ba9a5..ee35f8016 100644 --- a/fluid/alignment_panel.cxx +++ b/fluid/alignment_panel.cxx @@ -33,7 +33,7 @@ static void cb_script_panel(Fl_Double_Window*, void*) { if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape) return; // ignore Escape script_panel->hide(); // otherwise hide..; -//~fl~3~962d~653ca372~~ +//~fl~3~9a81~653ca372~~ } Fl_Text_Editor *script_input=(Fl_Text_Editor *)0; @@ -78,7 +78,7 @@ Fl_Double_Window* make_script_panel() { // Enable line numbers script_input->linenumber_width(60); script_input->linenumber_size(script_input->Fl_Text_Display::textsize()); -//~fl~1~7788~95aed424~~ +//~fl~1~aeab~95aed424~~ return script_panel; } @@ -89,7 +89,7 @@ Fl_Tabs *w_settings_tabs=(Fl_Tabs *)0; static void cb_w_settings_tabs(Fl_Tabs* o, void* v) { //~fl~0~0000~b2ea2cd0~~ propagate_load(o, v); -//~fl~3~b492~50833204~~ +//~fl~3~e8f6~50833204~~ } #include <FL/Fl_PNG_Image.H> @@ -204,7 +204,7 @@ static Fl_Image *image_general_64() { static void cb_(Fl_Group* o, void* v) { //~fl~0~0000~8b6a4f13~~ propagate_load(o, v); -//~fl~3~5133~50833204~~ +//~fl~3~604f~50833204~~ } Fl_Scheme_Choice *scheme_choice=(Fl_Scheme_Choice *)0; @@ -215,7 +215,7 @@ static void cb_tooltips_button(Fl_Check_Button*, void*) { //~fl~0~0000~22407b10~~ Fl_Tooltip::enable(tooltips_button->value()); fluid_prefs.set("show_tooltips", tooltips_button->value()); -//~fl~3~0f0d~b60eb0d5~~ +//~fl~3~cbf2~b60eb0d5~~ } Fl_Check_Button *completion_button=(Fl_Check_Button *)0; @@ -223,7 +223,7 @@ Fl_Check_Button *completion_button=(Fl_Check_Button *)0; static void cb_completion_button(Fl_Check_Button*, void*) { //~fl~0~0000~e63c99e7~~ fluid_prefs.set("show_completion_dialogs", completion_button->value()); -//~fl~3~5023~75f43754~~ +//~fl~3~f100~75f43754~~ } Fl_Check_Button *openlast_button=(Fl_Check_Button *)0; @@ -231,7 +231,7 @@ Fl_Check_Button *openlast_button=(Fl_Check_Button *)0; static void cb_openlast_button(Fl_Check_Button*, void*) { //~fl~0~0000~19e86ad0~~ fluid_prefs.set("open_previous_file", openlast_button->value()); -//~fl~3~6ae5~eb6803cb~~ +//~fl~3~2678~eb6803cb~~ } Fl_Check_Button *prevpos_button=(Fl_Check_Button *)0; @@ -239,7 +239,7 @@ Fl_Check_Button *prevpos_button=(Fl_Check_Button *)0; static void cb_prevpos_button(Fl_Check_Button*, void*) { //~fl~0~0000~1eb02531~~ fluid_prefs.set("prev_window_pos", prevpos_button->value()); -//~fl~3~f85f~081cd782~~ +//~fl~3~ad97~081cd782~~ } Fl_Check_Button *show_comments_button=(Fl_Check_Button *)0; @@ -249,13 +249,13 @@ static void cb_show_comments_button(Fl_Check_Button*, void*) { show_comments = show_comments_button->value(); fluid_prefs.set("show_comments", show_comments); redraw_browser(); -//~fl~3~3530~7e12c220~~ +//~fl~3~5a34~7e12c220~~ } static void cb_1(Fl_Group* o, void* v) { //~fl~0~0000~8a50c4af~~ propagate_load(o, v); -//~fl~3~22d1~50833204~~ +//~fl~3~c707~50833204~~ } Fl_Spinner *recent_spinner=(Fl_Spinner *)0; @@ -264,7 +264,7 @@ static void cb_recent_spinner(Fl_Spinner*, void*) { //~fl~0~0000~b1d67afc~~ fluid_prefs.set("recent_files", recent_spinner->value()); load_history(); -//~fl~3~f6c8~c11dca25~~ +//~fl~3~2c5e~c11dca25~~ } Fl_Check_Button *use_external_editor_button=(Fl_Check_Button *)0; @@ -274,7 +274,7 @@ static void cb_use_external_editor_button(Fl_Check_Button*, void*) { G_use_external_editor = use_external_editor_button->value(); fluid_prefs.set("use_external_editor", G_use_external_editor); redraw_browser(); -//~fl~3~c561~9406f8e4~~ +//~fl~3~b429~9406f8e4~~ } Fl_Input *editor_command_input=(Fl_Input *)0; @@ -285,7 +285,7 @@ static void cb_editor_command_input(Fl_Input*, void*) { G_external_editor_command[sizeof(G_external_editor_command)-1] = 0; fluid_prefs.set("external_editor_command", G_external_editor_command); redraw_browser(); -//~fl~3~680c~2c28d30d~~ +//~fl~3~475b~2c28d30d~~ } Fl_Check_Button *guides_button=(Fl_Check_Button *)0; @@ -297,7 +297,7 @@ Fl_Group *w_settings_project_tab=(Fl_Group *)0; static void cb_w_settings_project_tab(Fl_Group* o, void* v) { //~fl~0~0000~a52da131~~ propagate_load(o, v); -//~fl~3~5081~50833204~~ +//~fl~3~c92a~50833204~~ } static const unsigned char idata_document_64[] = @@ -362,7 +362,7 @@ static void cb_header_file_input(Fl_Input* o, void* v) { set_modflag(1); } } -//~fl~3~1ba2~d94de24c~~ +//~fl~3~5cef~d94de24c~~ } Fl_Input *code_file_input=(Fl_Input *)0; @@ -377,7 +377,7 @@ static void cb_code_file_input(Fl_Input* o, void* v) { set_modflag(1); } } -//~fl~3~339c~9ccae002~~ +//~fl~3~3509~9ccae002~~ } Fl_Check_Button *include_H_from_C_button=(Fl_Check_Button *)0; @@ -392,7 +392,7 @@ static void cb_include_H_from_C_button(Fl_Check_Button* o, void* v) { g_project.include_H_from_C = o->value(); } } -//~fl~3~66b4~a9382397~~ +//~fl~3~7f08~a9382397~~ } Fl_Check_Button *use_FL_COMMAND_button=(Fl_Check_Button *)0; @@ -407,7 +407,7 @@ static void cb_use_FL_COMMAND_button(Fl_Check_Button* o, void* v) { g_project.use_FL_COMMAND = o->value(); } } -//~fl~3~9267~5de48539~~ +//~fl~3~e1f8~5de48539~~ } Fl_Check_Button *utf8_in_src_button=(Fl_Check_Button *)0; @@ -422,7 +422,7 @@ static void cb_utf8_in_src_button(Fl_Check_Button* o, void* v) { g_project.utf8_in_src = o->value(); } } -//~fl~3~ac2a~3b6fa627~~ +//~fl~3~1d8f~3b6fa627~~ } Fl_Check_Button *avoid_early_includes_button=(Fl_Check_Button *)0; @@ -437,7 +437,7 @@ static void cb_avoid_early_includes_button(Fl_Check_Button* o, void* v) { g_project.avoid_early_includes = o->value(); } } -//~fl~3~34ca~06858aea~~ +//~fl~3~52f0~06858aea~~ } Fl_Check_Button *w_proj_mergeback=(Fl_Check_Button *)0; @@ -452,7 +452,7 @@ static void cb_w_proj_mergeback(Fl_Check_Button* o, void* v) { g_project.write_mergeback_data = o->value(); } } -//~fl~3~1248~145f3302~~ +//~fl~3~7b19~145f3302~~ } Fl_Group *w_settings_layout_tab=(Fl_Group *)0; @@ -460,7 +460,7 @@ Fl_Group *w_settings_layout_tab=(Fl_Group *)0; static void cb_w_settings_layout_tab(Fl_Group* o, void* v) { //~fl~0~0000~e43cacfc~~ propagate_load(o, v); -//~fl~3~a0c5~50833204~~ +//~fl~3~f9d7~50833204~~ } static const unsigned char idata_layout_64[] = @@ -503,7 +503,7 @@ static void cb_layout_choice(Fl_Choice* o, void* v) { g_layout_list.current_suite(index); g_layout_list.update_dialogs(); } -//~fl~3~22b0~841c3967~~ +//~fl~3~c8a2~841c3967~~ } Fl_Menu_Item menu_layout_choice[] = { @@ -526,7 +526,7 @@ static void cb_2(Fl_Button*, void* v) { g_layout_list.add(new_name); g_layout_list.update_dialogs(); -//~fl~3~2b8a~28d4d389~~ +//~fl~3~52ad~28d4d389~~ } Fl_Menu_Button *w_layout_menu=(Fl_Menu_Button *)0; @@ -546,7 +546,7 @@ static void cb_w_layout_menu(Fl_Menu_Button*, void* v) { } w_layout_menu_storage[suite.storage_]->setonly(); } -//~fl~3~91e5~27881b25~~ +//~fl~3~d9d1~27881b25~~ } static void cb_w_layout_menu_rename(Fl_Menu_*, void*) { @@ -560,7 +560,7 @@ static void cb_w_layout_menu_rename(Fl_Menu_*, void*) { g_layout_list.rename(new_name); g_layout_list.update_dialogs(); -//~fl~2~6a9b~71cc7c62~~ +//~fl~2~2fd1~71cc7c62~~ } static void cb_w_layout_menu_storage(Fl_Menu_*, void*) { @@ -568,7 +568,7 @@ static void cb_w_layout_menu_storage(Fl_Menu_*, void*) { Fd_Layout_Suite &suite = g_layout_list[g_layout_list.current_suite()]; suite.storage(FD_STORE_INTERNAL); g_layout_list.update_dialogs(); -//~fl~2~f84d~eea63d0a~~ +//~fl~2~08be~eea63d0a~~ } static void cb_w_layout_menu_storage1(Fl_Menu_*, void*) { @@ -576,7 +576,7 @@ static void cb_w_layout_menu_storage1(Fl_Menu_*, void*) { Fd_Layout_Suite &suite = g_layout_list[g_layout_list.current_suite()]; suite.storage(FD_STORE_USER); g_layout_list.update_dialogs(); -//~fl~2~c339~daeea163~~ +//~fl~2~00f0~daeea163~~ } static void cb_w_layout_menu_storage2(Fl_Menu_*, void*) { @@ -584,7 +584,7 @@ static void cb_w_layout_menu_storage2(Fl_Menu_*, void*) { Fd_Layout_Suite &suite = g_layout_list[g_layout_list.current_suite()]; suite.storage(FD_STORE_PROJECT); g_layout_list.update_dialogs(); -//~fl~2~f5f6~f7c135cb~~ +//~fl~2~8be9~f7c135cb~~ } static void cb_w_layout_menu_storage3(Fl_Menu_*, void*) { @@ -592,7 +592,7 @@ static void cb_w_layout_menu_storage3(Fl_Menu_*, void*) { Fd_Layout_Suite &suite = g_layout_list[g_layout_list.current_suite()]; suite.storage(FD_STORE_FILE); g_layout_list.update_dialogs(); -//~fl~2~07f7~19d71da4~~ +//~fl~2~77b7~19d71da4~~ } static void cb_w_layout_menu_load(Fl_Menu_*, void*) { @@ -609,7 +609,7 @@ static void cb_w_layout_menu_load(Fl_Menu_*, void*) { g_layout_list.load(new_filename); //g_layout_list.current_suite(n); g_layout_list.update_dialogs(); -//~fl~2~26e8~3c8717b8~~ +//~fl~2~28cb~3c8717b8~~ } static void cb_w_layout_menu_save(Fl_Menu_*, void*) { @@ -628,7 +628,7 @@ static void cb_w_layout_menu_save(Fl_Menu_*, void*) { if (!new_filename) return; g_layout_list.filename_ = new_filename; g_layout_list.save(new_filename); -//~fl~2~4ca1~f136697d~~ +//~fl~2~6c2f~f136697d~~ } static void cb_w_layout_menu_delete(Fl_Menu_*, void*) { @@ -637,7 +637,7 @@ static void cb_w_layout_menu_delete(Fl_Menu_*, void*) { g_layout_list.remove(g_layout_list.current_suite()); g_layout_list.update_dialogs(); -//~fl~2~1005~437d0f96~~ +//~fl~2~81f2~437d0f96~~ } Fl_Menu_Item menu_w_layout_menu[] = { @@ -661,7 +661,7 @@ static void cb_Left(Fl_Value_Input* o, void* v) { } else { layout->left_window_margin = (int)o->value(); } -//~fl~3~4ce4~aa182acd~~ +//~fl~3~14d7~aa182acd~~ } static void cb_Top(Fl_Value_Input* o, void* v) { @@ -671,7 +671,7 @@ static void cb_Top(Fl_Value_Input* o, void* v) { } else { layout->top_window_margin = (int)o->value(); } -//~fl~3~3c5b~f61c794a~~ +//~fl~3~7fd3~f61c794a~~ } static void cb_Right(Fl_Value_Input* o, void* v) { @@ -681,7 +681,7 @@ static void cb_Right(Fl_Value_Input* o, void* v) { } else { layout->right_window_margin = (int)o->value(); } -//~fl~3~bbfa~30018da3~~ +//~fl~3~0df4~30018da3~~ } static void cb_Bottom(Fl_Value_Input* o, void* v) { @@ -691,7 +691,7 @@ static void cb_Bottom(Fl_Value_Input* o, void* v) { } else { layout->bottom_window_margin = (int)o->value(); } -//~fl~3~546c~9d6618c2~~ +//~fl~3~d6f1~9d6618c2~~ } static void cb_Horizontal(Fl_Value_Input* o, void* v) { @@ -701,7 +701,7 @@ static void cb_Horizontal(Fl_Value_Input* o, void* v) { } else { layout->window_grid_x = (int)o->value(); } -//~fl~3~1151~73e0a613~~ +//~fl~3~32e8~73e0a613~~ } static void cb_Vertical(Fl_Value_Input* o, void* v) { @@ -711,7 +711,7 @@ static void cb_Vertical(Fl_Value_Input* o, void* v) { } else { layout->window_grid_y = (int)o->value(); } -//~fl~3~f3e2~f5065f10~~ +//~fl~3~cfab~f5065f10~~ } static void cb_Left1(Fl_Value_Input* o, void* v) { @@ -721,7 +721,7 @@ static void cb_Left1(Fl_Value_Input* o, void* v) { } else { layout->left_group_margin = (int)o->value(); } -//~fl~3~100c~ac52b044~~ +//~fl~3~e91b~ac52b044~~ } static void cb_Top1(Fl_Value_Input* o, void* v) { @@ -731,7 +731,7 @@ static void cb_Top1(Fl_Value_Input* o, void* v) { } else { layout->top_group_margin = (int)o->value(); } -//~fl~3~9ee1~69c82c2d~~ +//~fl~3~2cd9~69c82c2d~~ } static void cb_Right1(Fl_Value_Input* o, void* v) { @@ -741,7 +741,7 @@ static void cb_Right1(Fl_Value_Input* o, void* v) { } else { layout->right_group_margin = (int)o->value(); } -//~fl~3~fd06~cd20c87f~~ +//~fl~3~e939~cd20c87f~~ } static void cb_Bottom1(Fl_Value_Input* o, void* v) { @@ -751,7 +751,7 @@ static void cb_Bottom1(Fl_Value_Input* o, void* v) { } else { layout->bottom_group_margin = (int)o->value(); } -//~fl~3~a698~635e9e6a~~ +//~fl~3~8216~635e9e6a~~ } static void cb_Horizontal1(Fl_Value_Input* o, void* v) { @@ -761,7 +761,7 @@ static void cb_Horizontal1(Fl_Value_Input* o, void* v) { } else { layout->group_grid_x = (int)o->value(); } -//~fl~3~b761~e47e8565~~ +//~fl~3~5e35~e47e8565~~ } static void cb_Vertical1(Fl_Value_Input* o, void* v) { @@ -771,7 +771,7 @@ static void cb_Vertical1(Fl_Value_Input* o, void* v) { } else { layout->group_grid_y = (int)o->value(); } -//~fl~3~5fff~5d0edca1~~ +//~fl~3~b8e8~5d0edca1~~ } static void cb_Top2(Fl_Value_Input* o, void* v) { @@ -781,7 +781,7 @@ static void cb_Top2(Fl_Value_Input* o, void* v) { } else { layout->top_tabs_margin = (int)o->value(); } -//~fl~3~fc1e~95ebcf51~~ +//~fl~3~29ce~95ebcf51~~ } static void cb_Bottom2(Fl_Value_Input* o, void* v) { @@ -791,7 +791,7 @@ static void cb_Bottom2(Fl_Value_Input* o, void* v) { } else { layout->bottom_tabs_margin = (int)o->value(); } -//~fl~3~3b19~03319093~~ +//~fl~3~ed18~03319093~~ } static void cb_Minimum(Fl_Value_Input* o, void* v) { @@ -801,7 +801,7 @@ static void cb_Minimum(Fl_Value_Input* o, void* v) { } else { layout->widget_min_w = (int)o->value(); } -//~fl~3~3250~098b8cca~~ +//~fl~3~5afc~098b8cca~~ } static void cb_Increment(Fl_Value_Input* o, void* v) { @@ -811,7 +811,7 @@ static void cb_Increment(Fl_Value_Input* o, void* v) { } else { layout->widget_inc_w = (int)o->value(); } -//~fl~3~42e9~2c06e402~~ +//~fl~3~e632~2c06e402~~ } static void cb_Gap(Fl_Value_Input* o, void* v) { @@ -821,7 +821,7 @@ static void cb_Gap(Fl_Value_Input* o, void* v) { } else { layout->widget_gap_x = (int)o->value(); } -//~fl~3~0db7~dd5cc5f2~~ +//~fl~3~8701~dd5cc5f2~~ } static void cb_3(Fl_Value_Input* o, void* v) { @@ -831,7 +831,7 @@ static void cb_3(Fl_Value_Input* o, void* v) { } else { layout->widget_min_h = (int)o->value(); } -//~fl~3~af8f~16376d7c~~ +//~fl~3~940f~16376d7c~~ } static void cb_4(Fl_Value_Input* o, void* v) { @@ -841,7 +841,7 @@ static void cb_4(Fl_Value_Input* o, void* v) { } else { layout->widget_inc_h = (int)o->value(); } -//~fl~3~0fc3~33ba05b4~~ +//~fl~3~a5e5~33ba05b4~~ } static void cb_5(Fl_Value_Input* o, void* v) { @@ -851,7 +851,7 @@ static void cb_5(Fl_Value_Input* o, void* v) { } else { layout->widget_gap_y = (int)o->value(); } -//~fl~3~f43a~642c9c36~~ +//~fl~3~c471~642c9c36~~ } static void cb_6(Fl_Choice* o, void* v) { @@ -861,7 +861,7 @@ static void cb_6(Fl_Choice* o, void* v) { } else { layout->labelfont = (int)o->value()-1; } -//~fl~3~710f~de8ae6fa~~ +//~fl~3~3b2e~de8ae6fa~~ } static void cb_7(Fl_Value_Input* o, void* v) { @@ -871,7 +871,7 @@ static void cb_7(Fl_Value_Input* o, void* v) { } else { layout->labelsize = (int)o->value(); } -//~fl~3~9dc0~448a0cfa~~ +//~fl~3~5cdc~448a0cfa~~ } static void cb_8(Fl_Choice* o, void* v) { @@ -881,7 +881,7 @@ static void cb_8(Fl_Choice* o, void* v) { } else { layout->textfont = (int)o->value()-1; } -//~fl~3~9244~96100d58~~ +//~fl~3~2c6a~96100d58~~ } static void cb_9(Fl_Value_Input* o, void* v) { @@ -891,7 +891,7 @@ static void cb_9(Fl_Value_Input* o, void* v) { } else { layout->textsize = (int)o->value(); } -//~fl~3~b455~435bca5e~~ +//~fl~3~01ed~435bca5e~~ } Fl_Group *w_settings_shell_tab=(Fl_Group *)0; @@ -969,7 +969,7 @@ static void cb_w_settings_shell_list(Fl_Browser* o, void* v) { w_settings_shell_cmd->do_callback(w_settings_shell_cmd, LOAD); w_settings_shell_toolbox->do_callback(w_settings_shell_toolbox, LOAD); } -//~fl~3~5e50~26359753~~ +//~fl~3~e026~26359753~~ } Fl_Group *w_settings_shell_toolbox=(Fl_Group *)0; @@ -979,7 +979,7 @@ static void cb_w_settings_shell_toolbox(Fl_Group* o, void* v) { if (v==LOAD) { propagate_load(o, v); } -//~fl~3~04c9~56d23597~~ +//~fl~3~6519~56d23597~~ } static void cb_a(Fl_Button*, void* v) { @@ -1000,7 +1000,7 @@ static void cb_a(Fl_Button*, void* v) { w_settings_shell_toolbox->do_callback(w_settings_shell_toolbox, LOAD); g_shell_config->rebuild_shell_menu(); } -//~fl~3~65b2~ba9c6fa6~~ +//~fl~3~edaf~ba9c6fa6~~ } Fl_Button *w_settings_shell_dup=(Fl_Button *)0; @@ -1031,7 +1031,7 @@ static void cb_w_settings_shell_dup(Fl_Button* o, void* v) { w_settings_shell_toolbox->do_callback(w_settings_shell_toolbox, LOAD); g_shell_config->rebuild_shell_menu(); } -//~fl~3~98de~675a49a6~~ +//~fl~3~783a~675a49a6~~ } Fl_Button *w_settings_shell_remove=(Fl_Button *)0; @@ -1061,7 +1061,7 @@ static void cb_w_settings_shell_remove(Fl_Button* o, void* v) { w_settings_shell_toolbox->do_callback(w_settings_shell_toolbox, LOAD); g_shell_config->rebuild_shell_menu(); } -//~fl~3~22b2~aa5ce24d~~ +//~fl~3~7cc5~aa5ce24d~~ } Fl_Menu_Button *w_settings_shell_menu=(Fl_Menu_Button *)0; @@ -1070,14 +1070,14 @@ static void cb_Import(Fl_Menu_*, void* v) { //~fl~0~0000~3835f3ea~~ if (v != LOAD) Fd_Shell_Command_List::import_from_file(); -//~fl~2~a8b5~a52ce6b7~~ +//~fl~2~9319~a52ce6b7~~ } static void cb_Export(Fl_Menu_*, void* v) { //~fl~0~0000~b34c035b~~ if (v != LOAD) Fd_Shell_Command_List::export_selected(); -//~fl~2~2de2~6437097d~~ +//~fl~2~e738~6437097d~~ } Fl_Menu_Item menu_w_settings_shell_menu[] = { @@ -1107,7 +1107,7 @@ static void cb_w_settings_shell_play(Fl_Button* o, void* v) { Fd_Shell_Command *cmd = g_shell_config->list[selected-1]; cmd->run(); } -//~fl~3~d2bd~88fbdd91~~ +//~fl~3~43de~88fbdd91~~ } Fl_Group *w_settings_shell_cmd=(Fl_Group *)0; @@ -1123,7 +1123,7 @@ static void cb_w_settings_shell_cmd(Fl_Group* o, void* v) { } propagate_load(o, v); } -//~fl~3~adce~61a3273f~~ +//~fl~3~81c9~61a3273f~~ } static void cb_Name(Fl_Input* o, void* v) { @@ -1143,7 +1143,7 @@ static void cb_Name(Fl_Input* o, void* v) { if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } -//~fl~3~d61f~774a9eda~~ +//~fl~3~4c02~774a9eda~~ } static void cb_Menu(Fl_Input* o, void* v) { @@ -1163,13 +1163,13 @@ static void cb_Menu(Fl_Input* o, void* v) { if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } -//~fl~3~cbf2~d6faeaaf~~ +//~fl~3~9a10~d6faeaaf~~ } static void cb_b(Fl_Group* o, void* v) { //~fl~0~0000~168f150c~~ propagate_load(o, v); -//~fl~3~a161~50833204~~ +//~fl~3~1b62~50833204~~ } static void cb_Shortcut(Fl_Shortcut_Button* o, void* v) { @@ -1190,7 +1190,7 @@ static void cb_Shortcut(Fl_Shortcut_Button* o, void* v) { if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } -//~fl~3~f100~c8f9aa5b~~ +//~fl~3~36b9~c8f9aa5b~~ } static void cb_Store(Fl_Choice* o, void* v) { @@ -1217,7 +1217,7 @@ static void cb_Store(Fl_Choice* o, void* v) { if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } -//~fl~3~778e~475d4ad4~~ +//~fl~3~5cf7~475d4ad4~~ } Fl_Menu_Item menu_Store[] = { @@ -1245,7 +1245,7 @@ static void cb_Condition(Fl_Choice* o, void* v) { if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } -//~fl~3~ad97~70480294~~ +//~fl~3~08b7~70480294~~ } Fl_Menu_Item menu_Condition[] = { @@ -1265,7 +1265,7 @@ static void cb_Label(Fl_Input* o, void* v) { } else { // g_shell_command = o->value(); } -//~fl~3~1aa1~eb97b0e1~~ +//~fl~3~03b3~eb97b0e1~~ } Fl_Text_Editor *w_settings_shell_command=(Fl_Text_Editor *)0; @@ -1286,7 +1286,7 @@ static void cb_w_settings_shell_command(Fl_Text_Editor* o, void* v) { if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } -//~fl~3~b429~ce985002~~ +//~fl~3~647f~ce985002~~ } Fl_Menu_Button *w_settings_shell_text_macros=(Fl_Menu_Button *)0; @@ -1311,7 +1311,7 @@ static void cb_w_settings_shell_text_macros(Fl_Menu_Button* o, void*) { } w_settings_shell_command->do_callback(w_settings_shell_command, (void*)NULL); } -//~fl~3~475b~b6875296~~ +//~fl~3~5f88~b6875296~~ } Fl_Menu_Item menu_w_settings_shell_text_macros[] = { @@ -1347,7 +1347,7 @@ static void cb_1fd_zoom(Fl_Button*, void*) { w_settings_shell_command->do_callback(); BREAK2: script_panel->hide(); -//~fl~3~5873~22f99a94~~ +//~fl~3~0bee~22f99a94~~ } static void cb_save(Fl_Check_Button* o, void* v) { @@ -1371,7 +1371,7 @@ static void cb_save(Fl_Check_Button* o, void* v) { if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } -//~fl~3~9c64~58c14315~~ +//~fl~3~db15~58c14315~~ } static void cb_save1(Fl_Check_Button* o, void* v) { @@ -1395,7 +1395,7 @@ static void cb_save1(Fl_Check_Button* o, void* v) { if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } -//~fl~3~6de6~4da652b9~~ +//~fl~3~d20c~4da652b9~~ } static void cb_save2(Fl_Check_Button* o, void* v) { @@ -1419,7 +1419,7 @@ static void cb_save2(Fl_Check_Button* o, void* v) { if (cmd->storage == FD_STORE_PROJECT) set_modflag(1); } } -//~fl~3~2f06~1c6d3453~~ +//~fl~3~b11e~1c6d3453~~ } Fl_Box *w_settings_shell_fd_project=(Fl_Box *)0; @@ -2081,7 +2081,7 @@ Fl_Group *w_settings_i18n_tab=(Fl_Group *)0; static void cb_w_settings_i18n_tab(Fl_Group* o, void* v) { //~fl~0~0000~b806caa7~~ propagate_load(o, v); -//~fl~3~8253~50833204~~ +//~fl~3~189f~50833204~~ } static const unsigned char idata_language_64[] = @@ -2171,7 +2171,7 @@ Fl_Group *i18n_gnu_group=(Fl_Group *)0; static void cb_i18n_gnu_group(Fl_Group* o, void* v) { //~fl~0~0000~4e561a5c~~ propagate_load(o, v); -//~fl~3~e1f8~50833204~~ +//~fl~3~3317~50833204~~ } Fl_Input *i18n_gnu_include_input=(Fl_Input *)0; @@ -2185,7 +2185,7 @@ static void cb_i18n_gnu_include_input(Fl_Input* o, void* v) { g_project.i18n_gnu_include = o->value(); set_modflag(1); } -//~fl~3~8d65~3001413b~~ +//~fl~3~63b5~3001413b~~ } Fl_Input *i18n_gnu_conditional_input=(Fl_Input *)0; @@ -2199,7 +2199,7 @@ static void cb_i18n_gnu_conditional_input(Fl_Input* o, void* v) { g_project.i18n_gnu_conditional = o->value(); set_modflag(1); } -//~fl~3~1d8f~47091379~~ +//~fl~3~4e4e~47091379~~ } Fl_Input *i18n_gnu_function_input=(Fl_Input *)0; @@ -2213,7 +2213,7 @@ static void cb_i18n_gnu_function_input(Fl_Input* o, void* v) { g_project.i18n_gnu_function = o->value(); set_modflag(1); } -//~fl~3~a7b4~782b9047~~ +//~fl~3~6bdb~782b9047~~ } Fl_Input *i18n_gnu_static_function_input=(Fl_Input *)0; @@ -2227,7 +2227,7 @@ static void cb_i18n_gnu_static_function_input(Fl_Input* o, void* v) { g_project.i18n_gnu_static_function = o->value(); set_modflag(1); } -//~fl~3~52f0~21832541~~ +//~fl~3~aa3f~21832541~~ } Fl_Group *i18n_posix_group=(Fl_Group *)0; @@ -2235,7 +2235,7 @@ Fl_Group *i18n_posix_group=(Fl_Group *)0; static void cb_i18n_posix_group(Fl_Group* o, void* v) { //~fl~0~0000~257c37c8~~ propagate_load(o, v); -//~fl~3~2980~50833204~~ +//~fl~3~910a~50833204~~ } Fl_Input *i18n_pos_include_input=(Fl_Input *)0; @@ -2249,7 +2249,7 @@ static void cb_i18n_pos_include_input(Fl_Input* o, void* v) { g_project.i18n_pos_include = o->value(); set_modflag(1); } -//~fl~3~b3b7~41fa0d1c~~ +//~fl~3~9b11~41fa0d1c~~ } Fl_Input *i18n_pos_conditional_input=(Fl_Input *)0; @@ -2263,7 +2263,7 @@ static void cb_i18n_pos_conditional_input(Fl_Input* o, void* v) { g_project.i18n_pos_conditional = o->value(); set_modflag(1); } -//~fl~3~dacb~6bb5d246~~ +//~fl~3~ea1d~6bb5d246~~ } Fl_Input *i18n_pos_file_input=(Fl_Input *)0; @@ -2277,13 +2277,13 @@ static void cb_i18n_pos_file_input(Fl_Input* o, void* v) { g_project.i18n_pos_file = o->value(); set_modflag(1); } -//~fl~3~7b19~04796294~~ +//~fl~3~6086~04796294~~ } static void cb_c(Fl_Group* o, void* v) { //~fl~0~0000~f192b39b~~ propagate_load(o, v); -//~fl~3~d7ee~50833204~~ +//~fl~3~a350~50833204~~ } Fl_Int_Input *i18n_pos_set_input=(Fl_Int_Input *)0; @@ -2297,7 +2297,7 @@ static void cb_i18n_pos_set_input(Fl_Int_Input* o, void* v) { g_project.i18n_pos_set = o->value(); set_modflag(1); } -//~fl~3~689a~a3e1b311~~ +//~fl~3~da8d~a3e1b311~~ } static void cb_Close(Fl_Button*, void*) { @@ -2306,7 +2306,7 @@ static void cb_Close(Fl_Button*, void*) { g_shell_config->write(fluid_prefs, FD_STORE_USER); g_layout_list.write(fluid_prefs, FD_STORE_USER); settings_window->hide(); -//~fl~3~86cc~3f4611d9~~ +//~fl~3~f009~3f4611d9~~ } Fl_Double_Window* make_settings_window() { @@ -3196,7 +3196,7 @@ le FLTK_GETTEXT_FOUND"); } // Fl_Double_Window* settings_window //~fl~0~0000~d0a79484~~ w_settings_tabs->do_callback(w_settings_tabs, LOAD); -//~fl~1~c8a2~102614d8~~ +//~fl~1~5312~102614d8~~ return settings_window; } @@ -3207,7 +3207,7 @@ Fl_Simple_Terminal *shell_run_terminal=(Fl_Simple_Terminal *)0; static void cb_Clear(Fl_Button*, void*) { //~fl~0~0000~e5195ca2~~ shell_run_terminal->clear(); -//~fl~3~fec1~9e598b81~~ +//~fl~3~0281~9e598b81~~ } Fl_Return_Button *shell_run_button=(Fl_Return_Button *)0; @@ -3220,7 +3220,7 @@ static void cb_shell_run_button(Fl_Return_Button*, void*) { pos.set("w", shell_run_window->w()); pos.set("h", shell_run_window->h()); shell_run_window->hide(); -//~fl~3~e2a5~f206a765~~ +//~fl~3~1684~f206a765~~ } Fl_Double_Window* make_shell_window() { diff --git a/fluid/alignment_panel.fl b/fluid/alignment_panel.fl index 0c22d9a11..b1e462204 100644 --- a/fluid/alignment_panel.fl +++ b/fluid/alignment_panel.fl @@ -47,73 +47,73 @@ comment {// // // https://www.fltk.org/bugs.php // -} {uid 16807 in_source in_header +} {uid 0001 in_source in_header } -decl {\#include "fluid.h"} {uid 15089 public global +decl {\#include "fluid.h"} {uid 2b8a public global } -decl {\#include "undo.h"} {uid 44249 private global +decl {\#include "undo.h"} {uid 6a9b private global } -decl {\#include "widget_browser.h"} {uid 3114 public global +decl {\#include "widget_browser.h"} {uid c339 public global } -decl {\#include "Fd_Snap_Action.h"} {uid 46978 public global +decl {\#include "Fd_Snap_Action.h"} {uid 07f7 public global } -decl {\#include "shell_command.h"} {uid 56008 public global +decl {\#include "shell_command.h"} {uid 4ca1 public global } -decl {\#include <FL/Fl_Text_Buffer.H>} {uid 36568 public local +decl {\#include <FL/Fl_Text_Buffer.H>} {uid ead3 public local } -decl {\#include <FL/Fl_Text_Display.H>} {uid 2558 public local +decl {\#include <FL/Fl_Text_Display.H>} {uid f3ed public local } -decl {\#include "fluid_filename.h"} {uid 12099 public local +decl {\#include "fluid_filename.h"} {uid b8d5 public local } -decl {\#include <FL/fl_string_functions.h>} {uid 1101 public local +decl {\#include <FL/fl_string_functions.h>} {uid 9ad9 public local } -decl {\#include <FL/Fl_Scheme_Choice.H>} {uid 39064 public local +decl {\#include <FL/Fl_Scheme_Choice.H>} {uid 3c5b public local } -decl {\#include <FL/Fl_Preferences.H>} {uid 15445 private global +decl {\#include <FL/Fl_Preferences.H>} {uid 546c private global } -decl {\#include <FL/Fl_Tooltip.H>} {uid 4748 private global +decl {\#include <FL/Fl_Tooltip.H>} {uid 1151 private global } -decl {\#include <FL/fl_ask.H>} {uid 56290 private global +decl {\#include <FL/fl_ask.H>} {uid 9c20 private global } -decl {\#include <string.h>} {uid 54451 private global +decl {\#include <string.h>} {uid 100c private global } -decl {\#include "../src/flstring.h"} {uid 14151 private global +decl {\#include "../src/flstring.h"} {uid fd06 private global } -decl {void init_scheme(void);} {uid 14615 +decl {void init_scheme(void);} {uid 606d comment {// initialize the scheme from preferences} public global } -decl {extern struct Fl_Menu_Item *dbmanager_item;} {uid 16657 public local +decl {extern struct Fl_Menu_Item *dbmanager_item;} {uid 5fff public local } -decl {extern void i18n_cb(Fl_Choice *,void *);} {uid 50072 public local +decl {extern void i18n_cb(Fl_Choice *,void *);} {uid 18a1 public local } -decl {void scheme_cb(Fl_Scheme_Choice *, void *);} {uid 18772 public local +decl {void scheme_cb(Fl_Scheme_Choice *, void *);} {uid 3b19 public local } -decl {int w_settings_shell_list_selected;} {uid 11823 public local +decl {int w_settings_shell_list_selected;} {uid da36 public local } -Function {make_script_panel()} {uid 11025 open +Function {make_script_panel()} {uid 42e9 open } { - Fl_Window script_panel {uid 38445 + Fl_Window script_panel {uid 9a81 label {Shell Script Editor} callback {if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape) return; // ignore Escape @@ -121,67 +121,67 @@ script_panel->hide(); // otherwise hide..} open xywh {764 319 540 180} type Double labelsize 11 resizable code0 {o->size_range(200, 150);} modal visible } { - Fl_Text_Editor script_input {uid 35589 + Fl_Text_Editor script_input {uid 0fc3 xywh {10 10 520 130} box DOWN_BOX labelsize 11 when 13 textfont 4 textsize 11 resizable code0 {script_input->buffer(new Fl_Text_Buffer);} } - Fl_Group {} {uid 12888 open + Fl_Group {} {uid 431e open xywh {10 150 520 20} labelsize 11 } { - Fl_Return_Button script_panel_ok {uid 26357 + Fl_Return_Button script_panel_ok {uid 9dc0 label OK xywh {400 150 60 20} labelsize 11 hotspot } - Fl_Button script_panel_cancel {uid 33131 + Fl_Button script_panel_cancel {uid 9244 label Cancel xywh {470 150 60 20} labelsize 11 } - Fl_Box {} {uid 40406 + Fl_Box {} {uid 4a7a xywh {10 150 380 20} labelsize 11 resizable } } } code {// Enable line numbers script_input->linenumber_width(60); -script_input->linenumber_size(script_input->Fl_Text_Display::textsize());} {uid 30600 +script_input->linenumber_size(script_input->Fl_Text_Display::textsize());} {uid aeab } } -Function {make_settings_window()} {uid 40199 open selected +Function {make_settings_window()} {uid 04c9 open selected } { - Fl_Window settings_window {uid 25753 + Fl_Window settings_window {uid 98de label {FLUID Settings} open xywh {392 362 340 580} type Double align 80 resizable size_range {340 580 0 0} visible } { - Fl_Tabs w_settings_tabs {uid 46226 + Fl_Tabs w_settings_tabs {uid e8f6 callback {propagate_load(o, v);} open xywh {10 10 320 530} selection_color 12 labelsize 11 labelcolor 255 resizable } { - Fl_Group {} {uid 3912 + Fl_Group {} {uid 2de2 label General open image {icons/general_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 resizable code0 {o->image()->scale(36, 24);} } { - Fl_Group {} {uid 20787 + Fl_Group {} {uid 604f callback {propagate_load(o, v);} open xywh {120 78 130 25} } { - Fl_Choice scheme_choice {uid 61026 + Fl_Choice scheme_choice {uid 839f label {Scheme: } callback scheme_cb open xywh {120 78 120 25} down_box BORDER_BOX labelfont 1 labelsize 11 code0 {init_scheme();} class Fl_Scheme_Choice } {} - Fl_Box {} {uid 37953 + Fl_Box {} {uid ee67 xywh {240 78 10 25} hide resizable } } - Fl_Box {} {uid 19699 + Fl_Box {} {uid adce label {Options: } xywh {120 115 0 20} labelfont 1 labelsize 11 align 4 } - Fl_Check_Button tooltips_button {uid 3853 + Fl_Check_Button tooltips_button {uid cbf2 label {Show Tooltips} callback {Fl_Tooltip::enable(tooltips_button->value()); fluid_prefs.set("show_tooltips", tooltips_button->value());} @@ -191,7 +191,7 @@ fluid_prefs.set("show_tooltips", tooltips_button->value());} code2 {tooltips_button->value(b);} code3 {Fl_Tooltip::enable(b);} } - Fl_Check_Button completion_button {uid 20515 + Fl_Check_Button completion_button {uid f100 label {Show Completion Dialogs} callback {fluid_prefs.set("show_completion_dialogs", completion_button->value());} xywh {120 135 200 20} down_box DOWN_BOX labelsize 11 @@ -199,7 +199,7 @@ fluid_prefs.set("show_tooltips", tooltips_button->value());} code1 {fluid_prefs.get("show_completion_dialogs", b, 1);} code2 {completion_button->value(b);} } - Fl_Check_Button openlast_button {uid 27365 + Fl_Check_Button openlast_button {uid 2678 label {Open Previous File on Startup} callback {fluid_prefs.set("open_previous_file", openlast_button->value());} xywh {120 155 200 20} down_box DOWN_BOX labelsize 11 @@ -207,7 +207,7 @@ fluid_prefs.set("show_tooltips", tooltips_button->value());} code1 {fluid_prefs.get("open_previous_file", b, 0);} code2 {openlast_button->value(b);} } - Fl_Check_Button prevpos_button {uid 63583 + Fl_Check_Button prevpos_button {uid ad97 label {Remember Window Positions} callback {fluid_prefs.set("prev_window_pos", prevpos_button->value());} xywh {120 175 200 20} down_box DOWN_BOX labelsize 11 @@ -215,7 +215,7 @@ fluid_prefs.set("show_tooltips", tooltips_button->value());} code1 {fluid_prefs.get("prev_window_pos", b, 1);} code2 {prevpos_button->value(b);} } - Fl_Check_Button show_comments_button {uid 13616 + Fl_Check_Button show_comments_button {uid 5a34 label {Show Comments in Browser} callback {show_comments = show_comments_button->value(); fluid_prefs.set("show_comments", show_comments); @@ -224,11 +224,11 @@ redraw_browser();} code1 {fluid_prefs.get("show_comments", show_comments, 1);} code2 {show_comments_button->value(show_comments);} } - Fl_Group {} {uid 8913 + Fl_Group {} {uid c707 callback {propagate_load(o, v);} open xywh {120 225 50 20} } { - Fl_Spinner recent_spinner {uid 63176 + Fl_Spinner recent_spinner {uid 2c5e label {\# Recent Files:} callback {fluid_prefs.set("recent_files", recent_spinner->value()); load_history();} @@ -238,11 +238,11 @@ load_history();} code2 {recent_spinner->maximum(10);} code3 {recent_spinner->value(c);} } - Fl_Box {} {uid 62957 + Fl_Box {} {uid 1aa1 xywh {160 225 10 20} hide resizable } } - Fl_Check_Button use_external_editor_button {uid 50529 + Fl_Check_Button use_external_editor_button {uid b429 label {Use for Code Nodes} callback {G_use_external_editor = use_external_editor_button->value(); fluid_prefs.set("use_external_editor", G_use_external_editor); @@ -251,7 +251,7 @@ redraw_browser();} code1 {fluid_prefs.get("use_external_editor", G_use_external_editor, 0);} code2 {use_external_editor_button->value(G_use_external_editor);} } - Fl_Input editor_command_input {uid 26636 + Fl_Input editor_command_input {uid 475b label {External Editor:} callback {strncpy(G_external_editor_command, editor_command_input->value(), sizeof(G_external_editor_command)-1); G_external_editor_command[sizeof(G_external_editor_command)-1] = 0; @@ -266,45 +266,45 @@ Examples: code1 {fluid_prefs.get("external_editor_command", G_external_editor_command, "", sizeof(G_external_editor_command)-1);} code2 {editor_command_input->value(G_external_editor_command);} } - Fl_Box {} {uid 5451 + Fl_Box {} {uid 0bf5 label {Overlays: } xywh {120 300 0 20} labelfont 1 labelsize 11 align 4 } - Fl_Check_Button guides_button {uid 10498 + Fl_Check_Button guides_button {uid cc46 label {Show Positioning Guides} callback toggle_guides_cb tooltip {show guides that help to position and resize widgets and enable snapping} xywh {120 300 200 20} down_box DOWN_BOX labelsize 11 code0 {o->value(show_guides);} } - Fl_Check_Button restricted_button {uid 21557 + Fl_Check_Button restricted_button {uid 779c label {Show Restricted Areas} callback toggle_restricted_cb tooltip {show overlapping and out of bounds areas, show unfilled areas in Fl_Pack groups} xywh {120 320 200 20} down_box DOWN_BOX labelsize 11 code0 {o->value(show_restricted);} } - Fl_Box {} {uid 32825 + Fl_Box {} {uid 3f2e xywh {120 530 200 10} hide resizable } } - Fl_Group w_settings_project_tab {uid 20609 + Fl_Group w_settings_project_tab {uid c92a label Project callback {propagate_load(o, v);} open image {icons/document_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide code0 {o->image()->scale(36, 24);} } { - Fl_Group {} {uid 25732 open + Fl_Group {} {uid 5873 open xywh {100 78 220 30} } { - Fl_Box {} {uid 9656 + Fl_Box {} {uid 9c64 label {Use "name.ext" to set a file name or just ".ext" to set extension.} xywh {100 78 210 30} labelsize 11 align 148 } - Fl_Box {} {uid 25876 + Fl_Box {} {uid 2f06 xywh {310 78 10 30} hide resizable } } - Fl_Input header_file_input {uid 7074 + Fl_Input header_file_input {uid 5cef label {Header File:} user_data 1 user_data_type {void*} callback {if (v == LOAD) { @@ -317,7 +317,7 @@ or just ".ext" to set extension.} }} tooltip {The name of the generated header file.} xywh {100 112 220 20} box THIN_DOWN_BOX labelfont 1 labelsize 11 when 1 textfont 4 textsize 11 } - Fl_Input code_file_input {uid 13212 + Fl_Input code_file_input {uid 3509 label {Code File:} user_data 1 user_data_type {void*} callback {if (v == LOAD) { @@ -330,7 +330,7 @@ or just ".ext" to set extension.} }} tooltip {The name of the generated code file.} xywh {100 137 220 20} box THIN_DOWN_BOX labelfont 1 labelsize 11 when 1 textfont 4 textsize 11 } - Fl_Check_Button include_H_from_C_button {uid 26292 + Fl_Check_Button include_H_from_C_button {uid 7f08 label {Include Header from Code} callback {if (v == LOAD) { o->value(g_project.include_H_from_C); @@ -342,11 +342,11 @@ or just ".ext" to set extension.} }} tooltip {Include the header file from the code file.} xywh {100 162 220 20} down_box DOWN_BOX labelsize 11 } - Fl_Box {} {uid 61018 + Fl_Box {} {uid 234f label {Options: } xywh {100 205 0 20} labelfont 1 labelsize 11 align 4 } - Fl_Check_Button use_FL_COMMAND_button {uid 37479 + Fl_Check_Button use_FL_COMMAND_button {uid e1f8 label {Menu shortcuts use FL_COMMAND} callback {if (v == LOAD) { o->value(g_project.use_FL_COMMAND); @@ -358,7 +358,7 @@ or just ".ext" to set extension.} }} tooltip {Replace FL_CTRL and FL_META with FL_COMMAND when generating menu shortcuts} xywh {100 205 220 20} down_box DOWN_BOX labelsize 11 } - Fl_Check_Button utf8_in_src_button {uid 44074 + Fl_Check_Button utf8_in_src_button {uid 1d8f label {allow Unicode UTF-8 in source code} callback {if (v == LOAD) { o->value(g_project.utf8_in_src); @@ -370,7 +370,7 @@ or just ".ext" to set extension.} }} tooltip {For older compilers, characters outside of the printable ASCII range are escaped using octal notation `\\0123`. If this option is checked, Fluid will write UTF-8 characters unchanged.} xywh {100 230 220 20} down_box DOWN_BOX labelsize 11 } - Fl_Check_Button avoid_early_includes_button {uid 13514 + Fl_Check_Button avoid_early_includes_button {uid 52f0 label {avoid early include of Fl.H} callback {if (v == LOAD) { o->value(g_project.avoid_early_includes); @@ -382,11 +382,11 @@ or just ".ext" to set extension.} }} tooltip {Do not emit \#include <FL//Fl.H> until it is needed by another include file.} xywh {100 255 220 20} down_box DOWN_BOX labelsize 11 } - Fl_Box {} {uid 56037 + Fl_Box {} {uid b3b7 label {Experimental: } xywh {100 283 0 20} labelfont 1 labelsize 11 align 4 } - Fl_Check_Button w_proj_mergeback {uid 4680 + Fl_Check_Button w_proj_mergeback {uid 7b19 label {generate MergeBack data} callback {if (v == LOAD) { o->value(g_project.write_mergeback_data); @@ -398,21 +398,21 @@ or just ".ext" to set extension.} }} tooltip {MergeBack is a feature under construction that allows changes in code files to be merged back into the project file. Checking this option will generate additional data in code and project files.} xywh {100 283 220 20} down_box DOWN_BOX labelsize 11 } - Fl_Box {} {uid 18921 + Fl_Box {} {uid 689a xywh {100 530 220 10} hide resizable } } - Fl_Group w_settings_layout_tab {uid 41157 + Fl_Group w_settings_layout_tab {uid f9d7 label Layout callback {propagate_load(o, v);} open image {icons/layout_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide code0 {o->image()->scale(36, 24);} } { - Fl_Box {} {uid 1521 + Fl_Box {} {uid 86cc label {Layout:} xywh {25 78 60 24} labelfont 1 labelsize 11 align 24 } - Fl_Choice layout_choice {uid 8880 + Fl_Choice layout_choice {uid c8a2 callback {if (v == LOAD) { o->value(g_layout_list.current_suite()); } else { @@ -422,16 +422,16 @@ or just ".ext" to set extension.} }} xywh {85 78 187 24} down_box BORDER_BOX } { - MenuItem {} {uid 22212 + MenuItem {} {uid 678c label FLTK xywh {0 0 31 20} } - MenuItem {} {uid 39957 + MenuItem {} {uid 5ddf label Grid xywh {0 0 31 20} } } - Fl_Button {} {uid 11146 + Fl_Button {} {uid 52ad label {+} callback {// Clone the current layout suite @@ -447,7 +447,7 @@ g_layout_list.add(new_name); g_layout_list.update_dialogs();} xywh {272 78 24 24} } - Fl_Menu_Button w_layout_menu {uid 37349 + Fl_Menu_Button w_layout_menu {uid d9d1 callback {if (v == LOAD) { Fd_Layout_Suite &suite = g_layout_list[g_layout_list.current_suite()]; if (suite.storage_ == FD_STORE_INTERNAL) { @@ -463,7 +463,7 @@ g_layout_list.update_dialogs();} }} open xywh {296 78 24 24} } { - MenuItem w_layout_menu_rename {uid 27291 + MenuItem w_layout_menu_rename {uid 2fd1 label {Rename...} callback {// Rename the current layout suite @@ -476,35 +476,35 @@ g_layout_list.rename(new_name); g_layout_list.update_dialogs();} xywh {0 0 31 20} divider } - MenuItem {w_layout_menu_storage[0]} {uid 63565 + MenuItem {w_layout_menu_storage[0]} {uid 08be label {@fd_beaker FLUID Built-In} callback {Fd_Layout_Suite &suite = g_layout_list[g_layout_list.current_suite()]; suite.storage(FD_STORE_INTERNAL); g_layout_list.update_dialogs();} xywh {0 0 31 20} type Radio deactivate } - MenuItem {w_layout_menu_storage[1]} {uid 49977 + MenuItem {w_layout_menu_storage[1]} {uid 00f0 label {@fd_user User Preference} callback {Fd_Layout_Suite &suite = g_layout_list[g_layout_list.current_suite()]; suite.storage(FD_STORE_USER); g_layout_list.update_dialogs();} xywh {0 0 31 20} type Radio } - MenuItem {w_layout_menu_storage[2]} {uid 62966 + MenuItem {w_layout_menu_storage[2]} {uid 8be9 label {@fd_project Store in .fl Project File} callback {Fd_Layout_Suite &suite = g_layout_list[g_layout_list.current_suite()]; suite.storage(FD_STORE_PROJECT); g_layout_list.update_dialogs();} xywh {0 0 31 20} type Radio } - MenuItem {w_layout_menu_storage[3]} {uid 2039 + MenuItem {w_layout_menu_storage[3]} {uid 77b7 label {@fd_file Store in External File} callback {Fd_Layout_Suite &suite = g_layout_list[g_layout_list.current_suite()]; suite.storage(FD_STORE_FILE); g_layout_list.update_dialogs();} xywh {0 0 31 20} type Radio divider } - MenuItem w_layout_menu_load {uid 9960 + MenuItem w_layout_menu_load {uid 28cb label {Load...} callback {// Give the user a file chooser and load that file Fl_Native_File_Chooser fnfc; @@ -520,7 +520,7 @@ g_layout_list.load(new_filename); g_layout_list.update_dialogs();} xywh {0 0 31 20} } - MenuItem w_layout_menu_save {uid 19617 + MenuItem w_layout_menu_save {uid 6c2f label {Save...} callback {// Give the user a file chooser with a suggested name Fl_Native_File_Chooser fnfc; @@ -539,7 +539,7 @@ g_layout_list.update_dialogs();} xywh {0 0 31 20} divider code0 {\#include <FL/Fl_Native_File_Chooser.H>} } - MenuItem w_layout_menu_delete {uid 4101 + MenuItem w_layout_menu_delete {uid 81f2 label Delete callback {// remove the current suite @@ -548,42 +548,42 @@ g_layout_list.update_dialogs();} xywh {0 0 31 20} } } - Fl_Box {} {uid 60115 + Fl_Box {} {uid 028c label {Preset:} xywh {25 107 60 20} labelfont 1 labelsize 11 align 24 } - Fl_Group {} {uid 63742 + Fl_Group {} {uid 3e48 callback propagate_load open xywh {85 107 235 20} labelsize 11 } { - Fl_Button {preset_choice[0]} {uid 62445 + Fl_Button {preset_choice[0]} {uid 191e label Application user_data 0 user_data_type long callback edit_layout_preset_cb xywh {85 107 78 20} type Radio value 1 selection_color 45 labelsize 11 compact 1 } - Fl_Button {preset_choice[1]} {uid 19877 + Fl_Button {preset_choice[1]} {uid fc1b label Dialog user_data 1 user_data_type long callback edit_layout_preset_cb xywh {163 107 79 20} type Radio selection_color 45 labelsize 11 compact 1 } - Fl_Button {preset_choice[2]} {uid 47317 + Fl_Button {preset_choice[2]} {uid 8d4f label Toolbox user_data 2 user_data_type long callback edit_layout_preset_cb xywh {242 107 78 20} type Radio selection_color 45 labelsize 11 compact 1 } } - Fl_Box {} {uid 57587 + Fl_Box {} {uid eb71 label {---- Window ----} xywh {85 132 235 20} labelfont 1 labelsize 11 align 20 } - Fl_Box {} {uid 39641 + Fl_Box {} {uid 2080 label {Margin:} xywh {25 167 60 20} labelsize 11 align 24 } - Fl_Value_Input {} {uid 19684 + Fl_Value_Input {} {uid 14d7 label {Left:} callback {if (v == LOAD) { o->value((double)layout->left_window_margin); @@ -592,7 +592,7 @@ g_layout_list.update_dialogs();} }} xywh {85 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 15451 + Fl_Value_Input {} {uid 7fd3 label {Top:} callback {if (v == LOAD) { o->value((double)layout->top_window_margin); @@ -601,7 +601,7 @@ g_layout_list.update_dialogs();} }} xywh {145 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 48122 + Fl_Value_Input {} {uid 0df4 label {Right:} callback {if (v == LOAD) { o->value((double)layout->right_window_margin); @@ -610,7 +610,7 @@ g_layout_list.update_dialogs();} }} xywh {205 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 21612 + Fl_Value_Input {} {uid d6f1 label {Bottom:} callback {if (v == LOAD) { o->value((double)layout->bottom_window_margin); @@ -619,11 +619,11 @@ g_layout_list.update_dialogs();} }} xywh {265 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Box {} {uid 36291 + Fl_Box {} {uid 7f94 label {Grid:} xywh {32 201 53 20} labelsize 11 align 24 } - Fl_Value_Input {} {uid 4433 + Fl_Value_Input {} {uid 32e8 label {Horizontal:} callback {if (v == LOAD) { o->value((double)layout->window_grid_x); @@ -632,7 +632,7 @@ g_layout_list.update_dialogs();} }} xywh {85 201 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 62434 + Fl_Value_Input {} {uid cfab label {Vertical:} callback {if (v == LOAD) { o->value((double)layout->window_grid_y); @@ -641,15 +641,15 @@ g_layout_list.update_dialogs();} }} xywh {145 201 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Box {} {uid 39968 + Fl_Box {} {uid f893 label {---- Group ----} xywh {85 226 235 20} labelfont 1 labelsize 11 align 20 } - Fl_Box {} {uid 8110 + Fl_Box {} {uid 0573 label {Margin:} xywh {25 261 60 20} labelsize 11 align 24 } - Fl_Value_Input {} {uid 4108 + Fl_Value_Input {} {uid e91b label {Left:} callback {if (v == LOAD) { o->value((double)layout->left_group_margin); @@ -658,7 +658,7 @@ g_layout_list.update_dialogs();} }} xywh {85 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 40673 + Fl_Value_Input {} {uid 2cd9 label {Top:} callback {if (v == LOAD) { o->value((double)layout->top_group_margin); @@ -667,7 +667,7 @@ g_layout_list.update_dialogs();} }} xywh {145 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 64774 + Fl_Value_Input {} {uid e939 label {Right:} callback {if (v == LOAD) { o->value((double)layout->right_group_margin); @@ -676,7 +676,7 @@ g_layout_list.update_dialogs();} }} xywh {205 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 42648 + Fl_Value_Input {} {uid 8216 label {Bottom:} callback {if (v == LOAD) { o->value((double)layout->bottom_group_margin); @@ -685,11 +685,11 @@ g_layout_list.update_dialogs();} }} xywh {265 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Box {} {uid 24685 + Fl_Box {} {uid 3341 label {Grid:} xywh {32 295 53 20} labelsize 11 align 24 } - Fl_Value_Input {} {uid 46945 + Fl_Value_Input {} {uid 5e35 label {Horizontal:} callback {if (v == LOAD) { o->value((double)layout->group_grid_x); @@ -698,7 +698,7 @@ g_layout_list.update_dialogs();} }} xywh {85 295 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 24575 + Fl_Value_Input {} {uid b8e8 label {Vertical:} callback {if (v == LOAD) { o->value((double)layout->group_grid_y); @@ -707,15 +707,15 @@ g_layout_list.update_dialogs();} }} xywh {145 295 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Box {} {uid 28980 + Fl_Box {} {uid fe3c label {---- Tabs ----} xywh {85 320 235 20} labelfont 1 labelsize 11 align 20 } - Fl_Box {} {uid 6305 + Fl_Box {} {uid 56d8 label {Margin:} xywh {25 355 60 20} labelsize 11 align 24 } - Fl_Value_Input {} {uid 64542 + Fl_Value_Input {} {uid 29ce label {Top:} callback {if (v == LOAD) { o->value((double)layout->top_tabs_margin); @@ -724,7 +724,7 @@ g_layout_list.update_dialogs();} }} xywh {85 355 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 15129 + Fl_Value_Input {} {uid ed18 label {Bottom:} callback {if (v == LOAD) { o->value((double)layout->bottom_tabs_margin); @@ -733,15 +733,15 @@ g_layout_list.update_dialogs();} }} xywh {145 355 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Box {} {uid 6909 + Fl_Box {} {uid aefa label {---- Widget ----} xywh {85 380 235 20} labelfont 1 labelsize 11 align 20 } - Fl_Box {} {uid 55862 + Fl_Box {} {uid 2b68 label {Horizontal:} xywh {25 415 60 20} labelsize 11 align 24 } - Fl_Value_Input {} {uid 12880 + Fl_Value_Input {} {uid 5afc label {Minimum:} callback {if (v == LOAD) { o->value((double)layout->widget_min_w); @@ -750,7 +750,7 @@ g_layout_list.update_dialogs();} }} xywh {85 414 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 17129 + Fl_Value_Input {} {uid e632 label {Increment:} callback {if (v == LOAD) { o->value((double)layout->widget_inc_w); @@ -759,7 +759,7 @@ g_layout_list.update_dialogs();} }} xywh {145 414 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 3511 + Fl_Value_Input {} {uid 8701 label {Gap:} callback {if (v == LOAD) { o->value((double)layout->widget_gap_x); @@ -768,11 +768,11 @@ g_layout_list.update_dialogs();} }} xywh {205 414 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Box {} {uid 39553 + Fl_Box {} {uid b839 label {Vertical:} xywh {32 440 53 20} labelsize 11 align 24 } - Fl_Value_Input {} {uid 44943 + Fl_Value_Input {} {uid 940f callback {if (v == LOAD) { o->value((double)layout->widget_min_h); } else { @@ -780,7 +780,7 @@ g_layout_list.update_dialogs();} }} xywh {85 440 55 20} labelsize 11 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 4035 + Fl_Value_Input {} {uid a5e5 callback {if (v == LOAD) { o->value((double)layout->widget_inc_h); } else { @@ -788,7 +788,7 @@ g_layout_list.update_dialogs();} }} xywh {145 440 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Value_Input {} {uid 62522 + Fl_Value_Input {} {uid c471 callback {if (v == LOAD) { o->value((double)layout->widget_gap_y); } else { @@ -796,12 +796,12 @@ g_layout_list.update_dialogs();} }} xywh {205 440 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11 } - Fl_Group {} {uid 17182 + Fl_Group {} {uid 7c05 label {Label Font:} callback propagate_load open xywh {85 465 201 20} labelsize 11 align 4 } { - Fl_Choice {} {uid 28943 + Fl_Choice {} {uid 3b2e callback {if (v == LOAD) { o->value(layout->labelfont+1); } else { @@ -811,7 +811,7 @@ g_layout_list.update_dialogs();} code0 {extern Fl_Menu_Item fontmenu_w_default[];} code1 {o->menu(fontmenu_w_default);} } {} - Fl_Value_Input {} {uid 40384 + Fl_Value_Input {} {uid 5cdc callback {if (v == LOAD) { o->value(layout->labelsize); } else { @@ -820,12 +820,12 @@ g_layout_list.update_dialogs();} tooltip {The size of the label text.} xywh {235 465 50 20} labelsize 11 minimum 1 maximum 1000 step 1 value 14 textsize 11 } } - Fl_Group {} {uid 55084 + Fl_Group {} {uid b6ad label {Text Font:} callback propagate_load open xywh {85 490 200 20} labelsize 11 align 4 } { - Fl_Choice {} {uid 37444 + Fl_Choice {} {uid 2c6a callback {if (v == LOAD) { o->value(layout->textfont+1); } else { @@ -835,7 +835,7 @@ g_layout_list.update_dialogs();} code0 {extern Fl_Menu_Item fontmenu_w_default[];} code1 {o->menu(fontmenu_w_default);} } {} - Fl_Value_Input {} {uid 46165 + Fl_Value_Input {} {uid 01ed callback {if (v == LOAD) { o->value(layout->textsize); } else { @@ -844,21 +844,21 @@ g_layout_list.update_dialogs();} tooltip {The value text size.} xywh {235 490 50 20} labelsize 11 maximum 1000 step 1 value 14 textsize 11 } } - Fl_Box {} {uid 19066 + Fl_Box {} {uid 3880 xywh {325 535 5 5} hide resizable } } - Fl_Group w_settings_shell_tab {uid 36808 + Fl_Group w_settings_shell_tab {uid 8e9a label Shell callback propagate_load open image {icons/shell_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide code0 {o->image()->scale(36, 24);} } { - Fl_Group {} {uid 44715 + Fl_Group {} {uid 2ecf callback propagate_load open xywh {10 90 320 132} } { - Fl_Browser w_settings_shell_list {uid 24144 + Fl_Browser w_settings_shell_list {uid e026 label {Shell command list:} @@ -889,13 +889,13 @@ list:} }} xywh {100 90 220 110} type Multi labelfont 1 labelsize 11 align 4 textsize 13 resizable } - Fl_Group w_settings_shell_toolbox {uid 1225 + Fl_Group w_settings_shell_toolbox {uid 6519 callback {if (v==LOAD) { propagate_load(o, v); }} open xywh {100 200 220 22} } { - Fl_Button {} {uid 26034 + Fl_Button {} {uid edaf label {+} callback {if (v != LOAD) { int selected = w_settings_shell_list_selected; @@ -915,7 +915,7 @@ list:} }} tooltip {insert a new shell command into the list after the selected command} xywh {100 200 24 22} labelfont 1 labelsize 11 } - Fl_Button w_settings_shell_dup {uid 39134 + Fl_Button w_settings_shell_dup {uid 783a label {++} callback {int selected = w_settings_shell_list_selected; if (v==LOAD) { @@ -943,7 +943,7 @@ if (v==LOAD) { }} tooltip {duplicate the selected shell command and insert it into the list} xywh {124 200 24 22} labelfont 1 labelsize 11 deactivate } - Fl_Button w_settings_shell_remove {uid 8882 + Fl_Button w_settings_shell_remove {uid 7cc5 label DEL callback {int selected = w_settings_shell_list_selected; if (v==LOAD) { @@ -970,46 +970,46 @@ if (v==LOAD) { }} tooltip {remove the selected shell command - this can not be undone} xywh {148 200 24 22} labelsize 10 deactivate } - Fl_Menu_Button w_settings_shell_menu {uid 59638 open + Fl_Menu_Button w_settings_shell_menu {uid 053c open xywh {172 200 24 22} labelsize 11 textsize 11 } { - MenuItem {} {uid 43189 + MenuItem {} {uid 9319 label {Import...} callback {if (v != LOAD) Fd_Shell_Command_List::import_from_file();} tooltip {import shell commands from an external file} xywh {90 90 100 20} labelsize 11 } - MenuItem {} {uid 11746 + MenuItem {} {uid e738 label {Export selected...} callback {if (v != LOAD) Fd_Shell_Command_List::export_selected();} tooltip {export selected shell commands to an external file} xywh {10 10 100 20} labelsize 11 } - MenuItem {} {uid 23116 + MenuItem {} {uid 7410 label {Example Scripts:} xywh {20 20 100 20} labelfont 1 labelsize 10 hide deactivate } - MenuItem {} {uid 24655 + MenuItem {} {uid 8760 label {Compile with fltk-config} xywh {30 30 100 20} labelsize 11 hide } - MenuItem {} {uid 64477 + MenuItem {} {uid 867b label {Build and run} xywh {40 40 100 20} labelsize 11 hide } - MenuItem {} {uid 33695 + MenuItem {} {uid ee72 label {Build with Xcode on macOS} xywh {50 50 100 20} labelsize 11 hide } - MenuItem {} {uid 23688 + MenuItem {} {uid 09f2 label {Build with CMake} xywh {60 60 100 20} labelsize 11 hide } } - Fl_Box {} {uid 61031 + Fl_Box {} {uid a916 xywh {253 200 13 22} hide resizable } - Fl_Button w_settings_shell_play {uid 53949 + Fl_Button w_settings_shell_play {uid 43de label Run callback {int selected = w_settings_shell_list_selected; if (v==LOAD) { @@ -1027,7 +1027,7 @@ if (v==LOAD) { } } } - Fl_Group w_settings_shell_cmd {uid 44494 + Fl_Group w_settings_shell_cmd {uid 81c9 callback {if (v==LOAD) { int selected = w_settings_shell_list_selected; if (selected) { @@ -1039,7 +1039,7 @@ if (v==LOAD) { }} open xywh {10 235 320 291} resizable } { - Fl_Input {} {uid 54815 + Fl_Input {} {uid 4c02 label {Name:} callback {int selected = w_settings_shell_list_selected; if (v == LOAD) { @@ -1058,7 +1058,7 @@ if (v == LOAD) { }} tooltip {file the shell command under this name in the shell command list} xywh {100 246 220 20} labelfont 1 labelsize 11 when 13 textfont 4 textsize 11 } - Fl_Input {} {uid 52210 + Fl_Input {} {uid 9a10 label {Menu Label:} callback {int selected = w_settings_shell_list_selected; if (v == LOAD) { @@ -1077,11 +1077,11 @@ if (v == LOAD) { }} tooltip {label text for the Shell menu in the main menu bar} xywh {100 272 220 20} labelfont 1 labelsize 11 textfont 4 textsize 11 } - Fl_Group {} {uid 41313 + Fl_Group {} {uid 1b62 callback {propagate_load(o, v);} open xywh {100 297 140 71} } { - Fl_Button {} {uid 61696 + Fl_Button {} {uid 36b9 label Shortcut callback {int selected = w_settings_shell_list_selected; if (v == LOAD) { @@ -1103,7 +1103,7 @@ if (v == LOAD) { code0 {\#include <FL/Fl_Shortcut_Button.H>} class Fl_Shortcut_Button } - Fl_Choice {} {uid 30606 + Fl_Choice {} {uid 5cf7 label {Store:} callback {int selected = w_settings_shell_list_selected; if (v == LOAD) { @@ -1129,18 +1129,18 @@ if (v == LOAD) { }} open tooltip {store this shell command as a user setting or save it with the .fl project file} xywh {100 322 130 20} down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 } { - MenuItem {} {uid 9848 + MenuItem {} {uid e676 label {@fd_user User Setting} user_data FD_STORE_USER user_data_type long xywh {0 0 100 20} labelsize 11 } - MenuItem {} {uid 39319 + MenuItem {} {uid 21d3 label {@fd_project Project File} user_data FD_STORE_PROJECT user_data_type long xywh {0 0 100 20} labelsize 11 } } - Fl_Choice {} {uid 44439 + Fl_Choice {} {uid 08b7 label {Condition:} callback {int selected = w_settings_shell_list_selected; if (v == LOAD) { @@ -1161,42 +1161,42 @@ if (v == LOAD) { }} open tooltip {add this command to the main menu bar only if this condition is true} xywh {100 348 130 20} down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 } { - MenuItem {} {uid 42254 + MenuItem {} {uid ccd5 label {all platforms} user_data {Fd_Shell_Command::ALWAYS} user_data_type long xywh {0 0 100 20} labelsize 11 } - MenuItem {} {uid 23092 + MenuItem {} {uid 6287 label {MS Windows only} user_data {Fd_Shell_Command::WIN_ONLY} user_data_type long xywh {0 0 100 20} labelsize 11 } - MenuItem {} {uid 10850 + MenuItem {} {uid 117f label {Linux only} user_data {Fd_Shell_Command::UX_ONLY} user_data_type long xywh {0 0 100 20} labelsize 11 } - MenuItem {} {uid 50951 + MenuItem {} {uid a381 label {macOS only} user_data {Fd_Shell_Command::MAC_ONLY} user_data_type long xywh {0 0 100 20} labelsize 11 } - MenuItem {} {uid 42199 + MenuItem {} {uid 5603 label {Linux and macOS} user_data {Fd_Shell_Command::MAC_AND_UX_ONLY} user_data_type long xywh {0 0 100 20} labelsize 11 } - MenuItem {} {uid 11358 + MenuItem {} {uid c4ca label {don't use} user_data {Fd_Shell_Command::NEVER} user_data_type long xywh {0 0 100 20} labelsize 11 } } - Fl_Box {} {uid 58439 + Fl_Box {} {uid 094c xywh {230 297 10 71} hide resizable } } - Fl_Input {} {uid 6817 + Fl_Input {} {uid 03b3 label {Label:} callback {if (v == LOAD) { // o->value(g_shell_command.c_str()); @@ -1205,11 +1205,11 @@ if (v == LOAD) { }} xywh {230 348 90 20} labelfont 1 labelsize 11 textfont 4 textsize 11 hide } - Fl_Group {} {uid 18520 + Fl_Group {} {uid 9310 callback propagate_load open xywh {100 373 220 80} resizable } { - Fl_Text_Editor w_settings_shell_command {uid 46121 + Fl_Text_Editor w_settings_shell_command {uid 647f label {Shell script:} callback {int selected = w_settings_shell_list_selected; if (v == LOAD) { @@ -1228,10 +1228,10 @@ if (v == LOAD) { xywh {100 373 196 80} labelfont 1 labelsize 11 align 4 textfont 4 textsize 12 resizable code0 {o->buffer(new Fl_Text_Buffer);} } - Fl_Group {} {uid 6286 open + Fl_Group {} {uid b76b open xywh {296 373 24 80} } { - Fl_Menu_Button w_settings_shell_text_macros {uid 18267 + Fl_Menu_Button w_settings_shell_text_macros {uid 5f88 callback {const Fl_Menu_Item *mi = o->mvalue(); if (mi) { char buffer[256]; @@ -1252,53 +1252,53 @@ if (mi) { }} open tooltip {a list of text replacements available for the shell script} xywh {296 373 24 22} labelsize 11 textsize 11 } { - MenuItem {} {uid 47010 + MenuItem {} {uid 2eaa label {@@BASENAME@@} xywh {80 80 100 20} labelfont 4 labelsize 11 } - MenuItem {} {uid 3061 + MenuItem {} {uid cdf4 label {@@PROJECTFILE_PATH@@} xywh {0 0 100 20} labelfont 4 labelsize 11 } - MenuItem {} {uid 7010 + MenuItem {} {uid 803e label {@@PROJECTFILE_NAME@@} xywh {10 10 100 20} labelfont 4 labelsize 11 } - MenuItem {} {uid 52294 + MenuItem {} {uid 8947 label {@@CODEFILE_PATH@@} xywh {20 20 100 20} labelfont 4 labelsize 11 } - MenuItem {} {uid 2438 + MenuItem {} {uid 2ece label {@@CODEFILE_NAME@@} xywh {30 30 100 20} labelfont 4 labelsize 11 } - MenuItem {} {uid 30620 + MenuItem {} {uid fe4e label {@@HEADERFILE_PATH@@} xywh {40 40 100 20} labelfont 4 labelsize 11 } - MenuItem {} {uid 48836 + MenuItem {} {uid fe23 label {@@HEADERFILE_NAME@@} xywh {50 50 100 20} labelfont 4 labelsize 11 } - MenuItem {} {uid 16174 + MenuItem {} {uid 81e7 label {@@TEXTFILE_PATH@@} xywh {60 60 100 20} labelfont 4 labelsize 11 } - MenuItem {} {uid 9014 + MenuItem {} {uid bc92 label {@@TEXTFILE_NAME@@} xywh {70 70 100 20} labelfont 4 labelsize 11 } - MenuItem {} {uid 51498 + MenuItem {} {uid 9da3 label {@@FLTK_CONFIG@@} comment {Not yet implemented} xywh {70 70 100 20} labelfont 4 labelsize 11 hide } - MenuItem {} {uid 60674 + MenuItem {} {uid 3abb label {@@TMPDIR@@} xywh {70 70 100 20} labelfont 4 labelsize 11 } } - Fl_Button {} {uid 22643 + Fl_Button {} {uid 0bee label {@+1fd_zoom} callback {if (!script_panel) make_script_panel(); script_input->buffer()->text(w_settings_shell_command->buffer()->text()); @@ -1317,12 +1317,12 @@ BREAK2: script_panel->hide();} tooltip {open the big code editor} xywh {296 395 24 22} labelsize 11 } - Fl_Box {} {uid 60434 + Fl_Box {} {uid 601b xywh {296 417 24 10} hide resizable } } } - Fl_Check_Button {} {uid 40036 + Fl_Check_Button {} {uid db15 label {save .fl project file} callback {int selected = w_settings_shell_list_selected; if (v == LOAD) { @@ -1345,7 +1345,7 @@ if (v == LOAD) { }} tooltip {save the project to the .fl file before running the command} xywh {100 458 220 20} down_box DOWN_BOX labelsize 11 } - Fl_Check_Button {} {uid 28134 + Fl_Check_Button {} {uid d20c label {save source code} callback {int selected = w_settings_shell_list_selected; if (v == LOAD) { @@ -1368,7 +1368,7 @@ if (v == LOAD) { }} tooltip {generate the source code and header file before running the command} xywh {100 478 220 19} down_box DOWN_BOX labelsize 11 } - Fl_Check_Button {} {uid 12038 + Fl_Check_Button {} {uid b11e label {save i18n strings} callback {int selected = w_settings_shell_list_selected; if (v == LOAD) { @@ -1392,52 +1392,52 @@ if (v == LOAD) { tooltip {save the internationalisation strings before running the command} xywh {100 497 220 20} down_box DOWN_BOX labelsize 11 } } - Fl_Box w_settings_shell_fd_project {uid 17287 + Fl_Box w_settings_shell_fd_project {uid fb93 image {pixmaps/fd_project.png} compress_image 1 bind_image 1 bind_deimage 1 xywh {20 70 16 15} labelsize 11 hide deactivate code0 {o->image()->scale(16, 16);} } - Fl_Box w_settings_shell_fd_user {uid 23791 + Fl_Box w_settings_shell_fd_user {uid 6888 image {pixmaps/fd_user.png} compress_image 1 bind_image 1 bind_deimage 1 xywh {20 70 16 15} labelsize 11 hide deactivate code0 {o->image()->scale(16, 16);} } } - Fl_Group w_settings_i18n_tab {uid 33363 + Fl_Group w_settings_i18n_tab {uid 189f label Locale callback {propagate_load(o, v);} open image {icons/language_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide code0 {o->image()->scale(36, 24);} } { - Fl_Group {} {uid 13577 + Fl_Group {} {uid 9057 callback propagate_load open xywh {100 78 170 20} } { - Fl_Choice i18n_type_chooser {uid 63697 + Fl_Choice i18n_type_chooser {uid f0e1 label {i18n Library:} callback i18n_type_cb open tooltip {Type of internationalization to use.} xywh {100 78 160 20} box THIN_UP_BOX down_box BORDER_BOX labelsize 11 textsize 11 } { - MenuItem {} {uid 32520 + MenuItem {} {uid 2e88 label None xywh {0 -11 100 20} labelsize 11 } - MenuItem {} {uid 6995 + MenuItem {} {uid 4f6a label {GNU gettext} xywh {0 -11 100 20} labelsize 11 } - MenuItem {} {uid 9039 + MenuItem {} {uid eb9d label {POSIX catgets} xywh {0 -11 100 20} labelsize 11 } } - Fl_Box {} {uid 16977 + Fl_Box {} {uid e831 xywh {260 78 10 20} hide resizable } } - Fl_Group i18n_gnu_group {uid 57848 + Fl_Group i18n_gnu_group {uid 3317 callback {propagate_load(o, v);} open xywh {100 103 220 95} } { - Fl_Input i18n_gnu_include_input {uid 36197 + Fl_Input i18n_gnu_include_input {uid 63b5 label {\#include:} callback {if (v == LOAD) { o->value(g_project.i18n_gnu_include.c_str()); @@ -1448,7 +1448,7 @@ if (v == LOAD) { }} tooltip {The include file for internationalization.} xywh {100 103 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11 } - Fl_Input i18n_gnu_conditional_input {uid 7567 + Fl_Input i18n_gnu_conditional_input {uid 4e4e label {Conditional:} callback {if (v == LOAD) { o->value(g_project.i18n_gnu_conditional.c_str()); @@ -1459,7 +1459,7 @@ if (v == LOAD) { }} tooltip {only include the header file if this preprocessor macro is defined, for example FLTK_GETTEXT_FOUND} xywh {100 128 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11 } - Fl_Input i18n_gnu_function_input {uid 42932 + Fl_Input i18n_gnu_function_input {uid 6bdb label {Function:} callback {if (v == LOAD) { o->value(g_project.i18n_gnu_function.c_str()); @@ -1470,7 +1470,7 @@ if (v == LOAD) { }} tooltip {The function to call to translate labels and tooltips, usually "gettext" or "_"} xywh {100 153 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11 } - Fl_Input i18n_gnu_static_function_input {uid 21232 + Fl_Input i18n_gnu_static_function_input {uid aa3f label {Static Function:} callback {if (v == LOAD) { o->value(g_project.i18n_gnu_static_function.c_str()); @@ -1482,11 +1482,11 @@ if (v == LOAD) { tooltip {function to call to translate static text, The function to call to internationalize labels and tooltips, usually "gettext_noop" or "N_"} xywh {100 178 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11 } } - Fl_Group i18n_posix_group {uid 10624 + Fl_Group i18n_posix_group {uid 910a callback {propagate_load(o, v);} open xywh {100 103 220 95} hide } { - Fl_Input i18n_pos_include_input {uid 46007 + Fl_Input i18n_pos_include_input {uid 9b11 label {\#include:} callback {if (v == LOAD) { o->value(g_project.i18n_pos_include.c_str()); @@ -1497,7 +1497,7 @@ if (v == LOAD) { }} tooltip {The include file for internationalization.} xywh {100 103 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11 } - Fl_Input i18n_pos_conditional_input {uid 56011 + Fl_Input i18n_pos_conditional_input {uid ea1d label {Conditional:} callback {if (v == LOAD) { o->value(g_project.i18n_pos_conditional.c_str()); @@ -1508,7 +1508,7 @@ if (v == LOAD) { }} tooltip {only include the header file if this preprocessor macro is defined, for example FLTK_GETTEXT_FOUND} xywh {100 128 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11 } - Fl_Input i18n_pos_file_input {uid 31513 + Fl_Input i18n_pos_file_input {uid 6086 label {File:} callback {if (v == LOAD) { o->value(g_project.i18n_pos_file.c_str()); @@ -1519,11 +1519,11 @@ if (v == LOAD) { }} tooltip {The name of the message catalog.} xywh {100 153 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11 } - Fl_Group {} {uid 55278 + Fl_Group {} {uid a350 callback {propagate_load(o, v);} open xywh {100 178 90 20} } { - Fl_Input i18n_pos_set_input {uid 26778 + Fl_Input i18n_pos_set_input {uid da8d label {Set:} callback {if (v == LOAD) { o->value(g_project.i18n_pos_set.c_str()); @@ -1534,20 +1534,20 @@ if (v == LOAD) { }} tooltip {The message set number.} xywh {100 178 80 20} type Int box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11 } - Fl_Box {} {uid 38123 + Fl_Box {} {uid e850 xywh {180 178 10 20} hide resizable } } } - Fl_Box {} {uid 63959 + Fl_Box {} {uid 42d7 xywh {100 530 220 10} hide resizable } } } - Fl_Group {} {uid 44824 open + Fl_Group {} {uid 379b open xywh {10 550 320 20} } { - Fl_Button {} {uid 34508 + Fl_Button {} {uid f009 label Close callback {if (g_shell_config) g_shell_config->write(fluid_prefs, FD_STORE_USER); @@ -1555,37 +1555,37 @@ g_layout_list.write(fluid_prefs, FD_STORE_USER); settings_window->hide();} tooltip {Close this dialog.} xywh {230 550 100 20} labelsize 11 } - Fl_Box {} {uid 59471 + Fl_Box {} {uid 457d xywh {220 550 10 20} hide resizable } } } - code {w_settings_tabs->do_callback(w_settings_tabs, LOAD);} {uid 51362 + code {w_settings_tabs->do_callback(w_settings_tabs, LOAD);} {uid 5312 } } -Function {make_shell_window()} {uid 17532 open +Function {make_shell_window()} {uid c546 open } { - Fl_Window shell_run_window {uid 26508 + Fl_Window shell_run_window {uid 32ad label {Shell Command Output} open xywh {769 585 555 430} type Double align 80 resizable visible } { - Fl_Simple_Terminal shell_run_terminal {uid 20535 + Fl_Simple_Terminal shell_run_terminal {uid d107 xywh {10 10 535 375} resizable code0 {shell_run_terminal->ansi(1);} } - Fl_Group {} {uid 24031 open + Fl_Group {} {uid 9bbe open xywh {10 395 535 25} } { - Fl_Button {} {uid 65217 + Fl_Button {} {uid 0281 label Clear callback {shell_run_terminal->clear();} xywh {10 395 94 25} } - Fl_Box {} {uid 21165 + Fl_Box {} {uid ec8d xywh {104 395 341 25} hide resizable } - Fl_Return_Button shell_run_button {uid 58021 + Fl_Return_Button shell_run_button {uid 1684 label Close callback {Fl_Preferences pos(fluid_prefs, "shell_run_Window_pos"); pos.set("x", shell_run_window->x()); @@ -1599,5 +1599,5 @@ shell_run_window->hide();} } } -decl {Fl_Menu_Item *w_layout_menu_storage[4];} {uid 55761 private global +decl {Fl_Menu_Item *w_layout_menu_storage[4];} {uid 5454 private global } |
