summaryrefslogtreecommitdiff
path: root/fluid/alignment_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-12 00:09:29 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-12 00:09:48 +0200
commitd93b991e5c8c5322839def653c042f27aff3d500 (patch)
tree10c44f1b84a53c34f48d473a8e6a43ad3a4e9b3f /fluid/alignment_panel.fl
parentd7a5e5099c8e3fbc6e9a445a28bc0c2c17c1026b (diff)
FLUID: Settings dialog is now resizable
Diffstat (limited to 'fluid/alignment_panel.fl')
-rw-r--r--fluid/alignment_panel.fl529
1 files changed, 306 insertions, 223 deletions
diff --git a/fluid/alignment_panel.fl b/fluid/alignment_panel.fl
index fdea176b9..3abf133c7 100644
--- a/fluid/alignment_panel.fl
+++ b/fluid/alignment_panel.fl
@@ -149,24 +149,32 @@ Function {make_settings_window()} {open
} {
Fl_Window settings_window {
label {FLUID Settings} open
- xywh {392 362 340 580} type Double align 80 visible
+ xywh {392 362 340 580} type Double align 80 resizable size_range {340 580 0 0} visible
} {
Fl_Tabs w_settings_tabs {
callback {propagate_load(o, v);} open
- xywh {10 10 320 530} selection_color 12 labelsize 11 labelcolor 255
+ xywh {10 10 320 530} selection_color 12 labelsize 11 labelcolor 255 resizable
} {
Fl_Group {} {
label General open selected
- image {icons/general_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11
+ image {icons/general_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 resizable
code0 {o->image()->scale(36, 24);}
} {
- Fl_Choice scheme_choice {
- 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_Group {} {
+ callback {propagate_load(o, v);} open
+ xywh {120 78 130 25}
+ } {
+ Fl_Choice scheme_choice {
+ 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 {} {
+ xywh {240 78 10 25} hide resizable
+ }
+ }
Fl_Box {} {
label {Options: }
xywh {120 115 0 20} labelfont 1 labelsize 11 align 4
@@ -214,15 +222,23 @@ redraw_browser();}
code1 {fluid_prefs.get("show_comments", show_comments, 1);}
code2 {show_comments_button->value(show_comments);}
}
- Fl_Spinner recent_spinner {
- label {\# Recent Files:}
- callback {fluid_prefs.set("recent_files", recent_spinner->value());
+ Fl_Group {} {
+ callback {propagate_load(o, v);} open
+ xywh {120 225 50 20}
+ } {
+ Fl_Spinner recent_spinner {
+ label {\# Recent Files:}
+ callback {fluid_prefs.set("recent_files", recent_spinner->value());
load_history();}
- xywh {120 225 40 20} labelfont 1 labelsize 11 when 1 maximum 10 textsize 11
- code0 {int c;}
- code1 {fluid_prefs.get("recent_files", c, 5);}
- code2 {recent_spinner->maximum(10);}
- code3 {recent_spinner->value(c);}
+ xywh {120 225 40 20} labelfont 1 labelsize 11 when 1 maximum 10 textsize 11
+ code0 {int c;}
+ code1 {fluid_prefs.get("recent_files", c, 5);}
+ code2 {recent_spinner->maximum(10);}
+ code3 {recent_spinner->value(c);}
+ }
+ Fl_Box {} {
+ xywh {160 225 10 20} hide resizable
+ }
}
Fl_Check_Button use_external_editor_button {
label {Use for Code Nodes}
@@ -264,6 +280,9 @@ Examples:
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 {} {
+ xywh {120 530 200 10} hide resizable
+ }
}
Fl_Group w_settings_project_tab {
label Project
@@ -271,9 +290,17 @@ Examples:
image {icons/document_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide
code0 {o->image()->scale(36, 24);}
} {
- Fl_Box {} {
- label {Use "name.ext" to set a file name or just ".ext" to set extension.}
- xywh {100 78 220 30} labelsize 11 align 148
+ Fl_Group {} {open
+ xywh {100 78 220 30}
+ } {
+ Fl_Box {} {
+ 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 {} {
+ xywh {310 78 10 30} hide resizable
+ }
}
Fl_Input header_file_input {
label {Header File:}
@@ -353,6 +380,9 @@ Examples:
}}
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 {} {
+ xywh {100 530 220 10} hide resizable
+ }
}
Fl_Group w_settings_layout_tab {
label Layout
@@ -796,18 +826,25 @@ 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 {} {
+ xywh {325 535 5 5} hide resizable
+ }
}
Fl_Group w_settings_shell_tab {
label Shell
- callback {propagate_load(o, v);} open
+ 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_Browser w_settings_shell_list {
- label {Shell
+ Fl_Group {} {
+ callback propagate_load open
+ xywh {10 90 320 132}
+ } {
+ Fl_Browser w_settings_shell_list {
+ label {Shell
command
list:}
- callback {if (v == LOAD) {
+ callback {if (v == LOAD) {
// load from g_shell_config
if (g_shell_config) {
o->clear();
@@ -832,17 +869,17 @@ list:}
w_settings_shell_cmd->do_callback(w_settings_shell_cmd, LOAD);
w_settings_shell_toolbox->do_callback(w_settings_shell_toolbox, LOAD);
}}
- xywh {100 90 220 110} type Multi labelfont 1 labelsize 11 align 4 textsize 13
- }
- Fl_Group w_settings_shell_toolbox {
- callback {if (v==LOAD) {
+ xywh {100 90 220 110} type Multi labelfont 1 labelsize 11 align 4 textsize 13 resizable
+ }
+ Fl_Group w_settings_shell_toolbox {
+ callback {if (v==LOAD) {
propagate_load(o, v);
}} open
- xywh {100 200 220 22}
- } {
- Fl_Button {} {
- label {+}
- callback {if (v != LOAD) {
+ xywh {100 200 220 22}
+ } {
+ Fl_Button {} {
+ label {+}
+ callback {if (v != LOAD) {
int selected = w_settings_shell_list_selected;
Fd_Shell_Command *cmd = new Fd_Shell_Command("new shell command");
g_shell_config->insert(selected, cmd);
@@ -858,11 +895,11 @@ list:}
w_settings_shell_toolbox->do_callback(w_settings_shell_toolbox, LOAD);
g_shell_config->rebuild_shell_menu();
}}
- 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 {
- label {++}
- callback {int selected = w_settings_shell_list_selected;
+ 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 {
+ label {++}
+ callback {int selected = w_settings_shell_list_selected;
if (v==LOAD) {
if (selected) {
o->activate();
@@ -886,11 +923,11 @@ if (v==LOAD) {
w_settings_shell_toolbox->do_callback(w_settings_shell_toolbox, LOAD);
g_shell_config->rebuild_shell_menu();
}}
- 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 {
- label DEL
- callback {int selected = w_settings_shell_list_selected;
+ 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 {
+ label DEL
+ callback {int selected = w_settings_shell_list_selected;
if (v==LOAD) {
if (selected) {
o->activate();
@@ -913,47 +950,50 @@ if (v==LOAD) {
w_settings_shell_toolbox->do_callback(w_settings_shell_toolbox, LOAD);
g_shell_config->rebuild_shell_menu();
}}
- 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 {open
- xywh {172 200 24 22} labelsize 11 textsize 11
- } {
- MenuItem {} {
- 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
+ tooltip {remove the selected shell command - this can not be undone} xywh {148 200 24 22} labelsize 10 deactivate
}
- MenuItem {} {
- label {Export selected...}
- callback {if (v != LOAD)
+ Fl_Menu_Button w_settings_shell_menu {open
+ xywh {172 200 24 22} labelsize 11 textsize 11
+ } {
+ MenuItem {} {
+ 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 {} {
+ 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 divider
- }
- MenuItem {} {
- label {Example Scripts:}
- xywh {20 20 100 20} labelfont 1 labelsize 10 hide deactivate
- }
- MenuItem {} {
- label {Compile with fltk-config}
- xywh {30 30 100 20} labelsize 11 hide
- }
- MenuItem {} {
- label {Build and run}
- xywh {40 40 100 20} labelsize 11 hide
- }
- MenuItem {} {
- label {Build with Xcode on macOS}
- xywh {50 50 100 20} labelsize 11 hide
+ tooltip {export selected shell commands to an external file} xywh {10 10 100 20} labelsize 11
+ }
+ MenuItem {} {
+ label {Example Scripts:}
+ xywh {20 20 100 20} labelfont 1 labelsize 10 hide deactivate
+ }
+ MenuItem {} {
+ label {Compile with fltk-config}
+ xywh {30 30 100 20} labelsize 11 hide
+ }
+ MenuItem {} {
+ label {Build and run}
+ xywh {40 40 100 20} labelsize 11 hide
+ }
+ MenuItem {} {
+ label {Build with Xcode on macOS}
+ xywh {50 50 100 20} labelsize 11 hide
+ }
+ MenuItem {} {
+ label {Build with CMake}
+ xywh {60 60 100 20} labelsize 11 hide
+ }
}
- MenuItem {} {
- label {Build with CMake}
- xywh {60 60 100 20} labelsize 11 hide
+ Fl_Box {} {
+ xywh {253 200 13 22} hide resizable
}
- }
- Fl_Button w_settings_shell_play {
- label Run
- callback {int selected = w_settings_shell_list_selected;
+ Fl_Button w_settings_shell_play {
+ label Run
+ callback {int selected = w_settings_shell_list_selected;
if (v==LOAD) {
if (selected) {
o->activate();
@@ -965,7 +1005,8 @@ if (v==LOAD) {
Fd_Shell_Command *cmd = g_shell_config->list[selected-1];
cmd->run();
}}
- tooltip {run the selected shell command} xywh {270 200 50 22} labelsize 11 deactivate
+ tooltip {run the selected shell command} xywh {270 200 50 22} labelsize 11 deactivate
+ }
}
}
Fl_Group w_settings_shell_cmd {
@@ -978,7 +1019,7 @@ if (v==LOAD) {
}
propagate_load(o, v);
}} open
- xywh {10 235 320 291}
+ xywh {10 235 320 291} resizable
} {
Fl_Input {} {
label {Name:}
@@ -1018,9 +1059,13 @@ 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_Button {} {
- label Shortcut
- callback {int selected = w_settings_shell_list_selected;
+ Fl_Group {} {
+ callback {propagate_load(o, v);} open
+ xywh {100 297 140 71}
+ } {
+ Fl_Button {} {
+ label Shortcut
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
o->value(g_shell_config->list[selected-1]->shortcut);
@@ -1036,13 +1081,13 @@ if (v == LOAD) {
if (cmd->storage == FD_STORE_PROJECT) set_modflag(1);
}
}}
- tooltip {an optional keyboard shortcut to run this shell command} xywh {100 297 130 20} labelsize 11 align 16
- code0 {\#include <FL/Fl_Shortcut_Button.H>}
- class Fl_Shortcut_Button
- }
- Fl_Choice {} {
- label {Store:}
- callback {int selected = w_settings_shell_list_selected;
+ tooltip {an optional keyboard shortcut to run this shell command} xywh {100 297 130 20} labelsize 11 align 16
+ code0 {\#include <FL/Fl_Shortcut_Button.H>}
+ class Fl_Shortcut_Button
+ }
+ Fl_Choice {} {
+ label {Store:}
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
Fd_Tool_Store ts = g_shell_config->list[selected-1]->storage;
@@ -1064,22 +1109,22 @@ if (v == LOAD) {
if (cmd->storage == FD_STORE_PROJECT) set_modflag(1);
}
}} 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 {} {
- label {@fd_user User Setting}
- user_data FD_STORE_USER user_data_type long
- xywh {0 0 100 20} labelsize 11
- }
- MenuItem {} {
- label {@fd_project Project File}
- user_data FD_STORE_PROJECT user_data_type long
- xywh {0 0 100 20} labelsize 11
+ 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 {} {
+ label {@fd_user User Setting}
+ user_data FD_STORE_USER user_data_type long
+ xywh {0 0 100 20} labelsize 11
+ }
+ MenuItem {} {
+ label {@fd_project Project File}
+ user_data FD_STORE_PROJECT user_data_type long
+ xywh {0 0 100 20} labelsize 11
+ }
}
- }
- Fl_Choice {} {
- label {Condition:}
- callback {int selected = w_settings_shell_list_selected;
+ Fl_Choice {} {
+ label {Condition:}
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
int cond = g_shell_config->list[selected-1]->condition;
@@ -1096,37 +1141,41 @@ if (v == LOAD) {
if (cmd->storage == FD_STORE_PROJECT) set_modflag(1);
}
}} 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 {} {
- label {all platforms}
- user_data {Fd_Shell_Command::ALWAYS} user_data_type long
- xywh {0 0 100 20} labelsize 11
- }
- MenuItem {} {
- label {MS Windows only}
- user_data {Fd_Shell_Command::WIN_ONLY} user_data_type long
- xywh {0 0 100 20} labelsize 11
- }
- MenuItem {} {
- label {Linux only}
- user_data {Fd_Shell_Command::UX_ONLY} user_data_type long
- xywh {0 0 100 20} labelsize 11
- }
- MenuItem {} {
- label {macOS only}
- user_data {Fd_Shell_Command::MAC_ONLY} user_data_type long
- xywh {0 0 100 20} labelsize 11
- }
- MenuItem {} {
- label {Linux and macOS}
- user_data {Fd_Shell_Command::MAC_AND_UX_ONLY} user_data_type long
- xywh {0 0 100 20} labelsize 11
+ 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 {} {
+ label {all platforms}
+ user_data {Fd_Shell_Command::ALWAYS} user_data_type long
+ xywh {0 0 100 20} labelsize 11
+ }
+ MenuItem {} {
+ label {MS Windows only}
+ user_data {Fd_Shell_Command::WIN_ONLY} user_data_type long
+ xywh {0 0 100 20} labelsize 11
+ }
+ MenuItem {} {
+ label {Linux only}
+ user_data {Fd_Shell_Command::UX_ONLY} user_data_type long
+ xywh {0 0 100 20} labelsize 11
+ }
+ MenuItem {} {
+ label {macOS only}
+ user_data {Fd_Shell_Command::MAC_ONLY} user_data_type long
+ xywh {0 0 100 20} labelsize 11
+ }
+ MenuItem {} {
+ 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 {} {
+ label {don't use}
+ user_data {Fd_Shell_Command::NEVER} user_data_type long
+ xywh {0 0 100 20} labelsize 11
+ }
}
- MenuItem {} {
- label {don't use}
- user_data {Fd_Shell_Command::NEVER} user_data_type long
- xywh {0 0 100 20} labelsize 11
+ Fl_Box {} {
+ xywh {230 297 10 71} hide resizable
}
}
Fl_Input {} {
@@ -1138,9 +1187,13 @@ if (v == LOAD) {
}}
xywh {230 348 90 20} labelfont 1 labelsize 11 textfont 4 textsize 11 hide
}
- Fl_Text_Editor w_settings_shell_command {
- label {Shell script:}
- callback {int selected = w_settings_shell_list_selected;
+ Fl_Group {} {
+ callback propagate_load open
+ xywh {100 373 220 80} resizable
+ } {
+ Fl_Text_Editor w_settings_shell_command {
+ label {Shell script:}
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
o->buffer()->text(g_shell_config->list[selected-1]->command.c_str());
@@ -1154,14 +1207,14 @@ if (v == LOAD) {
if (cmd->storage == FD_STORE_PROJECT) set_modflag(1);
}
}}
- xywh {100 373 196 80} labelfont 1 labelsize 11 align 4 textfont 4 textsize 12
- code0 {o->buffer(new Fl_Text_Buffer);}
- }
- Fl_Group {} {open
- xywh {296 373 24 44}
- } {
- Fl_Menu_Button w_settings_shell_text_macros {
- callback {const Fl_Menu_Item *mi = o->mvalue();
+ 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 {} {open
+ xywh {296 373 24 80}
+ } {
+ Fl_Menu_Button w_settings_shell_text_macros {
+ callback {const Fl_Menu_Item *mi = o->mvalue();
if (mi) {
char buffer[256];
fl_strlcpy(buffer, mi->label(), 255);
@@ -1179,57 +1232,57 @@ if (mi) {
}
w_settings_shell_command->do_callback(w_settings_shell_command, (void*)NULL);
}} open
- tooltip {a list of text replacements available for the shell script} xywh {296 373 24 22} labelsize 11 textsize 11
- } {
- MenuItem {} {
- label {@@BASENAME@@}
- xywh {80 80 100 20} labelfont 4 labelsize 11
- }
- MenuItem {} {
- label {@@PROJECTFILE_PATH@@}
- xywh {0 0 100 20} labelfont 4 labelsize 11
- }
- MenuItem {} {
- label {@@PROJECTFILE_NAME@@}
- xywh {10 10 100 20} labelfont 4 labelsize 11
- }
- MenuItem {} {
- label {@@CODEFILE_PATH@@}
- xywh {20 20 100 20} labelfont 4 labelsize 11
- }
- MenuItem {} {
- label {@@CODEFILE_NAME@@}
- xywh {30 30 100 20} labelfont 4 labelsize 11
+ tooltip {a list of text replacements available for the shell script} xywh {296 373 24 22} labelsize 11 textsize 11
+ } {
+ MenuItem {} {
+ label {@@BASENAME@@}
+ xywh {80 80 100 20} labelfont 4 labelsize 11
+ }
+ MenuItem {} {
+ label {@@PROJECTFILE_PATH@@}
+ xywh {0 0 100 20} labelfont 4 labelsize 11
+ }
+ MenuItem {} {
+ label {@@PROJECTFILE_NAME@@}
+ xywh {10 10 100 20} labelfont 4 labelsize 11
+ }
+ MenuItem {} {
+ label {@@CODEFILE_PATH@@}
+ xywh {20 20 100 20} labelfont 4 labelsize 11
+ }
+ MenuItem {} {
+ label {@@CODEFILE_NAME@@}
+ xywh {30 30 100 20} labelfont 4 labelsize 11
+ }
+ MenuItem {} {
+ label {@@HEADERFILE_PATH@@}
+ xywh {40 40 100 20} labelfont 4 labelsize 11
+ }
+ MenuItem {} {
+ label {@@HEADERFILE_NAME@@}
+ xywh {50 50 100 20} labelfont 4 labelsize 11
+ }
+ MenuItem {} {
+ label {@@TEXTFILE_PATH@@}
+ xywh {60 60 100 20} labelfont 4 labelsize 11
+ }
+ MenuItem {} {
+ label {@@TEXTFILE_NAME@@}
+ xywh {70 70 100 20} labelfont 4 labelsize 11
+ }
+ MenuItem {} {
+ label {@@FLTK_CONFIG@@}
+ comment {Not yet implemented}
+ xywh {70 70 100 20} labelfont 4 labelsize 11 hide
+ }
+ MenuItem {} {
+ label {@@TMPDIR@@}
+ xywh {70 70 100 20} labelfont 4 labelsize 11
+ }
}
- MenuItem {} {
- label {@@HEADERFILE_PATH@@}
- xywh {40 40 100 20} labelfont 4 labelsize 11
- }
- MenuItem {} {
- label {@@HEADERFILE_NAME@@}
- xywh {50 50 100 20} labelfont 4 labelsize 11
- }
- MenuItem {} {
- label {@@TEXTFILE_PATH@@}
- xywh {60 60 100 20} labelfont 4 labelsize 11
- }
- MenuItem {} {
- label {@@TEXTFILE_NAME@@}
- xywh {70 70 100 20} labelfont 4 labelsize 11
- }
- MenuItem {} {
- label {@@FLTK_CONFIG@@}
- comment {Not yet implemented}
- xywh {70 70 100 20} labelfont 4 labelsize 11 hide
- }
- MenuItem {} {
- label {@@TMPDIR@@}
- xywh {70 70 100 20} labelfont 4 labelsize 11
- }
- }
- Fl_Button {} {
- label {@+1fd_zoom}
- callback {if (!script_panel) make_script_panel();
+ Fl_Button {} {
+ label {@+1fd_zoom}
+ callback {if (!script_panel) make_script_panel();
script_input->buffer()->text(w_settings_shell_command->buffer()->text());
script_panel->show();
@@ -1244,7 +1297,11 @@ w_settings_shell_command->buffer()->text(script_input->buffer()->text());
w_settings_shell_command->do_callback();
BREAK2:
script_panel->hide();}
- tooltip {open the big code editor} xywh {296 395 24 22} labelsize 11
+ tooltip {open the big code editor} xywh {296 395 24 22} labelsize 11
+ }
+ Fl_Box {} {
+ xywh {296 417 24 10} hide resizable
+ }
}
}
Fl_Check_Button {} {
@@ -1328,26 +1385,34 @@ if (v == LOAD) {
}
Fl_Group w_settings_i18n_tab {
label Locale
- callback {propagate_load(o, v);}
+ 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_Choice i18n_type_chooser {
- 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
+ Fl_Group {} {
+ callback propagate_load open
+ xywh {100 78 170 20}
} {
- MenuItem {} {
- label None
- xywh {0 -11 100 20} labelsize 11
- }
- MenuItem {} {
- label {GNU gettext}
- xywh {0 -11 100 20} labelsize 11
+ Fl_Choice i18n_type_chooser {
+ 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 {} {
+ label None
+ xywh {0 -11 100 20} labelsize 11
+ }
+ MenuItem {} {
+ label {GNU gettext}
+ xywh {0 -11 100 20} labelsize 11
+ }
+ MenuItem {} {
+ label {POSIX catgets}
+ xywh {0 -11 100 20} labelsize 11
+ }
}
- MenuItem {} {
- label {POSIX catgets}
- xywh {0 -11 100 20} labelsize 11
+ Fl_Box {} {
+ xywh {260 78 10 20} hide resizable
}
}
Fl_Group i18n_gnu_group {
@@ -1436,27 +1501,45 @@ 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_Input i18n_pos_set_input {
- label {Set:}
- callback {if (v == LOAD) {
+ Fl_Group {} {
+ callback {propagate_load(o, v);} open
+ xywh {100 178 90 20}
+ } {
+ Fl_Input i18n_pos_set_input {
+ label {Set:}
+ callback {if (v == LOAD) {
o->value(g_project.i18n_pos_set.c_str());
} else {
undo_checkpoint();
g_project.i18n_pos_set = o->value();
set_modflag(1);
}}
- tooltip {The message set number.} xywh {100 178 80 20} type Int box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11
+ tooltip {The message set number.} xywh {100 178 80 20} type Int box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11
+ }
+ Fl_Box {} {
+ xywh {180 178 10 20} hide resizable
+ }
}
}
+ Fl_Box {} {
+ xywh {100 530 220 10} hide resizable
+ }
}
}
- Fl_Button {} {
- label Close
- callback {if (g_shell_config)
+ Fl_Group {} {open
+ xywh {10 550 320 20}
+ } {
+ Fl_Button {} {
+ label Close
+ callback {if (g_shell_config)
g_shell_config->write(fluid_prefs, FD_STORE_USER);
g_layout_list.write(fluid_prefs, FD_STORE_USER);
settings_window->hide();}
- tooltip {Close this dialog.} xywh {230 550 100 20} labelsize 11
+ tooltip {Close this dialog.} xywh {230 550 100 20} labelsize 11
+ }
+ Fl_Box {} {
+ xywh {220 550 10 20} hide resizable
+ }
}
}
code {w_settings_tabs->do_callback(w_settings_tabs, LOAD);} {}