summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-12-13 00:11:53 +0100
committerMatthias Melcher <github@matthiasm.com>2025-12-13 00:11:57 +0100
commit73556ca5fb09f81c47b9f93d3f3a5253a0fb1b75 (patch)
tree54341db7b6e1c5fdae55c40c5b88f9aaaa4577ab /fluid
parent771b63217eff33ddc2596525a5ad2a5f229b8663 (diff)
Fluid: Increase setting panel fonts.
Diffstat (limited to 'fluid')
-rw-r--r--fluid/panels/settings_panel.cxx844
-rw-r--r--fluid/panels/settings_panel.fl532
-rw-r--r--fluid/panels/settings_panel.h6
3 files changed, 740 insertions, 642 deletions
diff --git a/fluid/panels/settings_panel.cxx b/fluid/panels/settings_panel.cxx
index 84db80b34..e691e9e97 100644
--- a/fluid/panels/settings_panel.cxx
+++ b/fluid/panels/settings_panel.cxx
@@ -74,34 +74,32 @@ static void cb_script_panel(Fl_Double_Window*, void*) {
Fl_Text_Editor *script_input=(Fl_Text_Editor *)0;
-Fl_Return_Button *script_panel_ok=(Fl_Return_Button *)0;
-
Fl_Button *script_panel_cancel=(Fl_Button *)0;
+Fl_Return_Button *script_panel_ok=(Fl_Return_Button *)0;
+
Fl_Double_Window* make_script_panel() {
- { Fl_Double_Window* o = script_panel = new Fl_Double_Window(540, 180, "Shell Script Editor");
+ { Fl_Double_Window* o = script_panel = new Fl_Double_Window(540, 184, "Shell Script Editor");
script_panel->labelsize(11);
script_panel->callback((Fl_Callback*)cb_script_panel);
{ script_input = new Fl_Text_Editor(10, 10, 520, 130);
script_input->box(FL_DOWN_BOX);
- script_input->labelsize(11);
+ script_input->labelsize(12);
script_input->textfont(4);
- script_input->textsize(11);
+ script_input->textsize(12);
script_input->when(FL_WHEN_RELEASE | FL_WHEN_CHANGED | FL_WHEN_ENTER_KEY);
Fl_Group::current()->resizable(script_input);
script_input->buffer(new Fl_Text_Buffer);
} // Fl_Text_Editor* script_input
- { Fl_Group* o = new Fl_Group(10, 150, 520, 20);
+ { Fl_Group* o = new Fl_Group(10, 150, 520, 24);
o->labelsize(11);
o->callback((Fl_Callback*)propagate_load);
- { script_panel_ok = new Fl_Return_Button(400, 150, 60, 20, "OK");
- script_panel_ok->labelsize(11);
+ { script_panel_cancel = new Fl_Button(348, 150, 88, 24, "Cancel");
+ } // Fl_Button* script_panel_cancel
+ { script_panel_ok = new Fl_Return_Button(442, 150, 88, 24, "OK");
script_panel_ok->window()->hotspot(script_panel_ok);
} // Fl_Return_Button* script_panel_ok
- { script_panel_cancel = new Fl_Button(470, 150, 60, 20, "Cancel");
- script_panel_cancel->labelsize(11);
- } // Fl_Button* script_panel_cancel
- { Fl_Box* o = new Fl_Box(10, 150, 380, 20);
+ { Fl_Box* o = new Fl_Box(10, 150, 338, 24);
o->labelsize(11);
Fl_Group::current()->resizable(o);
} // Fl_Box* o
@@ -290,14 +288,6 @@ static void cb_recent_spinner(Fl_Spinner*, void*) {
Fluid.history.load();
}
-Fl_Check_Button *use_external_editor_button=(Fl_Check_Button *)0;
-
-static void cb_use_external_editor_button(Fl_Check_Button*, void*) {
- Fluid.use_external_editor = use_external_editor_button->value();
- Fluid.preferences.set("use_external_editor", Fluid.use_external_editor);
- redraw_browser();
-}
-
Fl_Input *editor_command_input=(Fl_Input *)0;
static void cb_editor_command_input(Fl_Input*, void*) {
@@ -307,6 +297,14 @@ static void cb_editor_command_input(Fl_Input*, void*) {
redraw_browser();
}
+Fl_Check_Button *use_external_editor_button=(Fl_Check_Button *)0;
+
+static void cb_use_external_editor_button(Fl_Check_Button*, void*) {
+ Fluid.use_external_editor = use_external_editor_button->value();
+ Fluid.preferences.set("use_external_editor", Fluid.use_external_editor);
+ redraw_browser();
+}
+
Fl_Check_Button *guides_button=(Fl_Check_Button *)0;
Fl_Check_Button *restricted_button=(Fl_Check_Button *)0;
@@ -1017,13 +1015,13 @@ static void cb_Export(Fl_Menu_*, void* v) {
}
Fl_Menu_Item menu_w_settings_shell_menu[] = {
- {"Import...", 0, (Fl_Callback*)cb_Import, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"Export selected...", 0, (Fl_Callback*)cb_Export, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"Example Scripts:", 0, 0, 0, 17, (uchar)FL_NORMAL_LABEL, 1, 10, 0},
- {"Compile with fltk-config", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"Build and run", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"Build with Xcode on macOS", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"Build with CMake", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
+ {"Import...", 0, (Fl_Callback*)cb_Import, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"Export selected...", 0, (Fl_Callback*)cb_Export, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"Example Scripts:", 0, 0, 0, 17, (uchar)FL_NORMAL_LABEL, 1, 12, 0},
+ {"Compile with fltk-config", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"Build and run", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"Build with Xcode on macOS", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"Build with CMake", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
{0,0,0,0,0,0,0,0,0}
};
@@ -1147,8 +1145,8 @@ static void cb_Store(Fl_Choice* o, void* v) {
}
Fl_Menu_Item menu_Store[] = {
- {"@fd_user User Setting", 0, 0, (void*)(fld::Tool_Store::USER), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"@fd_project Project File", 0, 0, (void*)(fld::Tool_Store::PROJECT), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
+ {"@fd_user User Setting", 0, 0, (void*)(fld::Tool_Store::USER), 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"@fd_project Project File", 0, 0, (void*)(fld::Tool_Store::PROJECT), 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
{0,0,0,0,0,0,0,0,0}
};
@@ -1173,12 +1171,12 @@ static void cb_Condition(Fl_Choice* o, void* v) {
}
Fl_Menu_Item menu_Condition[] = {
- {"all platforms", 0, 0, (void*)(Fd_Shell_Command::ALWAYS), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"Windows only", 0, 0, (void*)(Fd_Shell_Command::WIN_ONLY), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"Linux only", 0, 0, (void*)(Fd_Shell_Command::UX_ONLY), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"macOS only", 0, 0, (void*)(Fd_Shell_Command::MAC_ONLY), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"Linux and macOS", 0, 0, (void*)(Fd_Shell_Command::MAC_AND_UX_ONLY), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"don\'t use", 0, 0, (void*)(Fd_Shell_Command::NEVER), 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
+ {"all platforms", 0, 0, (void*)(Fd_Shell_Command::ALWAYS), 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"Windows only", 0, 0, (void*)(Fd_Shell_Command::WIN_ONLY), 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"Linux only", 0, 0, (void*)(Fd_Shell_Command::UX_ONLY), 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"macOS only", 0, 0, (void*)(Fd_Shell_Command::MAC_ONLY), 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"Linux and macOS", 0, 0, (void*)(Fd_Shell_Command::MAC_AND_UX_ONLY), 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"don\'t use", 0, 0, (void*)(Fd_Shell_Command::NEVER), 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
{0,0,0,0,0,0,0,0,0}
};
@@ -1233,18 +1231,18 @@ static void cb_w_settings_shell_text_macros(Fl_Menu_Button* o, void*) {
}
Fl_Menu_Item menu_w_settings_shell_text_macros[] = {
- {"@@BASENAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
- {"@@PROJECTFILE_PATH@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
- {"@@PROJECTFILE_NAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
- {"@@CODEFILE_PATH@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
- {"@@CODEFILE_NAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
- {"@@HEADERFILE_PATH@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
- {"@@HEADERFILE_NAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
- {"@@TEXTFILE_PATH@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
- {"@@TEXTFILE_NAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
+ {"@@BASENAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
+ {"@@PROJECTFILE_PATH@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
+ {"@@PROJECTFILE_NAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
+ {"@@CODEFILE_PATH@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
+ {"@@CODEFILE_NAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
+ {"@@HEADERFILE_PATH@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
+ {"@@HEADERFILE_NAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
+ {"@@TEXTFILE_PATH@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
+ {"@@TEXTFILE_NAME@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
// Not yet implemented
- {"@@FLTK_CONFIG@@", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
- {"@@TMPDIR@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 11, 0},
+ {"@@FLTK_CONFIG@@", 0, 0, 0, 16, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
+ {"@@TMPDIR@@", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 4, 12, 0},
{0,0,0,0,0,0,0,0,0}
};
@@ -2134,9 +2132,9 @@ static Fl_Image *image_language_64() {
Fl_Choice *i18n_type_chooser=(Fl_Choice *)0;
Fl_Menu_Item menu_i18n_type_chooser[] = {
- {"None", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"GNU gettext", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
- {"POSIX catgets", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 11, 0},
+ {"None", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"GNU gettext", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
+ {"POSIX catgets", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 12, 0},
{0,0,0,0,0,0,0,0,0}
};
@@ -2446,6 +2444,25 @@ static Fl_Image *image_user_circle_64() {
Fl_Choice *w_settings_user_commenttext=(Fl_Choice *)0;
+static void cb_Reset(Fl_Button* o, void* v) {
+ if (v == LOAD) return;
+ Node_Browser::label_color = 72;
+ Node_Browser::label_font = FL_HELVETICA;
+ Node_Browser::class_color = FL_FOREGROUND_COLOR;
+ Node_Browser::class_font = FL_HELVETICA_BOLD;
+ Node_Browser::func_color = FL_FOREGROUND_COLOR;
+ Node_Browser::func_font = FL_HELVETICA;
+ Node_Browser::name_color = FL_FOREGROUND_COLOR;
+ Node_Browser::name_font = FL_HELVETICA;
+ Node_Browser::code_color = FL_FOREGROUND_COLOR;
+ Node_Browser::code_font = FL_HELVETICA;
+ Node_Browser::comment_color = FL_DARK_GREEN;
+ Node_Browser::comment_font = FL_DARK_GREEN;
+ o->parent()->do_callback(o->parent(), LOAD);
+ widget_browser->redraw();
+ widget_browser->save_prefs();
+}
+
static void cb_Close(Fl_Button*, void*) {
if (g_shell_config)
g_shell_config->write(Fluid.preferences, fld::Tool_Store::USER);
@@ -2454,91 +2471,92 @@ static void cb_Close(Fl_Button*, void*) {
}
Fl_Double_Window* make_settings_window() {
- { settings_window = new Fl_Double_Window(340, 580, "FLUID Settings");
+ { settings_window = new Fl_Double_Window(360, 585, "FLUID Settings");
settings_window->align(Fl_Align(FL_ALIGN_CLIP|FL_ALIGN_INSIDE));
- { w_settings_tabs = new Fl_Tabs(10, 10, 320, 530);
+ { w_settings_tabs = new Fl_Tabs(10, 10, 340, 530);
w_settings_tabs->selection_color((Fl_Color)12);
- w_settings_tabs->labelsize(11);
+ w_settings_tabs->labelsize(12);
w_settings_tabs->labelcolor(FL_WHITE);
w_settings_tabs->callback((Fl_Callback*)cb_w_settings_tabs);
- { w_settings_general_tab = new Fl_Group(10, 60, 320, 480, "General");
+ { w_settings_general_tab = new Fl_Group(10, 60, 340, 480, "General");
w_settings_general_tab->image( image_general_64() );
w_settings_general_tab->image()->scale(36, 24, 0, 1);
- w_settings_general_tab->labelsize(11);
- { Fl_Group* o = new Fl_Group(120, 78, 130, 25);
+ w_settings_general_tab->labelsize(12);
+ { Fl_Group* o = new Fl_Group(130, 78, 210, 25);
o->callback((Fl_Callback*)cb_);
- { scheme_choice = new Fl_Scheme_Choice(120, 78, 120, 25, "Scheme: ");
+ { scheme_choice = new Fl_Scheme_Choice(130, 78, 120, 25, "Scheme: ");
scheme_choice->box(FL_UP_BOX);
scheme_choice->down_box(FL_BORDER_BOX);
scheme_choice->color(FL_BACKGROUND_COLOR);
scheme_choice->selection_color(FL_SELECTION_COLOR);
scheme_choice->labeltype(FL_NORMAL_LABEL);
scheme_choice->labelfont(1);
- scheme_choice->labelsize(11);
+ scheme_choice->labelsize(12);
scheme_choice->labelcolor(FL_FOREGROUND_COLOR);
+ scheme_choice->textsize(12);
scheme_choice->callback((Fl_Callback*)cb_scheme_choice);
scheme_choice->align(Fl_Align(FL_ALIGN_LEFT));
scheme_choice->when(FL_WHEN_RELEASE);
Fluid.init_scheme();
} // Fl_Scheme_Choice* scheme_choice
- { Fl_Box* o = new Fl_Box(240, 78, 10, 25);
+ { Fl_Box* o = new Fl_Box(250, 78, 10, 25);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
o->end();
} // Fl_Group* o
- { Fl_Box* o = new Fl_Box(120, 115, 0, 20, "Options: ");
+ { Fl_Box* o = new Fl_Box(130, 115, 0, 20, "Options: ");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_LEFT));
} // Fl_Box* o
- { tooltips_button = new Fl_Check_Button(120, 115, 200, 20, "Show Tooltips");
+ { tooltips_button = new Fl_Check_Button(130, 115, 210, 20, "Show Tooltips");
tooltips_button->down_box(FL_DOWN_BOX);
- tooltips_button->labelsize(11);
+ tooltips_button->labelsize(12);
tooltips_button->callback((Fl_Callback*)cb_tooltips_button);
int b;
Fluid.preferences.get("show_tooltips", b, 1);
tooltips_button->value(b);
Fl_Tooltip::enable(b);
} // Fl_Check_Button* tooltips_button
- { completion_button = new Fl_Check_Button(120, 135, 200, 20, "Show Completion Dialogs");
+ { completion_button = new Fl_Check_Button(130, 135, 210, 20, "Show Completion Dialogs");
completion_button->down_box(FL_DOWN_BOX);
- completion_button->labelsize(11);
+ completion_button->labelsize(12);
completion_button->callback((Fl_Callback*)cb_completion_button);
int b;
Fluid.preferences.get("show_completion_dialogs", b, 1);
completion_button->value(b);
} // Fl_Check_Button* completion_button
- { openlast_button = new Fl_Check_Button(120, 155, 200, 20, "Open Previous File on Startup");
+ { openlast_button = new Fl_Check_Button(130, 155, 210, 20, "Open Previous File on Startup");
openlast_button->down_box(FL_DOWN_BOX);
- openlast_button->labelsize(11);
+ openlast_button->labelsize(12);
openlast_button->callback((Fl_Callback*)cb_openlast_button);
int b;
Fluid.preferences.get("open_previous_file", b, 0);
openlast_button->value(b);
} // Fl_Check_Button* openlast_button
- { prevpos_button = new Fl_Check_Button(120, 175, 200, 20, "Remember Window Positions");
+ { prevpos_button = new Fl_Check_Button(130, 175, 210, 20, "Remember Window Positions");
prevpos_button->down_box(FL_DOWN_BOX);
- prevpos_button->labelsize(11);
+ prevpos_button->labelsize(12);
prevpos_button->callback((Fl_Callback*)cb_prevpos_button);
int b;
Fluid.preferences.get("prev_window_pos", b, 1);
prevpos_button->value(b);
} // Fl_Check_Button* prevpos_button
- { show_comments_button = new Fl_Check_Button(120, 195, 200, 20, "Show Comments in Browser");
+ { show_comments_button = new Fl_Check_Button(130, 195, 210, 20, "Show Comments in Browser");
show_comments_button->down_box(FL_DOWN_BOX);
- show_comments_button->labelsize(11);
+ show_comments_button->labelsize(12);
show_comments_button->callback((Fl_Callback*)cb_show_comments_button);
Fluid.preferences.get("Fluid.show_comments", Fluid.show_comments, 1);
show_comments_button->value(Fluid.show_comments);
} // Fl_Check_Button* show_comments_button
- { Fl_Group* o = new Fl_Group(120, 225, 50, 20);
+ { Fl_Group* o = new Fl_Group(130, 225, 210, 20);
o->callback((Fl_Callback*)cb_1);
- { recent_spinner = new Fl_Spinner(120, 225, 40, 20, "# Recent Files:");
+ { recent_spinner = new Fl_Spinner(130, 225, 40, 20, "# Recent Files:");
recent_spinner->labelfont(1);
- recent_spinner->labelsize(11);
+ recent_spinner->labelsize(12);
recent_spinner->maximum(10);
- recent_spinner->textsize(11);
+ recent_spinner->textsize(12);
recent_spinner->callback((Fl_Callback*)cb_recent_spinner);
recent_spinner->when(FL_WHEN_CHANGED);
int c;
@@ -2546,185 +2564,185 @@ Fl_Double_Window* make_settings_window() {
recent_spinner->maximum(10);
recent_spinner->value(c);
} // Fl_Spinner* recent_spinner
- { Fl_Box* o = new Fl_Box(160, 225, 10, 20);
+ { Fl_Box* o = new Fl_Box(170, 225, 10, 20);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
o->end();
} // Fl_Group* o
- { use_external_editor_button = new Fl_Check_Button(120, 275, 200, 20, "Use for Code Nodes");
- use_external_editor_button->down_box(FL_DOWN_BOX);
- use_external_editor_button->labelsize(11);
- use_external_editor_button->callback((Fl_Callback*)cb_use_external_editor_button);
- Fluid.preferences.get("use_external_editor", Fluid.use_external_editor, 0);
- use_external_editor_button->value(Fluid.use_external_editor);
- } // Fl_Check_Button* use_external_editor_button
- { editor_command_input = new Fl_Input(120, 255, 200, 20, "External Editor:");
+ { editor_command_input = new Fl_Input(130, 255, 210, 20, "External Editor:");
editor_command_input->tooltip("The editor command to open your external text editor.\nInclude any necessary "
"flags to ensure your editor does not background itself.\nExamples:\n gvim -"
"f\n gedit\n emacs");
editor_command_input->labelfont(1);
- editor_command_input->labelsize(11);
+ editor_command_input->labelsize(12);
editor_command_input->textfont(4);
- editor_command_input->textsize(11);
+ editor_command_input->textsize(12);
editor_command_input->callback((Fl_Callback*)cb_editor_command_input);
editor_command_input->when(FL_WHEN_CHANGED);
Fluid.preferences.get("external_editor_command", Fluid.external_editor_command, "", sizeof(Fluid.external_editor_command)-1);
editor_command_input->value(Fluid.external_editor_command);
} // Fl_Input* editor_command_input
- { Fl_Box* o = new Fl_Box(120, 300, 0, 20, "Overlays: ");
+ { use_external_editor_button = new Fl_Check_Button(130, 278, 210, 20, "Use for Code Nodes");
+ use_external_editor_button->down_box(FL_DOWN_BOX);
+ use_external_editor_button->labelsize(12);
+ use_external_editor_button->callback((Fl_Callback*)cb_use_external_editor_button);
+ Fluid.preferences.get("use_external_editor", Fluid.use_external_editor, 0);
+ use_external_editor_button->value(Fluid.use_external_editor);
+ } // Fl_Check_Button* use_external_editor_button
+ { Fl_Box* o = new Fl_Box(130, 306, 0, 20, "Overlays: ");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_LEFT));
} // Fl_Box* o
- { Fl_Check_Button* o = guides_button = new Fl_Check_Button(120, 300, 200, 20, "Show Positioning Guides");
+ { Fl_Check_Button* o = guides_button = new Fl_Check_Button(130, 306, 210, 20, "Show Positioning Guides");
guides_button->tooltip("show guides that help to position and resize widgets and enable snapping");
guides_button->down_box(FL_DOWN_BOX);
- guides_button->labelsize(11);
+ guides_button->labelsize(12);
guides_button->callback((Fl_Callback*)toggle_guides_cb);
o->value(Fluid.show_guides);
} // Fl_Check_Button* guides_button
- { Fl_Check_Button* o = restricted_button = new Fl_Check_Button(120, 320, 200, 20, "Show Restricted Areas");
+ { Fl_Check_Button* o = restricted_button = new Fl_Check_Button(130, 326, 210, 20, "Show Restricted Areas");
restricted_button->tooltip("show overlapping and out of bounds areas, show unfilled areas in Fl_Pack grou"
"ps");
restricted_button->down_box(FL_DOWN_BOX);
- restricted_button->labelsize(11);
+ restricted_button->labelsize(12);
restricted_button->callback((Fl_Callback*)toggle_restricted_cb);
o->value(Fluid.show_restricted);
} // Fl_Check_Button* restricted_button
- { Fl_Check_Button* o = ghosted_outline_button = new Fl_Check_Button(120, 340, 200, 20, "Show Ghosted Group Outlines");
+ { Fl_Check_Button* o = ghosted_outline_button = new Fl_Check_Button(130, 346, 210, 20, "Show Ghosted Group Outlines");
ghosted_outline_button->tooltip("groups with no box type or flat boxtypes without contrast will be rendered wi"
"th a dim outline in the editing window only");
ghosted_outline_button->down_box(FL_DOWN_BOX);
- ghosted_outline_button->labelsize(11);
+ ghosted_outline_button->labelsize(12);
ghosted_outline_button->callback((Fl_Callback*)toggle_ghosted_outline_cb);
o->value(Fluid.show_ghosted_outline);
} // Fl_Check_Button* ghosted_outline_button
- { Fl_Box* o = new Fl_Box(120, 530, 200, 10);
+ { Fl_Box* o = new Fl_Box(130, 530, 210, 10);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
w_settings_general_tab->end();
Fl_Group::current()->resizable(w_settings_general_tab);
} // Fl_Group* w_settings_general_tab
- { w_settings_project_tab = new Fl_Group(10, 60, 320, 480, "Project");
+ { w_settings_project_tab = new Fl_Group(10, 60, 340, 480, "Project");
w_settings_project_tab->image( image_document_64() );
w_settings_project_tab->image()->scale(36, 24, 0, 1);
- w_settings_project_tab->labelsize(11);
+ w_settings_project_tab->labelsize(12);
w_settings_project_tab->callback((Fl_Callback*)cb_w_settings_project_tab);
w_settings_project_tab->hide();
- { Fl_Group* o = new Fl_Group(100, 78, 220, 30);
- { Fl_Box* o = new Fl_Box(100, 78, 210, 30, "Use \"name.ext\" to set a file name\nor just \".ext\" to set extension.");
+ { Fl_Group* o = new Fl_Group(110, 78, 230, 30);
+ { Fl_Box* o = new Fl_Box(110, 78, 210, 30, "Use \"name.ext\" to set a file name\nor just \".ext\" to set extension.");
o->labelsize(11);
o->align(Fl_Align(132|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Box* o = new Fl_Box(310, 78, 10, 30);
+ { Fl_Box* o = new Fl_Box(320, 78, 20, 30);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
o->end();
} // Fl_Group* o
- { header_file_input = new Fl_Input(100, 112, 220, 20, "Header File:");
+ { header_file_input = new Fl_Input(110, 112, 230, 20, "Header File:");
header_file_input->tooltip("The name of the generated header file.");
header_file_input->box(FL_THIN_DOWN_BOX);
header_file_input->labelfont(1);
- header_file_input->labelsize(11);
+ header_file_input->labelsize(12);
header_file_input->textfont(4);
- header_file_input->textsize(11);
+ header_file_input->textsize(12);
header_file_input->callback((Fl_Callback*)cb_header_file_input, (void*)(1));
header_file_input->when(FL_WHEN_CHANGED);
} // Fl_Input* header_file_input
- { code_file_input = new Fl_Input(100, 137, 220, 20, "Code File:");
+ { code_file_input = new Fl_Input(110, 137, 230, 20, "Code File:");
code_file_input->tooltip("The name of the generated code file.");
code_file_input->box(FL_THIN_DOWN_BOX);
code_file_input->labelfont(1);
- code_file_input->labelsize(11);
+ code_file_input->labelsize(12);
code_file_input->textfont(4);
- code_file_input->textsize(11);
+ code_file_input->textsize(12);
code_file_input->callback((Fl_Callback*)cb_code_file_input, (void*)(1));
code_file_input->when(FL_WHEN_CHANGED);
} // Fl_Input* code_file_input
- { include_H_from_C_button = new Fl_Check_Button(100, 162, 220, 20, "Include Header from Code");
+ { include_H_from_C_button = new Fl_Check_Button(110, 160, 230, 20, "Include Header from Code");
include_H_from_C_button->tooltip("Include the header file from the code file.");
include_H_from_C_button->down_box(FL_DOWN_BOX);
- include_H_from_C_button->labelsize(11);
+ include_H_from_C_button->labelsize(12);
include_H_from_C_button->callback((Fl_Callback*)cb_include_H_from_C_button);
} // Fl_Check_Button* include_H_from_C_button
- { include_guard_input = new Fl_Input(100, 182, 220, 20, "Include Guard:");
+ { include_guard_input = new Fl_Input(110, 188, 230, 20, "Include Guard:");
include_guard_input->tooltip("Name of macro used as\nan include guard in header file:\n\n#ifdef GUARD\n#def"
"ine GUARD\n...\n#endif");
include_guard_input->box(FL_THIN_DOWN_BOX);
include_guard_input->labelfont(1);
- include_guard_input->labelsize(11);
+ include_guard_input->labelsize(12);
include_guard_input->textfont(4);
- include_guard_input->textsize(11);
+ include_guard_input->textsize(12);
include_guard_input->callback((Fl_Callback*)cb_include_guard_input, (void*)(1));
include_guard_input->when(FL_WHEN_CHANGED);
} // Fl_Input* include_guard_input
- { Fl_Box* o = new Fl_Box(100, 225, 0, 20, "Options: ");
+ { Fl_Box* o = new Fl_Box(110, 214, 0, 20, "Options: ");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_LEFT));
} // Fl_Box* o
- { use_FL_COMMAND_button = new Fl_Check_Button(100, 225, 220, 20, "Menu shortcuts use FL_COMMAND");
+ { use_FL_COMMAND_button = new Fl_Check_Button(110, 214, 230, 20, "Menu shortcuts use FL_COMMAND");
use_FL_COMMAND_button->tooltip("Replace FL_CTRL and FL_META with FL_COMMAND when generating menu shortcuts");
use_FL_COMMAND_button->down_box(FL_DOWN_BOX);
- use_FL_COMMAND_button->labelsize(11);
+ use_FL_COMMAND_button->labelsize(12);
use_FL_COMMAND_button->callback((Fl_Callback*)cb_use_FL_COMMAND_button);
} // Fl_Check_Button* use_FL_COMMAND_button
- { utf8_in_src_button = new Fl_Check_Button(100, 250, 220, 20, "allow Unicode UTF-8 in source code");
+ { utf8_in_src_button = new Fl_Check_Button(110, 234, 230, 20, "Allow Unicode UTF-8 in source code");
utf8_in_src_button->tooltip("For older compilers, characters outside of the printable ASCII range are esca"
"ped using octal notation `\\0123`. If this option is checked, Fluid will write"
" UTF-8 characters unchanged.");
utf8_in_src_button->down_box(FL_DOWN_BOX);
- utf8_in_src_button->labelsize(11);
+ utf8_in_src_button->labelsize(12);
utf8_in_src_button->callback((Fl_Callback*)cb_utf8_in_src_button);
} // Fl_Check_Button* utf8_in_src_button
- { avoid_early_includes_button = new Fl_Check_Button(100, 275, 220, 20, "avoid early include of Fl.H");
+ { avoid_early_includes_button = new Fl_Check_Button(110, 254, 230, 20, "Avoid early include of Fl.H");
avoid_early_includes_button->tooltip("Do not emit #include <FL//Fl.H> until it is needed by another include file.");
avoid_early_includes_button->down_box(FL_DOWN_BOX);
- avoid_early_includes_button->labelsize(11);
+ avoid_early_includes_button->labelsize(12);
avoid_early_includes_button->callback((Fl_Callback*)cb_avoid_early_includes_button);
} // Fl_Check_Button* avoid_early_includes_button
- { Fl_Box* o = new Fl_Box(100, 303, 0, 20, "Experimental: ");
+ { Fl_Box* o = new Fl_Box(110, 280, 0, 20, "Experimental: ");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_LEFT));
} // Fl_Box* o
- { w_proj_mergeback = new Fl_Check_Button(100, 303, 220, 20, "generate MergeBack data");
+ { w_proj_mergeback = new Fl_Check_Button(110, 280, 230, 20, "Generate MergeBack data");
w_proj_mergeback->tooltip("MergeBack is a feature under construction that allows changes in code files t"
"o be merged back into the project file. Checking this option will generate add"
"itional data in code and project files.");
w_proj_mergeback->down_box(FL_DOWN_BOX);
- w_proj_mergeback->labelsize(11);
+ w_proj_mergeback->labelsize(12);
w_proj_mergeback->callback((Fl_Callback*)cb_w_proj_mergeback);
} // Fl_Check_Button* w_proj_mergeback
- { Fl_Box* o = new Fl_Box(100, 530, 220, 10);
+ { Fl_Box* o = new Fl_Box(110, 530, 230, 10);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
w_settings_project_tab->end();
} // Fl_Group* w_settings_project_tab
- { w_settings_layout_tab = new Fl_Group(10, 60, 320, 480, "Layout");
+ { w_settings_layout_tab = new Fl_Group(10, 60, 340, 480, "Layout");
w_settings_layout_tab->image( image_layout_64() );
w_settings_layout_tab->image()->scale(36, 24, 0, 1);
- w_settings_layout_tab->labelsize(11);
+ w_settings_layout_tab->labelsize(12);
w_settings_layout_tab->callback((Fl_Callback*)cb_w_settings_layout_tab);
w_settings_layout_tab->hide();
- { Fl_Box* o = new Fl_Box(25, 78, 60, 24, "Layout:");
+ { Fl_Box* o = new Fl_Box(20, 78, 75, 24, "Layout:");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { layout_choice = new Fl_Choice(85, 78, 187, 24);
+ { layout_choice = new Fl_Choice(95, 78, 197, 24);
layout_choice->down_box(FL_BORDER_BOX);
layout_choice->callback((Fl_Callback*)cb_layout_choice);
layout_choice->menu(menu_layout_choice);
} // Fl_Choice* layout_choice
- { Fl_Button* o = new Fl_Button(272, 78, 24, 24, "+");
+ { Fl_Button* o = new Fl_Button(292, 78, 24, 24, "+");
o->callback((Fl_Callback*)cb_2);
} // Fl_Button* o
- { w_layout_menu = new Fl_Menu_Button(296, 78, 24, 24);
+ { w_layout_menu = new Fl_Menu_Button(316, 78, 24, 24);
w_layout_menu->callback((Fl_Callback*)cb_w_layout_menu);
w_layout_menu_storage[0] = &menu_w_layout_menu[1];
w_layout_menu_storage[1] = &menu_w_layout_menu[2];
@@ -2732,359 +2750,369 @@ Fl_Double_Window* make_settings_window() {
w_layout_menu_storage[3] = &menu_w_layout_menu[4];
w_layout_menu->menu(menu_w_layout_menu);
} // Fl_Menu_Button* w_layout_menu
- { Fl_Box* o = new Fl_Box(25, 107, 60, 20, "Preset:");
+ { Fl_Box* o = new Fl_Box(20, 107, 75, 20, "Preset:");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Group* o = new Fl_Group(85, 107, 235, 20);
+ { Fl_Group* o = new Fl_Group(95, 107, 245, 20);
o->labelsize(11);
o->callback((Fl_Callback*)propagate_load);
- { preset_choice[0] = new Fl_Button(85, 107, 78, 20, "Application");
+ { preset_choice[0] = new Fl_Button(95, 107, 81, 20, "Application");
preset_choice[0]->type(102);
preset_choice[0]->value(1);
preset_choice[0]->compact(1);
preset_choice[0]->selection_color(FL_DARK2);
- preset_choice[0]->labelsize(11);
+ preset_choice[0]->labelsize(12);
preset_choice[0]->callback((Fl_Callback*)edit_layout_preset_cb, (void*)(0));
} // Fl_Button* preset_choice[0]
- { preset_choice[1] = new Fl_Button(163, 107, 79, 20, "Dialog");
+ { preset_choice[1] = new Fl_Button(176, 107, 82, 20, "Dialog");
preset_choice[1]->type(102);
preset_choice[1]->compact(1);
preset_choice[1]->selection_color(FL_DARK2);
- preset_choice[1]->labelsize(11);
+ preset_choice[1]->labelsize(12);
preset_choice[1]->callback((Fl_Callback*)edit_layout_preset_cb, (void*)(1));
} // Fl_Button* preset_choice[1]
- { preset_choice[2] = new Fl_Button(242, 107, 78, 20, "Toolbox");
+ { preset_choice[2] = new Fl_Button(258, 107, 82, 20, "Toolbox");
preset_choice[2]->type(102);
preset_choice[2]->compact(1);
preset_choice[2]->selection_color(FL_DARK2);
- preset_choice[2]->labelsize(11);
+ preset_choice[2]->labelsize(12);
preset_choice[2]->callback((Fl_Callback*)edit_layout_preset_cb, (void*)(2));
} // Fl_Button* preset_choice[2]
o->end();
} // Fl_Group* o
- { Fl_Box* o = new Fl_Box(85, 132, 235, 20, "---- Window ----");
+ { Fl_Box* o = new Fl_Box(95, 132, 235, 20, "---- Window ----");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Box* o = new Fl_Box(25, 167, 60, 20, "Margins:");
- o->labelsize(11);
+ { Fl_Box* o = new Fl_Box(20, 167, 75, 20, "Margins:");
+ o->labelfont(1);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Value_Input* o = new Fl_Value_Input(85, 167, 55, 20, "Left:");
+ { Fl_Value_Input* o = new Fl_Value_Input(95, 167, 55, 20, "Left:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Left);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(145, 167, 55, 20, "Top:");
+ { Fl_Value_Input* o = new Fl_Value_Input(155, 167, 55, 20, "Top:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Top);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(205, 167, 55, 20, "Right:");
+ { Fl_Value_Input* o = new Fl_Value_Input(215, 167, 55, 20, "Right:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Right);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(265, 167, 55, 20, "Bottom:");
+ { Fl_Value_Input* o = new Fl_Value_Input(275, 167, 55, 20, "Bottom:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Bottom);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Box* o = new Fl_Box(32, 201, 53, 20, "Grid:");
- o->labelsize(11);
+ { Fl_Box* o = new Fl_Box(20, 201, 75, 20, "Grid:");
+ o->labelfont(1);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Value_Input* o = new Fl_Value_Input(85, 201, 55, 20, "Horizontal:");
+ { Fl_Value_Input* o = new Fl_Value_Input(95, 201, 55, 20, "Horizontal:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Horizontal);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(145, 201, 55, 20, "Vertical:");
+ { Fl_Value_Input* o = new Fl_Value_Input(155, 201, 55, 20, "Vertical:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Vertical);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Box* o = new Fl_Box(85, 226, 235, 20, "---- Group ----");
+ { Fl_Box* o = new Fl_Box(95, 226, 235, 20, "---- Group ----");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Box* o = new Fl_Box(25, 261, 60, 20, "Margins:");
- o->labelsize(11);
+ { Fl_Box* o = new Fl_Box(20, 261, 75, 20, "Margins:");
+ o->labelfont(1);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Value_Input* o = new Fl_Value_Input(85, 261, 55, 20, "Left:");
+ { Fl_Value_Input* o = new Fl_Value_Input(95, 261, 55, 20, "Left:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Left1);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(145, 261, 55, 20, "Top:");
+ { Fl_Value_Input* o = new Fl_Value_Input(155, 261, 55, 20, "Top:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Top1);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(205, 261, 55, 20, "Right:");
+ { Fl_Value_Input* o = new Fl_Value_Input(215, 261, 55, 20, "Right:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Right1);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(265, 261, 55, 20, "Bottom:");
+ { Fl_Value_Input* o = new Fl_Value_Input(275, 261, 55, 20, "Bottom:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Bottom1);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Box* o = new Fl_Box(32, 295, 53, 20, "Grid:");
- o->labelsize(11);
+ { Fl_Box* o = new Fl_Box(20, 295, 75, 20, "Grid:");
+ o->labelfont(1);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Value_Input* o = new Fl_Value_Input(85, 295, 55, 20, "Horizontal:");
+ { Fl_Value_Input* o = new Fl_Value_Input(95, 295, 55, 20, "Horizontal:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Horizontal1);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(145, 295, 55, 20, "Vertical:");
+ { Fl_Value_Input* o = new Fl_Value_Input(155, 295, 55, 20, "Vertical:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Vertical1);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Box* o = new Fl_Box(85, 320, 235, 20, "---- Tabs ----");
+ { Fl_Box* o = new Fl_Box(95, 320, 235, 20, "---- Tabs ----");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Box* o = new Fl_Box(25, 355, 60, 20, "Margins:");
- o->labelsize(11);
+ { Fl_Box* o = new Fl_Box(20, 355, 75, 20, "Margins:");
+ o->labelfont(1);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Value_Input* o = new Fl_Value_Input(85, 355, 55, 20, "Top:");
+ { Fl_Value_Input* o = new Fl_Value_Input(95, 355, 55, 20, "Top:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Top2);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(145, 355, 55, 20, "Bottom:");
+ { Fl_Value_Input* o = new Fl_Value_Input(155, 355, 55, 20, "Bottom:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Bottom2);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Box* o = new Fl_Box(85, 380, 235, 20, "---- Widget ----");
+ { Fl_Box* o = new Fl_Box(95, 380, 235, 20, "---- Widget ----");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Box* o = new Fl_Box(25, 415, 60, 20, "Horizontal:");
- o->labelsize(11);
+ { Fl_Box* o = new Fl_Box(20, 415, 75, 20, "Horizontal:");
+ o->labelfont(1);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Value_Input* o = new Fl_Value_Input(85, 414, 55, 20, "Minimum:");
+ { Fl_Value_Input* o = new Fl_Value_Input(95, 414, 55, 20, "Minimum:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Minimum);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(145, 414, 55, 20, "Increment:");
+ { Fl_Value_Input* o = new Fl_Value_Input(155, 414, 55, 20, "Increment:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Increment);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(205, 414, 55, 20, "Gap:");
+ { Fl_Value_Input* o = new Fl_Value_Input(215, 414, 55, 20, "Gap:");
o->labelsize(11);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Gap);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Box* o = new Fl_Box(32, 440, 53, 20, "Vertical:");
- o->labelsize(11);
+ { Fl_Box* o = new Fl_Box(20, 440, 75, 20, "Vertical:");
+ o->labelfont(1);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Value_Input* o = new Fl_Value_Input(85, 440, 55, 20);
- o->labelsize(11);
+ { Fl_Value_Input* o = new Fl_Value_Input(95, 440, 55, 20);
+ o->labelsize(12);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_3);
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(145, 440, 55, 20);
- o->labelsize(11);
+ { Fl_Value_Input* o = new Fl_Value_Input(155, 440, 55, 20);
+ o->labelsize(12);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_4);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Value_Input* o = new Fl_Value_Input(205, 440, 55, 20);
- o->labelsize(11);
+ { Fl_Value_Input* o = new Fl_Value_Input(215, 440, 55, 20);
+ o->labelsize(12);
o->maximum(32767);
o->step(1);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_5);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
} // Fl_Value_Input* o
- { Fl_Group* o = new Fl_Group(85, 465, 201, 20, "Label Font:");
- o->labelsize(11);
+ { Fl_Group* o = new Fl_Group(95, 465, 201, 20, "Label Font:");
+ o->labelfont(1);
+ o->labelsize(12);
o->callback((Fl_Callback*)propagate_load);
o->align(Fl_Align(FL_ALIGN_LEFT));
- { Fl_Choice* o = new Fl_Choice(85, 465, 150, 20);
+ { Fl_Choice* o = new Fl_Choice(95, 465, 150, 20);
o->tooltip("The style of the label text.");
o->box(FL_THIN_UP_BOX);
o->down_box(FL_BORDER_BOX);
o->labelfont(1);
- o->labelsize(11);
- o->textsize(11);
+ o->labelsize(12);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_6);
Fl_Group::current()->resizable(o);
o->menu(fontmenu_w_default);
} // Fl_Choice* o
- { Fl_Value_Input* o = new Fl_Value_Input(235, 465, 50, 20);
+ { Fl_Value_Input* o = new Fl_Value_Input(245, 465, 50, 20);
o->tooltip("The size of the label text.");
- o->labelsize(11);
+ o->labelsize(12);
o->minimum(1);
o->maximum(1000);
o->step(1);
o->value(14);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_7);
} // Fl_Value_Input* o
o->end();
} // Fl_Group* o
- { Fl_Group* o = new Fl_Group(85, 490, 200, 20, "Text Font:");
- o->labelsize(11);
+ { Fl_Group* o = new Fl_Group(95, 490, 200, 20, "Text Font:");
+ o->labelfont(1);
+ o->labelsize(12);
o->callback((Fl_Callback*)propagate_load);
o->align(Fl_Align(FL_ALIGN_LEFT));
- { Fl_Choice* o = new Fl_Choice(85, 490, 150, 20);
+ { Fl_Choice* o = new Fl_Choice(95, 490, 150, 20);
o->tooltip("The value text style.");
o->box(FL_DOWN_BOX);
o->down_box(FL_BORDER_BOX);
o->labelfont(1);
- o->labelsize(11);
- o->textsize(11);
+ o->labelsize(12);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_8);
+ Fl_Group::current()->resizable(o);
o->menu(fontmenu_w_default);
} // Fl_Choice* o
- { Fl_Value_Input* o = new Fl_Value_Input(235, 490, 50, 20);
+ { Fl_Value_Input* o = new Fl_Value_Input(245, 490, 50, 20);
o->tooltip("The value text size.");
- o->labelsize(11);
+ o->labelsize(12);
o->maximum(1000);
o->step(1);
o->value(14);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_9);
} // Fl_Value_Input* o
o->end();
} // Fl_Group* o
- { Fl_Box* o = new Fl_Box(325, 535, 5, 5);
+ { Fl_Box* o = new Fl_Box(95, 535, 245, 5);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
w_settings_layout_tab->end();
} // Fl_Group* w_settings_layout_tab
- { w_settings_shell_tab = new Fl_Group(10, 60, 320, 480, "Shell");
+ { w_settings_shell_tab = new Fl_Group(10, 60, 340, 480, "Shell");
w_settings_shell_tab->image( image_shell_64() );
w_settings_shell_tab->image()->scale(36, 24, 0, 1);
- w_settings_shell_tab->labelsize(11);
+ w_settings_shell_tab->labelsize(12);
w_settings_shell_tab->callback((Fl_Callback*)propagate_load);
w_settings_shell_tab->hide();
- { Fl_Group* o = new Fl_Group(10, 90, 320, 132);
+ { Fl_Group* o = new Fl_Group(20, 90, 320, 132);
o->callback((Fl_Callback*)propagate_load);
- { w_settings_shell_list = new Fl_Browser(100, 90, 220, 110, "Shell\ncommand\nlist:");
+ { w_settings_shell_list = new Fl_Browser(110, 90, 230, 110, "Shell\ncommand\nlist:");
w_settings_shell_list->type(3);
w_settings_shell_list->labelfont(1);
- w_settings_shell_list->labelsize(11);
- w_settings_shell_list->textsize(13);
+ w_settings_shell_list->labelsize(12);
+ w_settings_shell_list->textsize(12);
w_settings_shell_list->callback((Fl_Callback*)cb_w_settings_shell_list);
w_settings_shell_list->align(Fl_Align(FL_ALIGN_LEFT));
Fl_Group::current()->resizable(w_settings_shell_list);
} // Fl_Browser* w_settings_shell_list
- { w_settings_shell_toolbox = new Fl_Group(100, 200, 220, 22);
+ { w_settings_shell_toolbox = new Fl_Group(110, 200, 230, 22);
w_settings_shell_toolbox->callback((Fl_Callback*)cb_w_settings_shell_toolbox);
- { Fl_Button* o = new Fl_Button(100, 200, 24, 22, "+");
+ { Fl_Button* o = new Fl_Button(110, 200, 24, 22, "+");
o->tooltip("insert a new shell command into the list after the selected command");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_a);
} // Fl_Button* o
- { w_settings_shell_dup = new Fl_Button(124, 200, 24, 22, "++");
+ { w_settings_shell_dup = new Fl_Button(134, 200, 24, 22, "++");
w_settings_shell_dup->tooltip("duplicate the selected shell command and insert it into the list");
w_settings_shell_dup->labelfont(1);
- w_settings_shell_dup->labelsize(11);
+ w_settings_shell_dup->labelsize(12);
w_settings_shell_dup->callback((Fl_Callback*)cb_w_settings_shell_dup);
w_settings_shell_dup->deactivate();
} // Fl_Button* w_settings_shell_dup
- { w_settings_shell_remove = new Fl_Button(148, 200, 24, 22, "DEL");
+ { w_settings_shell_remove = new Fl_Button(158, 200, 24, 22, "DEL");
w_settings_shell_remove->tooltip("remove the selected shell command - this can not be undone");
- w_settings_shell_remove->labelsize(10);
+ w_settings_shell_remove->labelsize(12);
w_settings_shell_remove->callback((Fl_Callback*)cb_w_settings_shell_remove);
w_settings_shell_remove->deactivate();
} // Fl_Button* w_settings_shell_remove
- { w_settings_shell_menu = new Fl_Menu_Button(172, 200, 24, 22);
- w_settings_shell_menu->labelsize(11);
- w_settings_shell_menu->textsize(11);
+ { w_settings_shell_menu = new Fl_Menu_Button(182, 200, 24, 22);
+ w_settings_shell_menu->labelsize(12);
+ w_settings_shell_menu->textsize(12);
w_settings_shell_menu->menu(menu_w_settings_shell_menu);
} // Fl_Menu_Button* w_settings_shell_menu
- { Fl_Box* o = new Fl_Box(253, 200, 13, 22);
+ { Fl_Box* o = new Fl_Box(243, 200, 13, 22);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
- { Fl_Button* o = new Fl_Button(246, 200, 24, 22, "T");
+ { Fl_Button* o = new Fl_Button(256, 200, 24, 22, "T");
o->tooltip("show terminal window");
o->labelfont(5);
- o->labelsize(11);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_T);
} // Fl_Button* o
- { w_settings_shell_play = new Fl_Button(270, 200, 50, 22, "Run");
+ { w_settings_shell_play = new Fl_Button(280, 200, 60, 22, "Run");
w_settings_shell_play->tooltip("run the selected shell command");
- w_settings_shell_play->labelsize(11);
+ w_settings_shell_play->labelsize(12);
w_settings_shell_play->callback((Fl_Callback*)cb_w_settings_shell_play);
w_settings_shell_play->deactivate();
} // Fl_Button* w_settings_shell_play
@@ -3092,78 +3120,78 @@ Fl_Double_Window* make_settings_window() {
} // Fl_Group* w_settings_shell_toolbox
o->end();
} // Fl_Group* o
- { w_settings_shell_cmd = new Fl_Group(10, 235, 320, 291);
+ { w_settings_shell_cmd = new Fl_Group(20, 235, 320, 291);
w_settings_shell_cmd->callback((Fl_Callback*)cb_w_settings_shell_cmd);
- { Fl_Input* o = new Fl_Input(100, 246, 220, 20, "Name:");
+ { Fl_Input* o = new Fl_Input(110, 246, 230, 20, "Name:");
o->tooltip("file the shell command under this name in the shell command list");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->textfont(4);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Name);
o->when(FL_WHEN_RELEASE | FL_WHEN_CHANGED | FL_WHEN_ENTER_KEY);
} // Fl_Input* o
- { Fl_Input* o = new Fl_Input(100, 272, 220, 20, "Menu Label:");
+ { Fl_Input* o = new Fl_Input(110, 272, 230, 20, "Menu Label:");
o->tooltip("label text for the Shell menu in the main menu bar");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->textfont(4);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Menu);
} // Fl_Input* o
- { Fl_Group* o = new Fl_Group(100, 297, 140, 71);
+ { Fl_Group* o = new Fl_Group(110, 297, 140, 71);
o->callback((Fl_Callback*)cb_b);
- { Fl_Shortcut_Button* o = new Fl_Shortcut_Button(100, 297, 130, 20, "Shortcut");
+ { Fl_Shortcut_Button* o = new Fl_Shortcut_Button(110, 297, 130, 20, "Shortcut");
o->tooltip("an optional keyboard shortcut to run this shell command");
o->box(FL_UP_BOX);
o->color(FL_BACKGROUND_COLOR);
o->selection_color(FL_BACKGROUND_COLOR);
o->labeltype(FL_NORMAL_LABEL);
o->labelfont(0);
- o->labelsize(11);
+ o->labelsize(12);
o->labelcolor(FL_FOREGROUND_COLOR);
o->callback((Fl_Callback*)cb_Shortcut);
o->align(Fl_Align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE));
o->when(FL_WHEN_RELEASE);
} // Fl_Shortcut_Button* o
- { Fl_Choice* o = new Fl_Choice(100, 322, 130, 20, "Store:");
+ { Fl_Choice* o = new Fl_Choice(110, 322, 130, 20, "Store:");
o->tooltip("store this shell command as a user setting or save it with the .fl project fi"
"le");
o->down_box(FL_BORDER_BOX);
o->labelfont(1);
- o->labelsize(11);
- o->textsize(11);
+ o->labelsize(12);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Store);
o->menu(menu_Store);
} // Fl_Choice* o
- { Fl_Choice* o = new Fl_Choice(100, 348, 130, 20, "Condition:");
+ { Fl_Choice* o = new Fl_Choice(110, 348, 130, 20, "Condition:");
o->tooltip("add this command to the main menu bar only if this condition is true");
o->down_box(FL_BORDER_BOX);
o->labelfont(1);
- o->labelsize(11);
- o->textsize(11);
+ o->labelsize(12);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Condition);
o->menu(menu_Condition);
} // Fl_Choice* o
- { Fl_Box* o = new Fl_Box(230, 297, 10, 71);
+ { Fl_Box* o = new Fl_Box(240, 297, 10, 71);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
o->end();
} // Fl_Group* o
- { Fl_Input* o = new Fl_Input(230, 348, 90, 20, "Label:");
+ { Fl_Input* o = new Fl_Input(240, 348, 90, 20, "Label:");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->textfont(4);
- o->textsize(11);
+ o->textsize(12);
o->callback((Fl_Callback*)cb_Label);
o->hide();
} // Fl_Input* o
- { Fl_Group* o = new Fl_Group(100, 373, 220, 80);
+ { Fl_Group* o = new Fl_Group(110, 373, 230, 80);
o->callback((Fl_Callback*)propagate_load);
- { Fl_Text_Editor* o = w_settings_shell_command = new Fl_Text_Editor(100, 373, 196, 80, "Shell script:");
+ { Fl_Text_Editor* o = w_settings_shell_command = new Fl_Text_Editor(110, 373, 208, 80, "Shell script:");
w_settings_shell_command->labelfont(1);
- w_settings_shell_command->labelsize(11);
+ w_settings_shell_command->labelsize(12);
w_settings_shell_command->textfont(4);
w_settings_shell_command->textsize(12);
w_settings_shell_command->callback((Fl_Callback*)cb_w_settings_shell_command);
@@ -3171,20 +3199,20 @@ Fl_Double_Window* make_settings_window() {
Fl_Group::current()->resizable(w_settings_shell_command);
o->buffer(new Fl_Text_Buffer);
} // Fl_Text_Editor* w_settings_shell_command
- { Fl_Group* o = new Fl_Group(296, 373, 24, 80);
- { w_settings_shell_text_macros = new Fl_Menu_Button(296, 373, 24, 22);
+ { Fl_Group* o = new Fl_Group(318, 373, 22, 80);
+ { w_settings_shell_text_macros = new Fl_Menu_Button(318, 373, 22, 22);
w_settings_shell_text_macros->tooltip("a list of text replacements available for the shell script");
- w_settings_shell_text_macros->labelsize(11);
- w_settings_shell_text_macros->textsize(11);
+ w_settings_shell_text_macros->labelsize(12);
+ w_settings_shell_text_macros->textsize(12);
w_settings_shell_text_macros->callback((Fl_Callback*)cb_w_settings_shell_text_macros);
w_settings_shell_text_macros->menu(menu_w_settings_shell_text_macros);
} // Fl_Menu_Button* w_settings_shell_text_macros
- { Fl_Button* o = new Fl_Button(296, 395, 24, 22, "@+1fd_zoom");
+ { Fl_Button* o = new Fl_Button(318, 395, 22, 22, "@+1fd_zoom");
o->tooltip("open the big code editor");
- o->labelsize(11);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_1fd_zoom);
} // Fl_Button* o
- { Fl_Box* o = new Fl_Box(296, 417, 24, 10);
+ { Fl_Box* o = new Fl_Box(318, 417, 12, 10);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
@@ -3193,42 +3221,49 @@ Fl_Double_Window* make_settings_window() {
o->end();
Fl_Group::current()->resizable(o);
} // Fl_Group* o
- { Fl_Check_Button* o = new Fl_Check_Button(100, 458, 110, 20, "save .fl project file");
- o->tooltip("save the project to the .fl file before running the command");
- o->down_box(FL_DOWN_BOX);
- o->labelsize(11);
- o->callback((Fl_Callback*)cb_save);
- } // Fl_Check_Button* o
- { Fl_Check_Button* o = new Fl_Check_Button(100, 478, 110, 19, "save source code");
- o->tooltip("generate the source code and header file before running the command");
- o->down_box(FL_DOWN_BOX);
- o->labelsize(11);
- o->callback((Fl_Callback*)cb_save1);
- } // Fl_Check_Button* o
- { Fl_Check_Button* o = new Fl_Check_Button(100, 498, 110, 20, "save i18n strings");
- o->tooltip("save the internationalisation strings before running the command");
- o->down_box(FL_DOWN_BOX);
- o->labelsize(11);
- o->callback((Fl_Callback*)cb_save2);
- } // Fl_Check_Button* o
- { Fl_Check_Button* o = new Fl_Check_Button(214, 458, 106, 20, "show terminal");
- o->tooltip("show the terminal window when launching this script");
- o->down_box(FL_DOWN_BOX);
- o->labelsize(11);
- o->callback((Fl_Callback*)cb_show);
- } // Fl_Check_Button* o
- { Fl_Check_Button* o = new Fl_Check_Button(214, 478, 106, 19, "clear terminal");
- o->tooltip("clear the teminal window before running this script");
- o->down_box(FL_DOWN_BOX);
- o->labelsize(11);
- o->callback((Fl_Callback*)cb_clear);
- } // Fl_Check_Button* o
- { Fl_Check_Button* o = new Fl_Check_Button(214, 498, 106, 19, "clear term history");
- o->tooltip("clear the teminal history in the terminal window");
- o->down_box(FL_DOWN_BOX);
- o->labelsize(11);
- o->callback((Fl_Callback*)cb_clear1);
- } // Fl_Check_Button* o
+ { Fl_Group* o = new Fl_Group(110, 458, 230, 60);
+ { Fl_Check_Button* o = new Fl_Check_Button(110, 458, 110, 20, "save .fl project file");
+ o->tooltip("save the project to the .fl file before running the command");
+ o->down_box(FL_DOWN_BOX);
+ o->labelsize(12);
+ o->callback((Fl_Callback*)cb_save);
+ } // Fl_Check_Button* o
+ { Fl_Check_Button* o = new Fl_Check_Button(110, 478, 110, 19, "save source code");
+ o->tooltip("generate the source code and header file before running the command");
+ o->down_box(FL_DOWN_BOX);
+ o->labelsize(12);
+ o->callback((Fl_Callback*)cb_save1);
+ } // Fl_Check_Button* o
+ { Fl_Check_Button* o = new Fl_Check_Button(110, 498, 110, 20, "save i18n strings");
+ o->tooltip("save the internationalisation strings before running the command");
+ o->down_box(FL_DOWN_BOX);
+ o->labelsize(12);
+ o->callback((Fl_Callback*)cb_save2);
+ } // Fl_Check_Button* o
+ { Fl_Check_Button* o = new Fl_Check_Button(229, 458, 106, 20, "show terminal");
+ o->tooltip("show the terminal window when launching this script");
+ o->down_box(FL_DOWN_BOX);
+ o->labelsize(12);
+ o->callback((Fl_Callback*)cb_show);
+ } // Fl_Check_Button* o
+ { Fl_Check_Button* o = new Fl_Check_Button(229, 478, 106, 19, "clear terminal");
+ o->tooltip("clear the teminal window before running this script");
+ o->down_box(FL_DOWN_BOX);
+ o->labelsize(12);
+ o->callback((Fl_Callback*)cb_clear);
+ } // Fl_Check_Button* o
+ { Fl_Check_Button* o = new Fl_Check_Button(229, 498, 106, 19, "clear term history");
+ o->tooltip("clear the teminal history in the terminal window");
+ o->down_box(FL_DOWN_BOX);
+ o->labelsize(12);
+ o->callback((Fl_Callback*)cb_clear1);
+ } // Fl_Check_Button* o
+ { Fl_Box* o = new Fl_Box(335, 458, 5, 60);
+ o->labelsize(12);
+ Fl_Group::current()->resizable(o);
+ } // Fl_Box* o
+ o->end();
+ } // Fl_Group* o
w_settings_shell_cmd->end();
Fl_Group::current()->resizable(w_settings_shell_cmd);
} // Fl_Group* w_settings_shell_cmd
@@ -3248,108 +3283,110 @@ Fl_Double_Window* make_settings_window() {
} // Fl_Box* w_settings_shell_fd_user
w_settings_shell_tab->end();
} // Fl_Group* w_settings_shell_tab
- { w_settings_i18n_tab = new Fl_Group(10, 60, 320, 480, "Locale");
+ { w_settings_i18n_tab = new Fl_Group(10, 60, 340, 480, "Locale");
w_settings_i18n_tab->image( image_language_64() );
w_settings_i18n_tab->image()->scale(36, 24, 0, 1);
- w_settings_i18n_tab->labelsize(11);
+ w_settings_i18n_tab->labelsize(12);
w_settings_i18n_tab->callback((Fl_Callback*)cb_w_settings_i18n_tab);
w_settings_i18n_tab->hide();
- { Fl_Group* o = new Fl_Group(100, 78, 170, 20);
+ { Fl_Group* o = new Fl_Group(110, 78, 170, 20);
o->callback((Fl_Callback*)propagate_load);
- { i18n_type_chooser = new Fl_Choice(100, 78, 160, 20, "i18n Library:");
+ { i18n_type_chooser = new Fl_Choice(110, 78, 160, 20, "i18n Library:");
i18n_type_chooser->tooltip("Type of internationalization to use.");
i18n_type_chooser->box(FL_THIN_UP_BOX);
i18n_type_chooser->down_box(FL_BORDER_BOX);
- i18n_type_chooser->labelsize(11);
- i18n_type_chooser->textsize(11);
+ i18n_type_chooser->labelsize(12);
+ i18n_type_chooser->textsize(12);
i18n_type_chooser->callback((Fl_Callback*)i18n_type_cb);
i18n_type_chooser->menu(menu_i18n_type_chooser);
} // Fl_Choice* i18n_type_chooser
- { Fl_Box* o = new Fl_Box(260, 78, 10, 20);
+ { Fl_Box* o = new Fl_Box(270, 78, 10, 20);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
o->end();
} // Fl_Group* o
- { i18n_gnu_group = new Fl_Group(100, 103, 220, 95);
+ { i18n_gnu_group = new Fl_Group(110, 103, 230, 95);
+ i18n_gnu_group->labelsize(12);
i18n_gnu_group->callback((Fl_Callback*)cb_i18n_gnu_group);
- { i18n_gnu_include_input = new Fl_Input(100, 103, 220, 20, "#include:");
+ { i18n_gnu_include_input = new Fl_Input(110, 103, 230, 20, "#include:");
i18n_gnu_include_input->tooltip("The include file for internationalization.");
i18n_gnu_include_input->box(FL_THIN_DOWN_BOX);
- i18n_gnu_include_input->labelsize(11);
+ i18n_gnu_include_input->labelsize(12);
i18n_gnu_include_input->textfont(4);
- i18n_gnu_include_input->textsize(11);
+ i18n_gnu_include_input->textsize(12);
i18n_gnu_include_input->callback((Fl_Callback*)cb_i18n_gnu_include_input);
} // Fl_Input* i18n_gnu_include_input
- { i18n_gnu_conditional_input = new Fl_Input(100, 128, 220, 20, "Conditional:");
+ { i18n_gnu_conditional_input = new Fl_Input(110, 128, 230, 20, "Conditional:");
i18n_gnu_conditional_input->tooltip("only include the header file if this preprocessor macro is defined, for examp"
"le FLTK_GETTEXT_FOUND");
i18n_gnu_conditional_input->box(FL_THIN_DOWN_BOX);
- i18n_gnu_conditional_input->labelsize(11);
+ i18n_gnu_conditional_input->labelsize(12);
i18n_gnu_conditional_input->textfont(4);
- i18n_gnu_conditional_input->textsize(11);
+ i18n_gnu_conditional_input->textsize(12);
i18n_gnu_conditional_input->callback((Fl_Callback*)cb_i18n_gnu_conditional_input);
} // Fl_Input* i18n_gnu_conditional_input
- { i18n_gnu_function_input = new Fl_Input(100, 153, 220, 20, "Function:");
+ { i18n_gnu_function_input = new Fl_Input(110, 153, 230, 20, "Function:");
i18n_gnu_function_input->tooltip("The function to call to translate labels and tooltips, usually \"gettext\" or"
" \"_\"");
i18n_gnu_function_input->box(FL_THIN_DOWN_BOX);
- i18n_gnu_function_input->labelsize(11);
+ i18n_gnu_function_input->labelsize(12);
i18n_gnu_function_input->textfont(4);
- i18n_gnu_function_input->textsize(11);
+ i18n_gnu_function_input->textsize(12);
i18n_gnu_function_input->callback((Fl_Callback*)cb_i18n_gnu_function_input);
} // Fl_Input* i18n_gnu_function_input
- { i18n_gnu_static_function_input = new Fl_Input(100, 178, 220, 20, "Static Function:");
+ { i18n_gnu_static_function_input = new Fl_Input(110, 178, 230, 20, "Static Function:");
i18n_gnu_static_function_input->tooltip("function to call to translate static text, The function to call to internatio"
"nalize labels and tooltips, usually \"gettext_noop\" or \"N_\"");
i18n_gnu_static_function_input->box(FL_THIN_DOWN_BOX);
- i18n_gnu_static_function_input->labelsize(11);
+ i18n_gnu_static_function_input->labelsize(12);
i18n_gnu_static_function_input->textfont(4);
- i18n_gnu_static_function_input->textsize(11);
+ i18n_gnu_static_function_input->textsize(12);
i18n_gnu_static_function_input->callback((Fl_Callback*)cb_i18n_gnu_static_function_input);
} // Fl_Input* i18n_gnu_static_function_input
i18n_gnu_group->end();
} // Fl_Group* i18n_gnu_group
- { i18n_posix_group = new Fl_Group(100, 103, 220, 95);
+ { i18n_posix_group = new Fl_Group(110, 103, 230, 95);
+ i18n_posix_group->labelsize(12);
i18n_posix_group->callback((Fl_Callback*)cb_i18n_posix_group);
i18n_posix_group->hide();
- { i18n_pos_include_input = new Fl_Input(100, 103, 220, 20, "#include:");
+ { i18n_pos_include_input = new Fl_Input(110, 103, 230, 20, "#include:");
i18n_pos_include_input->tooltip("The include file for internationalization.");
i18n_pos_include_input->box(FL_THIN_DOWN_BOX);
- i18n_pos_include_input->labelsize(11);
+ i18n_pos_include_input->labelsize(12);
i18n_pos_include_input->textfont(4);
- i18n_pos_include_input->textsize(11);
+ i18n_pos_include_input->textsize(12);
i18n_pos_include_input->callback((Fl_Callback*)cb_i18n_pos_include_input);
} // Fl_Input* i18n_pos_include_input
- { i18n_pos_conditional_input = new Fl_Input(100, 128, 220, 20, "Conditional:");
+ { i18n_pos_conditional_input = new Fl_Input(110, 128, 230, 20, "Conditional:");
i18n_pos_conditional_input->tooltip("only include the header file if this preprocessor macro is defined, for examp"
"le FLTK_GETTEXT_FOUND");
i18n_pos_conditional_input->box(FL_THIN_DOWN_BOX);
- i18n_pos_conditional_input->labelsize(11);
+ i18n_pos_conditional_input->labelsize(12);
i18n_pos_conditional_input->textfont(4);
- i18n_pos_conditional_input->textsize(11);
+ i18n_pos_conditional_input->textsize(12);
i18n_pos_conditional_input->callback((Fl_Callback*)cb_i18n_pos_conditional_input);
} // Fl_Input* i18n_pos_conditional_input
- { i18n_pos_file_input = new Fl_Input(100, 153, 220, 20, "Catalog:");
+ { i18n_pos_file_input = new Fl_Input(110, 153, 230, 20, "Catalog:");
i18n_pos_file_input->tooltip("The name of the message catalog.");
i18n_pos_file_input->box(FL_THIN_DOWN_BOX);
- i18n_pos_file_input->labelsize(11);
+ i18n_pos_file_input->labelsize(12);
i18n_pos_file_input->textfont(4);
- i18n_pos_file_input->textsize(11);
+ i18n_pos_file_input->textsize(12);
i18n_pos_file_input->callback((Fl_Callback*)cb_i18n_pos_file_input);
} // Fl_Input* i18n_pos_file_input
- { Fl_Group* o = new Fl_Group(100, 178, 90, 20);
+ { Fl_Group* o = new Fl_Group(110, 178, 90, 20);
o->callback((Fl_Callback*)cb_c);
- { i18n_pos_set_input = new Fl_Int_Input(100, 178, 80, 20, "Set:");
+ { i18n_pos_set_input = new Fl_Int_Input(110, 178, 80, 20, "Set:");
i18n_pos_set_input->tooltip("The message set number.");
i18n_pos_set_input->type(2);
i18n_pos_set_input->box(FL_THIN_DOWN_BOX);
- i18n_pos_set_input->labelsize(11);
+ i18n_pos_set_input->labelsize(12);
i18n_pos_set_input->textfont(4);
- i18n_pos_set_input->textsize(11);
+ i18n_pos_set_input->textsize(12);
i18n_pos_set_input->callback((Fl_Callback*)cb_i18n_pos_set_input);
} // Fl_Int_Input* i18n_pos_set_input
- { Fl_Box* o = new Fl_Box(180, 178, 10, 20);
+ { Fl_Box* o = new Fl_Box(190, 178, 10, 20);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
@@ -3357,167 +3394,198 @@ Fl_Double_Window* make_settings_window() {
} // Fl_Group* o
i18n_posix_group->end();
} // Fl_Group* i18n_posix_group
- { Fl_Box* o = new Fl_Box(100, 530, 220, 10);
+ { Fl_Box* o = new Fl_Box(110, 530, 220, 10);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
w_settings_i18n_tab->end();
} // Fl_Group* w_settings_i18n_tab
- { w_settings_user_tab = new Fl_Group(10, 60, 320, 480, "User");
+ { w_settings_user_tab = new Fl_Group(10, 60, 340, 480, "User");
w_settings_user_tab->image( image_user_circle_64() );
w_settings_user_tab->image()->scale(36, 24, 0, 1);
- w_settings_user_tab->labelsize(11);
+ w_settings_user_tab->labelsize(12);
w_settings_user_tab->callback((Fl_Callback*)cb_w_settings_user_tab);
w_settings_user_tab->hide();
- { Fl_Box* o = new Fl_Box(100, 84, 220, 20, "---- Widget Browser ----");
+ { Fl_Box* o = new Fl_Box(110, 84, 220, 20, "---- Widget Browser ----");
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
} // Fl_Box* o
- { Fl_Group* o = new Fl_Group(100, 112, 220, 20);
+ { Fl_Group* o = new Fl_Group(110, 112, 230, 20, "Label:");
+ o->labelfont(1);
+ o->labelsize(12);
o->callback((Fl_Callback*)propagate_load);
- { Fl_Choice* o = new Fl_Choice(100, 112, 151, 20, "Label:");
+ o->align(Fl_Align(FL_ALIGN_LEFT));
+ { Fl_Choice* o = new Fl_Choice(110, 112, 161, 20);
o->box(FL_THIN_UP_BOX);
o->down_box(FL_BORDER_BOX);
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->textsize(11);
o->callback((Fl_Callback*)cb_Comments, (void*)(&Node_Browser::label_font));
Fl_Group::current()->resizable(o);
o->menu(fontmenu);
} // Fl_Choice* o
- { Fl_Button* o = new Fl_Button(251, 112, 51, 20);
- o->labelsize(11);
+ { Fl_Button* o = new Fl_Button(271, 112, 51, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Chip, (void*)(&Node_Browser::label_color));
} // Fl_Button* o
- { Fl_Menu_Button* o = new Fl_Menu_Button(302, 112, 18, 20);
+ { Fl_Menu_Button* o = new Fl_Menu_Button(322, 112, 18, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Choice, (void*)(&Node_Browser::label_color));
o->menu(colormenu);
} // Fl_Menu_Button* o
o->end();
} // Fl_Group* o
- { Fl_Group* o = new Fl_Group(100, 137, 220, 20);
+ { Fl_Group* o = new Fl_Group(110, 137, 230, 20, "Class:");
+ o->labelfont(1);
+ o->labelsize(12);
o->callback((Fl_Callback*)propagate_load);
- { Fl_Choice* o = new Fl_Choice(100, 137, 151, 20, "Class:");
+ o->align(Fl_Align(FL_ALIGN_LEFT));
+ { Fl_Choice* o = new Fl_Choice(110, 137, 161, 20);
o->box(FL_THIN_UP_BOX);
o->down_box(FL_BORDER_BOX);
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->textsize(11);
o->callback((Fl_Callback*)cb_Comments, (void*)(&Node_Browser::class_font));
Fl_Group::current()->resizable(o);
o->menu(fontmenu);
} // Fl_Choice* o
- { Fl_Button* o = new Fl_Button(251, 137, 51, 20);
- o->labelsize(11);
+ { Fl_Button* o = new Fl_Button(271, 137, 51, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Chip, (void*)(&Node_Browser::class_color));
} // Fl_Button* o
- { Fl_Menu_Button* o = new Fl_Menu_Button(302, 137, 18, 20);
+ { Fl_Menu_Button* o = new Fl_Menu_Button(322, 137, 18, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Choice, (void*)(&Node_Browser::class_color));
o->menu(colormenu);
} // Fl_Menu_Button* o
o->end();
} // Fl_Group* o
- { Fl_Group* o = new Fl_Group(100, 162, 220, 20);
+ { Fl_Group* o = new Fl_Group(110, 162, 230, 20, "Function:");
+ o->labelfont(1);
+ o->labelsize(12);
o->callback((Fl_Callback*)propagate_load);
- { Fl_Choice* o = new Fl_Choice(100, 162, 151, 20, "Function:");
+ o->align(Fl_Align(FL_ALIGN_LEFT));
+ { Fl_Choice* o = new Fl_Choice(110, 162, 161, 20);
o->box(FL_THIN_UP_BOX);
o->down_box(FL_BORDER_BOX);
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->textsize(11);
o->callback((Fl_Callback*)cb_Comments, (void*)(&Node_Browser::func_font));
Fl_Group::current()->resizable(o);
o->menu(fontmenu);
} // Fl_Choice* o
- { Fl_Button* o = new Fl_Button(251, 162, 51, 20);
- o->labelsize(11);
+ { Fl_Button* o = new Fl_Button(271, 162, 51, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Chip, (void*)(&Node_Browser::func_color));
} // Fl_Button* o
- { Fl_Menu_Button* o = new Fl_Menu_Button(302, 162, 18, 20);
+ { Fl_Menu_Button* o = new Fl_Menu_Button(322, 162, 18, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Choice, (void*)(&Node_Browser::func_color));
o->menu(colormenu);
} // Fl_Menu_Button* o
o->end();
} // Fl_Group* o
- { Fl_Group* o = new Fl_Group(100, 187, 220, 20);
+ { Fl_Group* o = new Fl_Group(110, 187, 230, 20, "Name:");
+ o->labelfont(1);
+ o->labelsize(12);
o->callback((Fl_Callback*)propagate_load);
- { Fl_Choice* o = new Fl_Choice(100, 187, 151, 20, "Name:");
+ o->align(Fl_Align(FL_ALIGN_LEFT));
+ { Fl_Choice* o = new Fl_Choice(110, 187, 161, 20);
o->box(FL_THIN_UP_BOX);
o->down_box(FL_BORDER_BOX);
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->textsize(11);
o->callback((Fl_Callback*)cb_Comments, (void*)(&Node_Browser::name_font));
Fl_Group::current()->resizable(o);
o->menu(fontmenu);
} // Fl_Choice* o
- { Fl_Button* o = new Fl_Button(251, 187, 51, 20);
- o->labelsize(11);
+ { Fl_Button* o = new Fl_Button(271, 187, 51, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Chip, (void*)(&Node_Browser::name_color));
} // Fl_Button* o
- { Fl_Menu_Button* o = new Fl_Menu_Button(302, 187, 18, 20);
+ { Fl_Menu_Button* o = new Fl_Menu_Button(322, 187, 18, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Choice, (void*)(&Node_Browser::name_color));
o->menu(colormenu);
} // Fl_Menu_Button* o
o->end();
} // Fl_Group* o
- { Fl_Group* o = new Fl_Group(100, 212, 220, 20);
+ { Fl_Group* o = new Fl_Group(110, 212, 230, 20, "Code:");
+ o->labelfont(1);
+ o->labelsize(12);
o->callback((Fl_Callback*)propagate_load);
- { Fl_Choice* o = new Fl_Choice(100, 212, 151, 20, "Code:");
+ o->align(Fl_Align(FL_ALIGN_LEFT));
+ { Fl_Choice* o = new Fl_Choice(110, 212, 161, 20);
o->box(FL_THIN_UP_BOX);
o->down_box(FL_BORDER_BOX);
o->labelfont(1);
- o->labelsize(11);
+ o->labelsize(12);
o->textsize(11);
o->callback((Fl_Callback*)cb_Comments, (void*)(&Node_Browser::code_font));
Fl_Group::current()->resizable(o);
o->menu(fontmenu);
} // Fl_Choice* o
- { Fl_Button* o = new Fl_Button(251, 212, 51, 20);
- o->labelsize(11);
+ { Fl_Button* o = new Fl_Button(271, 212, 51, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Chip, (void*)(&Node_Browser::code_color));
} // Fl_Button* o
- { Fl_Menu_Button* o = new Fl_Menu_Button(302, 212, 18, 20);
+ { Fl_Menu_Button* o = new Fl_Menu_Button(322, 212, 18, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Choice, (void*)(&Node_Browser::code_color));
o->menu(colormenu);
} // Fl_Menu_Button* o
o->end();
} // Fl_Group* o
- { Fl_Group* o = new Fl_Group(100, 237, 220, 20);
+ { Fl_Group* o = new Fl_Group(110, 237, 230, 20, "Comments:");
+ o->labelfont(1);
+ o->labelsize(12);
o->callback((Fl_Callback*)propagate_load);
- { Fl_Choice* o = w_settings_user_commenttext = new Fl_Choice(100, 237, 151, 20, "Comments:");
+ o->align(Fl_Align(FL_ALIGN_LEFT));
+ { Fl_Choice* o = w_settings_user_commenttext = new Fl_Choice(110, 237, 161, 20);
w_settings_user_commenttext->box(FL_THIN_UP_BOX);
w_settings_user_commenttext->down_box(FL_BORDER_BOX);
w_settings_user_commenttext->labelfont(1);
- w_settings_user_commenttext->labelsize(11);
+ w_settings_user_commenttext->labelsize(12);
w_settings_user_commenttext->textsize(11);
w_settings_user_commenttext->callback((Fl_Callback*)cb_Comments, (void*)(&Node_Browser::comment_font));
Fl_Group::current()->resizable(w_settings_user_commenttext);
o->menu(fontmenu);
} // Fl_Choice* w_settings_user_commenttext
- { Fl_Button* o = new Fl_Button(251, 237, 51, 20);
- o->labelsize(11);
+ { Fl_Button* o = new Fl_Button(271, 237, 51, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Chip, (void*)(&Node_Browser::comment_color));
} // Fl_Button* o
- { Fl_Menu_Button* o = new Fl_Menu_Button(302, 237, 18, 20);
+ { Fl_Menu_Button* o = new Fl_Menu_Button(322, 237, 18, 20);
+ o->labelsize(12);
o->callback((Fl_Callback*)cb_Color_Choice, (void*)(&Node_Browser::comment_color));
o->menu(colormenu);
} // Fl_Menu_Button* o
o->end();
} // Fl_Group* o
+ { Fl_Box* o = new Fl_Box(110, 530, 230, 10);
+ o->hide();
+ Fl_Group::current()->resizable(o);
+ } // Fl_Box* o
+ { Fl_Button* o = new Fl_Button(251, 269, 77, 22, "Reset");
+ o->labelsize(12);
+ o->callback((Fl_Callback*)cb_Reset);
+ } // Fl_Button* o
w_settings_user_tab->end();
} // Fl_Group* w_settings_user_tab
w_settings_tabs->end();
Fl_Group::current()->resizable(w_settings_tabs);
} // Fl_Tabs* w_settings_tabs
- { Fl_Group* o = new Fl_Group(10, 550, 320, 20);
- { Fl_Button* o = new Fl_Button(230, 550, 100, 20, "Close");
+ { Fl_Group* o = new Fl_Group(10, 550, 340, 25);
+ { Fl_Button* o = new Fl_Button(230, 550, 120, 25, "Close");
o->tooltip("Close this dialog.");
- o->labelsize(11);
o->callback((Fl_Callback*)cb_Close);
} // Fl_Button* o
- { Fl_Box* o = new Fl_Box(220, 550, 10, 20);
+ { Fl_Box* o = new Fl_Box(220, 550, 10, 25);
o->hide();
Fl_Group::current()->resizable(o);
} // Fl_Box* o
diff --git a/fluid/panels/settings_panel.fl b/fluid/panels/settings_panel.fl
index 8684d7f83..483bb650e 100644
--- a/fluid/panels/settings_panel.fl
+++ b/fluid/panels/settings_panel.fl
@@ -5,30 +5,30 @@ code_name {.cxx}
include_guard {}
snap {
ver 1
- current_suite FLTK
- current_preset 0
+ current_suite {FLUID (based on FLTK)}
+ current_preset 1
suite {
name {FLUID (based on FLTK)}
preset { 1
15 15 15 15 0 0
10 10 10 10 0 0
25 25
- 20 10 4 20 4 8
+ 24 12 6 24 6 10
0 14 0 14
}
preset { 1
10 10 10 10 0 0
10 10 10 10 0 0
20 20
- 20 10 5 20 5 5
- 0 11 0 11
+ 22 11 6 22 6 6
+ 0 12 0 12
}
preset { 1
10 10 10 10 0 0
10 10 10 10 0 0
18 18
- 16 8 2 16 4 2
- 0 10 0 10
+ 18 9 2 18 5 2
+ 0 11 0 11
}
}
}
@@ -159,27 +159,27 @@ Function {make_script_panel()} {open
callback {if (Fl::event()==FL_SHORTCUT && Fl::event_key()==FL_Escape)
return; // ignore Escape
script_panel->hide(); // otherwise hide..} open
- xywh {764 319 540 180} type Double labelsize 11 resizable
+ xywh {869 311 540 184} type Double labelsize 11 resizable
code0 {o->size_range(200, 150);} modal visible
} {
Fl_Text_Editor script_input {
- xywh {10 10 520 130} box DOWN_BOX labelsize 11 when 13 textfont 4 textsize 11 resizable
+ xywh {10 10 520 130} box DOWN_BOX labelsize 12 when 13 textfont 4 textsize 12 resizable
code0 {script_input->buffer(new Fl_Text_Buffer);}
}
Fl_Group {} {
callback propagate_load open
- xywh {10 150 520 20} labelsize 11
+ xywh {10 150 520 24} labelsize 11
} {
+ Fl_Button script_panel_cancel {
+ label Cancel selected
+ xywh {348 150 88 24}
+ }
Fl_Return_Button script_panel_ok {
label OK
- xywh {400 150 60 20} labelsize 11 hotspot
- }
- Fl_Button script_panel_cancel {
- label Cancel
- xywh {470 150 60 20} labelsize 11
+ xywh {442 150 88 24} hotspot
}
Fl_Box {} {
- xywh {10 150 380 20} labelsize 11 resizable
+ xywh {10 150 338 24} labelsize 11 resizable
}
}
}
@@ -192,40 +192,40 @@ Function {make_settings_window()} {open
} {
Fl_Window settings_window {
label {FLUID Settings} open
- xywh {504 366 340 580} type Double align 80 resizable size_range {340 580 0 0} visible
+ xywh {504 366 360 585} 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 resizable
+ xywh {10 10 340 530} selection_color 12 labelsize 12 labelcolor 255 resizable
} {
Fl_Group w_settings_general_tab {
- label General open selected
- scale_image {36 24} image {../icons/general_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 resizable
+ label General open
+ scale_image {36 24} image {../icons/general_64.png} compress_image 1 xywh {10 60 340 480} labelsize 12 resizable
} {
Fl_Group {} {
callback {propagate_load(o, v);} open
- xywh {120 78 130 25}
+ xywh {130 78 210 25}
} {
Fl_Choice scheme_choice {
label {Scheme: }
callback {Fluid.set_scheme(o->text(o->value()));} open
- xywh {120 78 120 25} down_box BORDER_BOX labelfont 1 labelsize 11
+ xywh {130 78 120 25} down_box BORDER_BOX labelfont 1 labelsize 12 textsize 12
code0 {Fluid.init_scheme();}
class Fl_Scheme_Choice
} {}
Fl_Box {} {
- xywh {240 78 10 25} hide resizable
+ xywh {250 78 10 25} hide resizable
}
}
Fl_Box {} {
label {Options: }
- xywh {120 115 0 20} labelfont 1 labelsize 11 align 4
+ xywh {130 115 0 20} labelfont 1 labelsize 12 align 4
}
Fl_Check_Button tooltips_button {
label {Show Tooltips}
callback {Fl_Tooltip::enable(tooltips_button->value());
Fluid.preferences.set("show_tooltips", tooltips_button->value());}
- xywh {120 115 200 20} down_box DOWN_BOX labelsize 11
+ xywh {130 115 210 20} down_box DOWN_BOX labelsize 12
code0 {int b;}
code1 {Fluid.preferences.get("show_tooltips", b, 1);}
code2 {tooltips_button->value(b);}
@@ -234,7 +234,7 @@ Fluid.preferences.set("show_tooltips", tooltips_button->value());}
Fl_Check_Button completion_button {
label {Show Completion Dialogs}
callback {Fluid.preferences.set("show_completion_dialogs", completion_button->value());}
- xywh {120 135 200 20} down_box DOWN_BOX labelsize 11
+ xywh {130 135 210 20} down_box DOWN_BOX labelsize 12
code0 {int b;}
code1 {Fluid.preferences.get("show_completion_dialogs", b, 1);}
code2 {completion_button->value(b);}
@@ -242,7 +242,7 @@ Fluid.preferences.set("show_tooltips", tooltips_button->value());}
Fl_Check_Button openlast_button {
label {Open Previous File on Startup}
callback {Fluid.preferences.set("open_previous_file", openlast_button->value());}
- xywh {120 155 200 20} down_box DOWN_BOX labelsize 11
+ xywh {130 155 210 20} down_box DOWN_BOX labelsize 12
code0 {int b;}
code1 {Fluid.preferences.get("open_previous_file", b, 0);}
code2 {openlast_button->value(b);}
@@ -250,7 +250,7 @@ Fluid.preferences.set("show_tooltips", tooltips_button->value());}
Fl_Check_Button prevpos_button {
label {Remember Window Positions}
callback {Fluid.preferences.set("prev_window_pos", prevpos_button->value());}
- xywh {120 175 200 20} down_box DOWN_BOX labelsize 11
+ xywh {130 175 210 20} down_box DOWN_BOX labelsize 12
code0 {int b;}
code1 {Fluid.preferences.get("prev_window_pos", b, 1);}
code2 {prevpos_button->value(b);}
@@ -260,37 +260,28 @@ Fluid.preferences.set("show_tooltips", tooltips_button->value());}
callback {Fluid.show_comments = show_comments_button->value();
Fluid.preferences.set("Fluid.show_comments", Fluid.show_comments);
redraw_browser();}
- xywh {120 195 200 20} down_box DOWN_BOX labelsize 11
+ xywh {130 195 210 20} down_box DOWN_BOX labelsize 12
code1 {Fluid.preferences.get("Fluid.show_comments", Fluid.show_comments, 1);}
code2 {show_comments_button->value(Fluid.show_comments);}
}
Fl_Group {} {
callback {propagate_load(o, v);} open
- xywh {120 225 50 20}
+ xywh {130 225 210 20}
} {
Fl_Spinner recent_spinner {
label {\# Recent Files:}
callback {Fluid.preferences.set("recent_files", recent_spinner->value());
Fluid.history.load();}
- xywh {120 225 40 20} labelfont 1 labelsize 11 when 1 maximum 10 textsize 11
+ xywh {130 225 40 20} labelfont 1 labelsize 12 when 1 maximum 10 textsize 12
code0 {int c;}
code1 {Fluid.preferences.get("recent_files", c, 5);}
code2 {recent_spinner->maximum(10);}
code3 {recent_spinner->value(c);}
}
Fl_Box {} {
- xywh {160 225 10 20} hide resizable
+ xywh {170 225 10 20} hide resizable
}
}
- Fl_Check_Button use_external_editor_button {
- label {Use for Code Nodes}
- callback {Fluid.use_external_editor = use_external_editor_button->value();
-Fluid.preferences.set("use_external_editor", Fluid.use_external_editor);
-redraw_browser();}
- xywh {120 275 200 20} down_box DOWN_BOX labelsize 11
- code1 {Fluid.preferences.get("use_external_editor", Fluid.use_external_editor, 0);}
- code2 {use_external_editor_button->value(Fluid.use_external_editor);}
- }
Fl_Input editor_command_input {
label {External Editor:}
callback {strncpy(Fluid.external_editor_command, editor_command_input->value(), sizeof(Fluid.external_editor_command)-1);
@@ -302,51 +293,60 @@ Include any necessary flags to ensure your editor does not background itself.
Examples:
gvim -f
gedit
- emacs} xywh {120 255 200 20} labelfont 1 labelsize 11 when 1 textfont 4 textsize 11
+ emacs} xywh {130 255 210 20} labelfont 1 labelsize 12 when 1 textfont 4 textsize 12
code1 {Fluid.preferences.get("external_editor_command", Fluid.external_editor_command, "", sizeof(Fluid.external_editor_command)-1);}
code2 {editor_command_input->value(Fluid.external_editor_command);}
}
+ Fl_Check_Button use_external_editor_button {
+ label {Use for Code Nodes}
+ callback {Fluid.use_external_editor = use_external_editor_button->value();
+Fluid.preferences.set("use_external_editor", Fluid.use_external_editor);
+redraw_browser();}
+ xywh {130 278 210 20} down_box DOWN_BOX labelsize 12
+ code1 {Fluid.preferences.get("use_external_editor", Fluid.use_external_editor, 0);}
+ code2 {use_external_editor_button->value(Fluid.use_external_editor);}
+ }
Fl_Box {} {
label {Overlays: }
- xywh {120 300 0 20} labelfont 1 labelsize 11 align 4
+ xywh {130 306 0 20} labelfont 1 labelsize 12 align 4
}
Fl_Check_Button guides_button {
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
+ tooltip {show guides that help to position and resize widgets and enable snapping} xywh {130 306 210 20} down_box DOWN_BOX labelsize 12
code0 {o->value(Fluid.show_guides);}
}
Fl_Check_Button restricted_button {
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
+ tooltip {show overlapping and out of bounds areas, show unfilled areas in Fl_Pack groups} xywh {130 326 210 20} down_box DOWN_BOX labelsize 12
code0 {o->value(Fluid.show_restricted);}
}
Fl_Check_Button ghosted_outline_button {
label {Show Ghosted Group Outlines}
callback toggle_ghosted_outline_cb
- tooltip {groups with no box type or flat boxtypes without contrast will be rendered with a dim outline in the editing window only} xywh {120 340 200 20} down_box DOWN_BOX labelsize 11
+ tooltip {groups with no box type or flat boxtypes without contrast will be rendered with a dim outline in the editing window only} xywh {130 346 210 20} down_box DOWN_BOX labelsize 12
code0 {o->value(Fluid.show_ghosted_outline);}
}
Fl_Box {} {
- xywh {120 530 200 10} hide resizable
+ xywh {130 530 210 10} hide resizable
}
}
Fl_Group w_settings_project_tab {
label Project
callback {propagate_load(o, v);} open
- scale_image {36 24} image {../icons/document_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide
+ scale_image {36 24} image {../icons/document_64.png} compress_image 1 xywh {10 60 340 480} labelsize 12 hide
} {
Fl_Group {} {open
- xywh {100 78 220 30}
+ xywh {110 78 230 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
+ xywh {110 78 210 30} labelsize 11 align 148
}
Fl_Box {} {
- xywh {310 78 10 30} hide resizable
+ xywh {320 78 20 30} hide resizable
}
}
Fl_Input header_file_input {
@@ -360,7 +360,7 @@ or just ".ext" to set extension.}
Fluid.proj.set_modflag(1);
}
}}
- 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
+ tooltip {The name of the generated header file.} xywh {110 112 230 20} box THIN_DOWN_BOX labelfont 1 labelsize 12 when 1 textfont 4 textsize 12
}
Fl_Input code_file_input {
label {Code File:}
@@ -373,7 +373,7 @@ or just ".ext" to set extension.}
Fluid.proj.set_modflag(1);
}
}}
- 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
+ tooltip {The name of the generated code file.} xywh {110 137 230 20} box THIN_DOWN_BOX labelfont 1 labelsize 12 when 1 textfont 4 textsize 12
}
Fl_Check_Button include_H_from_C_button {
label {Include Header from Code}
@@ -385,7 +385,7 @@ or just ".ext" to set extension.}
Fluid.proj.include_H_from_C = o->value();
}
}}
- tooltip {Include the header file from the code file.} xywh {100 162 220 20} down_box DOWN_BOX labelsize 11
+ tooltip {Include the header file from the code file.} xywh {110 160 230 20} down_box DOWN_BOX labelsize 12
}
Fl_Input include_guard_input {
label {Include Guard:}
@@ -404,11 +404,11 @@ an include guard in header file:
\#ifdef GUARD
\#define GUARD
...
-\#endif} xywh {100 182 220 20} box THIN_DOWN_BOX labelfont 1 labelsize 11 when 1 textfont 4 textsize 11
+\#endif} xywh {110 188 230 20} box THIN_DOWN_BOX labelfont 1 labelsize 12 when 1 textfont 4 textsize 12
}
Fl_Box {} {
label {Options: }
- xywh {100 225 0 20} labelfont 1 labelsize 11 align 4
+ xywh {110 214 0 20} labelfont 1 labelsize 12 align 4
}
Fl_Check_Button use_FL_COMMAND_button {
label {Menu shortcuts use FL_COMMAND}
@@ -420,10 +420,10 @@ an include guard in header file:
Fluid.proj.use_FL_COMMAND = o->value();
}
}}
- tooltip {Replace FL_CTRL and FL_META with FL_COMMAND when generating menu shortcuts} xywh {100 225 220 20} down_box DOWN_BOX labelsize 11
+ tooltip {Replace FL_CTRL and FL_META with FL_COMMAND when generating menu shortcuts} xywh {110 214 230 20} down_box DOWN_BOX labelsize 12
}
Fl_Check_Button utf8_in_src_button {
- label {allow Unicode UTF-8 in source code}
+ label {Allow Unicode UTF-8 in source code}
callback {if (v == LOAD) {
o->value(Fluid.proj.utf8_in_src);
} else {
@@ -432,10 +432,10 @@ an include guard in header file:
Fluid.proj.utf8_in_src = o->value();
}
}}
- 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 250 220 20} down_box DOWN_BOX labelsize 11
+ 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 {110 234 230 20} down_box DOWN_BOX labelsize 12
}
Fl_Check_Button avoid_early_includes_button {
- label {avoid early include of Fl.H}
+ label {Avoid early include of Fl.H}
callback {if (v == LOAD) {
o->value(Fluid.proj.avoid_early_includes);
} else {
@@ -444,14 +444,14 @@ an include guard in header file:
Fluid.proj.avoid_early_includes = o->value();
}
}}
- tooltip {Do not emit \#include <FL//Fl.H> until it is needed by another include file.} xywh {100 275 220 20} down_box DOWN_BOX labelsize 11
+ tooltip {Do not emit \#include <FL//Fl.H> until it is needed by another include file.} xywh {110 254 230 20} down_box DOWN_BOX labelsize 12
}
Fl_Box {} {
label {Experimental: }
- xywh {100 303 0 20} labelfont 1 labelsize 11 align 4
+ xywh {110 280 0 20} labelfont 1 labelsize 12 align 4
}
Fl_Check_Button w_proj_mergeback {
- label {generate MergeBack data}
+ label {Generate MergeBack data}
callback {if (v == LOAD) {
o->value(Fluid.proj.write_mergeback_data);
} else {
@@ -460,20 +460,20 @@ an include guard in header file:
Fluid.proj.write_mergeback_data = o->value();
}
}}
- 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 303 220 20} down_box DOWN_BOX labelsize 11
+ 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 {110 280 230 20} down_box DOWN_BOX labelsize 12
}
Fl_Box {} {
- xywh {100 530 220 10} hide resizable
+ xywh {110 530 230 10} hide resizable
}
}
Fl_Group w_settings_layout_tab {
label Layout
callback {propagate_load(o, v);} open
- scale_image {36 24} image {../icons/layout_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide
+ scale_image {36 24} image {../icons/layout_64.png} compress_image 1 xywh {10 60 340 480} labelsize 12 hide
} {
Fl_Box {} {
label {Layout:}
- xywh {25 78 60 24} labelfont 1 labelsize 11 align 24
+ xywh {20 78 75 24} labelfont 1 labelsize 12 align 24
}
Fl_Choice layout_choice {
callback {if (v == LOAD) {
@@ -482,8 +482,8 @@ an include guard in header file:
int index = o->value();
Fluid.layout_list.current_suite(index);
Fluid.layout_list.update_dialogs();
- }}
- xywh {85 78 187 24} down_box BORDER_BOX
+ }} open
+ xywh {95 78 197 24} down_box BORDER_BOX
} {
MenuItem {} {
label FLTK
@@ -508,7 +508,7 @@ if (new_name == nullptr)
Fluid.layout_list.add(new_name);
Fluid.layout_list.update_dialogs();}
- xywh {272 78 24 24}
+ xywh {292 78 24 24}
}
Fl_Menu_Button w_layout_menu {
callback {if (v == LOAD) {
@@ -524,7 +524,7 @@ Fluid.layout_list.update_dialogs();}
}
w_layout_menu_storage[static_cast<int>(suite.storage_)]->setonly(menu_w_layout_menu);
}} open
- xywh {296 78 24 24}
+ xywh {316 78 24 24}
} {
MenuItem w_layout_menu_rename {
label {Rename...}
@@ -613,38 +613,38 @@ Fluid.layout_list.update_dialogs();}
}
Fl_Box {} {
label {Preset:}
- xywh {25 107 60 20} labelfont 1 labelsize 11 align 24
+ xywh {20 107 75 20} labelfont 1 labelsize 12 align 24
}
Fl_Group {} {
callback propagate_load open
- xywh {85 107 235 20} labelsize 11
+ xywh {95 107 245 20} labelsize 11
} {
Fl_Button {preset_choice[0]} {
label Application
user_data 0
callback edit_layout_preset_cb
- xywh {85 107 78 20} type Radio value 1 selection_color 45 labelsize 11 compact 1
+ xywh {95 107 81 20} type Radio value 1 selection_color 45 labelsize 12 compact 1
}
Fl_Button {preset_choice[1]} {
label Dialog
user_data 1
callback edit_layout_preset_cb
- xywh {163 107 79 20} type Radio selection_color 45 labelsize 11 compact 1
+ xywh {176 107 82 20} type Radio selection_color 45 labelsize 12 compact 1
}
Fl_Button {preset_choice[2]} {
label Toolbox
user_data 2
callback edit_layout_preset_cb
- xywh {242 107 78 20} type Radio selection_color 45 labelsize 11 compact 1
+ xywh {258 107 82 20} type Radio selection_color 45 labelsize 12 compact 1
}
}
Fl_Box {} {
label {---- Window ----}
- xywh {85 132 235 20} labelfont 1 labelsize 11 align 20
+ xywh {95 132 235 20} labelfont 1 labelsize 12 align 20
}
Fl_Box {} {
label {Margins:}
- xywh {25 167 60 20} labelsize 11 align 24
+ xywh {20 167 75 20} labelfont 1 labelsize 12 align 24
}
Fl_Value_Input {} {
label {Left:}
@@ -653,7 +653,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->left_window_margin = (int)o->value();
}}
- xywh {85 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {95 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Top:}
@@ -662,7 +662,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->top_window_margin = (int)o->value();
}}
- xywh {145 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {155 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Right:}
@@ -671,7 +671,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->right_window_margin = (int)o->value();
}}
- xywh {205 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {215 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Bottom:}
@@ -680,11 +680,11 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->bottom_window_margin = (int)o->value();
}}
- xywh {265 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {275 167 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Box {} {
label {Grid:}
- xywh {32 201 53 20} labelsize 11 align 24
+ xywh {20 201 75 20} labelfont 1 labelsize 12 align 24
}
Fl_Value_Input {} {
label {Horizontal:}
@@ -693,7 +693,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->window_grid_x = (int)o->value();
}}
- xywh {85 201 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {95 201 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Vertical:}
@@ -702,15 +702,15 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->window_grid_y = (int)o->value();
}}
- xywh {145 201 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {155 201 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Box {} {
label {---- Group ----}
- xywh {85 226 235 20} labelfont 1 labelsize 11 align 20
+ xywh {95 226 235 20} labelfont 1 labelsize 12 align 20
}
Fl_Box {} {
label {Margins:}
- xywh {25 261 60 20} labelsize 11 align 24
+ xywh {20 261 75 20} labelfont 1 labelsize 12 align 24
}
Fl_Value_Input {} {
label {Left:}
@@ -719,7 +719,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->left_group_margin = (int)o->value();
}}
- xywh {85 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {95 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Top:}
@@ -728,7 +728,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->top_group_margin = (int)o->value();
}}
- xywh {145 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {155 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Right:}
@@ -737,7 +737,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->right_group_margin = (int)o->value();
}}
- xywh {205 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {215 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Bottom:}
@@ -746,11 +746,11 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->bottom_group_margin = (int)o->value();
}}
- xywh {265 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {275 261 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Box {} {
label {Grid:}
- xywh {32 295 53 20} labelsize 11 align 24
+ xywh {20 295 75 20} labelfont 1 labelsize 12 align 24
}
Fl_Value_Input {} {
label {Horizontal:}
@@ -759,7 +759,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->group_grid_x = (int)o->value();
}}
- xywh {85 295 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {95 295 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Vertical:}
@@ -768,15 +768,15 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->group_grid_y = (int)o->value();
}}
- xywh {145 295 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {155 295 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Box {} {
label {---- Tabs ----}
- xywh {85 320 235 20} labelfont 1 labelsize 11 align 20
+ xywh {95 320 235 20} labelfont 1 labelsize 12 align 20
}
Fl_Box {} {
label {Margins:}
- xywh {25 355 60 20} labelsize 11 align 24
+ xywh {20 355 75 20} labelfont 1 labelsize 12 align 24
}
Fl_Value_Input {} {
label {Top:}
@@ -785,7 +785,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->top_tabs_margin = (int)o->value();
}}
- xywh {85 355 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {95 355 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Bottom:}
@@ -794,15 +794,15 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->bottom_tabs_margin = (int)o->value();
}}
- xywh {145 355 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {155 355 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Box {} {
label {---- Widget ----}
- xywh {85 380 235 20} labelfont 1 labelsize 11 align 20
+ xywh {95 380 235 20} labelfont 1 labelsize 12 align 20
}
Fl_Box {} {
label {Horizontal:}
- xywh {25 415 60 20} labelsize 11 align 24
+ xywh {20 415 75 20} labelfont 1 labelsize 12 align 24
}
Fl_Value_Input {} {
label {Minimum:}
@@ -811,7 +811,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->widget_min_w = (int)o->value();
}}
- xywh {85 414 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {95 414 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Increment:}
@@ -820,7 +820,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->widget_inc_w = (int)o->value();
}}
- xywh {145 414 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {155 414 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
label {Gap:}
@@ -829,11 +829,11 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->widget_gap_x = (int)o->value();
}}
- xywh {205 414 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {215 414 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 12
}
Fl_Box {} {
label {Vertical:}
- xywh {32 440 53 20} labelsize 11 align 24
+ xywh {20 440 75 20} labelfont 1 labelsize 12 align 24
}
Fl_Value_Input {} {
callback {if (v == LOAD) {
@@ -841,7 +841,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->widget_min_h = (int)o->value();
}}
- xywh {85 440 55 20} labelsize 11 maximum 32767 step 1 textsize 11
+ xywh {95 440 55 20} labelsize 12 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
callback {if (v == LOAD) {
@@ -849,7 +849,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->widget_inc_h = (int)o->value();
}}
- xywh {145 440 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {155 440 55 20} labelsize 12 align 5 maximum 32767 step 1 textsize 12
}
Fl_Value_Input {} {
callback {if (v == LOAD) {
@@ -857,12 +857,12 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->widget_gap_y = (int)o->value();
}}
- xywh {205 440 55 20} labelsize 11 align 5 maximum 32767 step 1 textsize 11
+ xywh {215 440 55 20} labelsize 12 align 5 maximum 32767 step 1 textsize 12
}
Fl_Group {} {
label {Label Font:}
callback propagate_load open
- xywh {85 465 201 20} labelsize 11 align 4
+ xywh {95 465 201 20} labelfont 1 labelsize 12 align 4
} {
Fl_Choice {} {
callback {if (v == LOAD) {
@@ -870,7 +870,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->labelfont = (int)o->value()-1;
}} open
- tooltip {The style of the label text.} xywh {85 465 150 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable
+ tooltip {The style of the label text.} xywh {95 465 150 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 12 textsize 12 resizable
code0 {extern Fl_Menu_Item fontmenu_w_default[];}
code1 {o->menu(fontmenu_w_default);}
} {}
@@ -880,13 +880,13 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->labelsize = (int)o->value();
}}
- tooltip {The size of the label text.} xywh {235 465 50 20} labelsize 11 minimum 1 maximum 1000 step 1 value 14 textsize 11
+ tooltip {The size of the label text.} xywh {245 465 50 20} labelsize 12 minimum 1 maximum 1000 step 1 value 14 textsize 12
}
}
Fl_Group {} {
label {Text Font:}
callback propagate_load open
- xywh {85 490 200 20} labelsize 11 align 4
+ xywh {95 490 200 20} labelfont 1 labelsize 12 align 4
} {
Fl_Choice {} {
callback {if (v == LOAD) {
@@ -894,7 +894,7 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->textfont = (int)o->value()-1;
}} open
- tooltip {The value text style.} xywh {85 490 150 20} box DOWN_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11
+ tooltip {The value text style.} xywh {95 490 150 20} box DOWN_BOX down_box BORDER_BOX labelfont 1 labelsize 12 textsize 12 resizable
code0 {extern Fl_Menu_Item fontmenu_w_default[];}
code1 {o->menu(fontmenu_w_default);}
} {}
@@ -904,21 +904,21 @@ Fluid.layout_list.update_dialogs();}
} else {
Fluid.proj.layout->textsize = (int)o->value();
}}
- tooltip {The value text size.} xywh {235 490 50 20} labelsize 11 maximum 1000 step 1 value 14 textsize 11
+ tooltip {The value text size.} xywh {245 490 50 20} labelsize 12 maximum 1000 step 1 value 14 textsize 12
}
}
Fl_Box {} {
- xywh {325 535 5 5} hide resizable
+ xywh {95 535 245 5} hide resizable
}
}
Fl_Group w_settings_shell_tab {
label Shell
callback propagate_load open
- scale_image {36 24} image {../icons/shell_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide
+ scale_image {36 24} image {../icons/shell_64.png} compress_image 1 xywh {10 60 340 480} labelsize 12 hide
} {
Fl_Group {} {
callback propagate_load open
- xywh {10 90 320 132}
+ xywh {20 90 320 132}
} {
Fl_Browser w_settings_shell_list {
label {Shell
@@ -949,13 +949,13 @@ 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 resizable
+ xywh {110 90 230 110} type Multi labelfont 1 labelsize 12 align 4 textsize 12 resizable
}
Fl_Group w_settings_shell_toolbox {
callback {if (v==LOAD) {
propagate_load(o, v);
}} open
- xywh {100 200 220 22}
+ xywh {110 200 230 22}
} {
Fl_Button {} {
label {+}
@@ -977,7 +977,7 @@ 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
+ tooltip {insert a new shell command into the list after the selected command} xywh {110 200 24 22} labelfont 1 labelsize 12
}
Fl_Button w_settings_shell_dup {
label {++}
@@ -1006,7 +1006,7 @@ 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
+ tooltip {duplicate the selected shell command and insert it into the list} xywh {134 200 24 22} labelfont 1 labelsize 12 deactivate
}
Fl_Button w_settings_shell_remove {
label DEL
@@ -1034,51 +1034,51 @@ 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
+ tooltip {remove the selected shell command - this can not be undone} xywh {158 200 24 22} labelsize 12 deactivate
}
Fl_Menu_Button w_settings_shell_menu {open
- xywh {172 200 24 22} labelsize 11 textsize 11
+ xywh {182 200 24 22} labelsize 12 textsize 12
} {
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 {import shell commands from an external file} xywh {90 90 100 20} labelsize 12
}
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
+ tooltip {export selected shell commands to an external file} xywh {10 10 100 20} labelsize 12
}
MenuItem {} {
label {Example Scripts:}
- xywh {20 20 100 20} labelfont 1 labelsize 10 hide deactivate
+ xywh {20 20 100 20} labelfont 1 labelsize 12 hide deactivate
}
MenuItem {} {
label {Compile with fltk-config}
- xywh {30 30 100 20} labelsize 11 hide
+ xywh {30 30 100 20} labelsize 12 hide
}
MenuItem {} {
label {Build and run}
- xywh {40 40 100 20} labelsize 11 hide
+ xywh {40 40 100 20} labelsize 12 hide
}
MenuItem {} {
label {Build with Xcode on macOS}
- xywh {50 50 100 20} labelsize 11 hide
+ xywh {50 50 100 20} labelsize 12 hide
}
MenuItem {} {
label {Build with CMake}
- xywh {60 60 100 20} labelsize 11 hide
+ xywh {60 60 100 20} labelsize 12 hide
}
}
Fl_Box {} {
- xywh {253 200 13 22} hide resizable
+ xywh {243 200 13 22} hide resizable
}
Fl_Button {} {
label T
callback {if (v!=LOAD) show_terminal_window();}
- tooltip {show terminal window} xywh {246 200 24 22} labelfont 5 labelsize 11
+ tooltip {show terminal window} xywh {256 200 24 22} labelfont 5 labelsize 12
}
Fl_Button w_settings_shell_play {
label Run
@@ -1094,7 +1094,7 @@ 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 {280 200 60 22} labelsize 12 deactivate
}
}
}
@@ -1108,7 +1108,7 @@ if (v==LOAD) {
}
propagate_load(o, v);
}} open
- xywh {10 235 320 291} resizable
+ xywh {20 235 320 291} resizable
} {
Fl_Input {} {
label {Name:}
@@ -1127,7 +1127,7 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- 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
+ tooltip {file the shell command under this name in the shell command list} xywh {110 246 230 20} labelfont 1 labelsize 12 when 13 textfont 4 textsize 12
}
Fl_Input {} {
label {Menu Label:}
@@ -1146,11 +1146,11 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- 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
+ tooltip {label text for the Shell menu in the main menu bar} xywh {110 272 230 20} labelfont 1 labelsize 12 textfont 4 textsize 12
}
Fl_Group {} {
callback {propagate_load(o, v);} open
- xywh {100 297 140 71}
+ xywh {110 297 140 71}
} {
Fl_Button {} {
label Shortcut
@@ -1170,7 +1170,7 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- tooltip {an optional keyboard shortcut to run this shell command} xywh {100 297 130 20} labelsize 11 align 16
+ tooltip {an optional keyboard shortcut to run this shell command} xywh {110 297 130 20} labelsize 12 align 16
code0 {\#include <FL/Fl_Shortcut_Button.H>}
class Fl_Shortcut_Button
}
@@ -1198,17 +1198,17 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.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
+ tooltip {store this shell command as a user setting or save it with the .fl project file} xywh {110 322 130 20} down_box BORDER_BOX labelfont 1 labelsize 12 textsize 12
} {
MenuItem {} {
label {@fd_user User Setting}
user_data {fld::Tool_Store::USER} user_data_type long
- xywh {0 0 100 20} labelsize 11
+ xywh {0 0 100 20} labelsize 12
}
MenuItem {} {
label {@fd_project Project File}
user_data {fld::Tool_Store::PROJECT} user_data_type long
- xywh {0 0 100 20} labelsize 11
+ xywh {0 0 100 20} labelsize 12
}
}
Fl_Choice {} {
@@ -1230,41 +1230,41 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.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
+ tooltip {add this command to the main menu bar only if this condition is true} xywh {110 348 130 20} down_box BORDER_BOX labelfont 1 labelsize 12 textsize 12
} {
MenuItem {} {
label {all platforms}
user_data {Fd_Shell_Command::ALWAYS} user_data_type long
- xywh {0 0 100 20} labelsize 11
+ xywh {0 0 100 20} labelsize 12
}
MenuItem {} {
label {Windows only}
user_data {Fd_Shell_Command::WIN_ONLY} user_data_type long
- xywh {0 0 100 20} labelsize 11
+ xywh {0 0 100 20} labelsize 12
}
MenuItem {} {
label {Linux only}
user_data {Fd_Shell_Command::UX_ONLY} user_data_type long
- xywh {0 0 100 20} labelsize 11
+ xywh {0 0 100 20} labelsize 12
}
MenuItem {} {
label {macOS only}
user_data {Fd_Shell_Command::MAC_ONLY} user_data_type long
- xywh {0 0 100 20} labelsize 11
+ xywh {0 0 100 20} labelsize 12
}
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
+ xywh {0 0 100 20} labelsize 12
}
MenuItem {} {
label {don't use}
user_data {Fd_Shell_Command::NEVER} user_data_type long
- xywh {0 0 100 20} labelsize 11
+ xywh {0 0 100 20} labelsize 12
}
}
Fl_Box {} {
- xywh {230 297 10 71} hide resizable
+ xywh {240 297 10 71} hide resizable
}
}
Fl_Input {} {
@@ -1274,11 +1274,11 @@ if (v == LOAD) {
} else {
// g_shell_command = o->value();
}}
- xywh {230 348 90 20} labelfont 1 labelsize 11 textfont 4 textsize 11 hide
+ xywh {240 348 90 20} labelfont 1 labelsize 12 textfont 4 textsize 12 hide
}
Fl_Group {} {
callback propagate_load open
- xywh {100 373 220 80} resizable
+ xywh {110 373 230 80} resizable
} {
Fl_Text_Editor w_settings_shell_command {
label {Shell script:}
@@ -1296,11 +1296,11 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- xywh {100 373 196 80} labelfont 1 labelsize 11 align 4 textfont 4 textsize 12 resizable
+ xywh {110 373 208 80} labelfont 1 labelsize 12 align 4 textfont 4 textsize 12 resizable
code0 {o->buffer(new Fl_Text_Buffer);}
}
Fl_Group {} {open
- xywh {296 373 24 80}
+ xywh {318 373 22 80}
} {
Fl_Menu_Button w_settings_shell_text_macros {
callback {const Fl_Menu_Item *mi = o->mvalue();
@@ -1321,52 +1321,52 @@ if (mi) {
}
w_settings_shell_command->do_callback(w_settings_shell_command, (void*)nullptr);
}} open
- tooltip {a list of text replacements available for the shell script} xywh {296 373 24 22} labelsize 11 textsize 11
+ tooltip {a list of text replacements available for the shell script} xywh {318 373 22 22} labelsize 12 textsize 12
} {
MenuItem {} {
label {@@BASENAME@@}
- xywh {80 80 100 20} labelfont 4 labelsize 11
+ xywh {80 80 100 20} labelfont 4 labelsize 12
}
MenuItem {} {
label {@@PROJECTFILE_PATH@@}
- xywh {0 0 100 20} labelfont 4 labelsize 11
+ xywh {0 0 100 20} labelfont 4 labelsize 12
}
MenuItem {} {
label {@@PROJECTFILE_NAME@@}
- xywh {10 10 100 20} labelfont 4 labelsize 11
+ xywh {10 10 100 20} labelfont 4 labelsize 12
}
MenuItem {} {
label {@@CODEFILE_PATH@@}
- xywh {20 20 100 20} labelfont 4 labelsize 11
+ xywh {20 20 100 20} labelfont 4 labelsize 12
}
MenuItem {} {
label {@@CODEFILE_NAME@@}
- xywh {30 30 100 20} labelfont 4 labelsize 11
+ xywh {30 30 100 20} labelfont 4 labelsize 12
}
MenuItem {} {
label {@@HEADERFILE_PATH@@}
- xywh {40 40 100 20} labelfont 4 labelsize 11
+ xywh {40 40 100 20} labelfont 4 labelsize 12
}
MenuItem {} {
label {@@HEADERFILE_NAME@@}
- xywh {50 50 100 20} labelfont 4 labelsize 11
+ xywh {50 50 100 20} labelfont 4 labelsize 12
}
MenuItem {} {
label {@@TEXTFILE_PATH@@}
- xywh {60 60 100 20} labelfont 4 labelsize 11
+ xywh {60 60 100 20} labelfont 4 labelsize 12
}
MenuItem {} {
label {@@TEXTFILE_NAME@@}
- xywh {70 70 100 20} labelfont 4 labelsize 11
+ xywh {70 70 100 20} labelfont 4 labelsize 12
}
MenuItem {} {
label {@@FLTK_CONFIG@@}
comment {Not yet implemented}
- xywh {70 70 100 20} labelfont 4 labelsize 11 hide
+ xywh {70 70 100 20} labelfont 4 labelsize 12 hide
}
MenuItem {} {
label {@@TMPDIR@@}
- xywh {70 70 100 20} labelfont 4 labelsize 11
+ xywh {70 70 100 20} labelfont 4 labelsize 12
}
}
Fl_Button {} {
@@ -1386,16 +1386,19 @@ 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 {318 395 22 22} labelsize 12
}
Fl_Box {} {
- xywh {296 417 24 10} hide resizable
+ xywh {318 417 12 10} hide resizable
}
}
}
- Fl_Check_Button {} {
- label {save .fl project file}
- callback {int selected = w_settings_shell_list_selected;
+ Fl_Group {} {open
+ xywh {110 458 230 60}
+ } {
+ Fl_Check_Button {} {
+ label {save .fl project file}
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
o->value(g_shell_config->list[selected-1]->flags & Fd_Shell_Command::SAVE_PROJECT);
@@ -1414,11 +1417,11 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- tooltip {save the project to the .fl file before running the command} xywh {100 458 110 20} down_box DOWN_BOX labelsize 11
- }
- Fl_Check_Button {} {
- label {save source code}
- callback {int selected = w_settings_shell_list_selected;
+ tooltip {save the project to the .fl file before running the command} xywh {110 458 110 20} down_box DOWN_BOX labelsize 12
+ }
+ Fl_Check_Button {} {
+ label {save source code}
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
o->value(g_shell_config->list[selected-1]->flags & Fd_Shell_Command::SAVE_SOURCECODE);
@@ -1437,11 +1440,11 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- tooltip {generate the source code and header file before running the command} xywh {100 478 110 19} down_box DOWN_BOX labelsize 11
- }
- Fl_Check_Button {} {
- label {save i18n strings}
- callback {int selected = w_settings_shell_list_selected;
+ tooltip {generate the source code and header file before running the command} xywh {110 478 110 19} down_box DOWN_BOX labelsize 12
+ }
+ Fl_Check_Button {} {
+ label {save i18n strings}
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
o->value(g_shell_config->list[selected-1]->flags & Fd_Shell_Command::SAVE_STRINGS);
@@ -1460,11 +1463,11 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- tooltip {save the internationalisation strings before running the command} xywh {100 498 110 20} down_box DOWN_BOX labelsize 11
- }
- Fl_Check_Button {} {
- label {show terminal}
- callback {int selected = w_settings_shell_list_selected;
+ tooltip {save the internationalisation strings before running the command} xywh {110 498 110 20} down_box DOWN_BOX labelsize 12
+ }
+ Fl_Check_Button {} {
+ label {show terminal}
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
o->value(!(g_shell_config->list[selected-1]->flags & Fd_Shell_Command::DONT_SHOW_TERMINAL));
@@ -1483,11 +1486,11 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- tooltip {show the terminal window when launching this script} xywh {214 458 106 20} down_box DOWN_BOX labelsize 11
- }
- Fl_Check_Button {} {
- label {clear terminal}
- callback {int selected = w_settings_shell_list_selected;
+ tooltip {show the terminal window when launching this script} xywh {229 458 106 20} down_box DOWN_BOX labelsize 12
+ }
+ Fl_Check_Button {} {
+ label {clear terminal}
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
o->value(g_shell_config->list[selected-1]->flags & Fd_Shell_Command::CLEAR_TERMINAL);
@@ -1506,11 +1509,11 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- tooltip {clear the teminal window before running this script} xywh {214 478 106 19} down_box DOWN_BOX labelsize 11
- }
- Fl_Check_Button {} {
- label {clear term history}
- callback {int selected = w_settings_shell_list_selected;
+ tooltip {clear the teminal window before running this script} xywh {229 478 106 19} down_box DOWN_BOX labelsize 12
+ }
+ Fl_Check_Button {} {
+ label {clear term history}
+ callback {int selected = w_settings_shell_list_selected;
if (v == LOAD) {
if (selected) {
o->value(g_shell_config->list[selected-1]->flags & Fd_Shell_Command::CLEAR_HISTORY);
@@ -1529,7 +1532,11 @@ if (v == LOAD) {
if (cmd->storage == fld::Tool_Store::PROJECT) Fluid.proj.set_modflag(1);
}
}}
- tooltip {clear the teminal history in the terminal window} xywh {214 498 106 19} down_box DOWN_BOX labelsize 11
+ tooltip {clear the teminal history in the terminal window} xywh {229 498 106 19} down_box DOWN_BOX labelsize 12
+ }
+ Fl_Box {} {
+ xywh {335 458 5 60} labelsize 12 resizable
+ }
}
}
Fl_Box w_settings_shell_fd_project {
@@ -1544,37 +1551,37 @@ if (v == LOAD) {
Fl_Group w_settings_i18n_tab {
label Locale
callback {propagate_load(o, v);} open
- scale_image {36 24} image {../icons/language_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide
+ scale_image {36 24} image {../icons/language_64.png} compress_image 1 xywh {10 60 340 480} labelsize 12 hide
} {
Fl_Group {} {
callback propagate_load open
- xywh {100 78 170 20}
+ xywh {110 78 170 20}
} {
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
+ tooltip {Type of internationalization to use.} xywh {110 78 160 20} box THIN_UP_BOX down_box BORDER_BOX labelsize 12 textsize 12
} {
MenuItem {} {
label None
- xywh {0 -11 100 20} labelsize 11
+ xywh {0 -11 100 20} labelsize 12
}
MenuItem {} {
label {GNU gettext}
- xywh {0 -11 100 20} labelsize 11
+ xywh {0 -11 100 20} labelsize 12
}
MenuItem {} {
label {POSIX catgets}
- xywh {0 -11 100 20} labelsize 11
+ xywh {0 -11 100 20} labelsize 12
}
}
Fl_Box {} {
- xywh {260 78 10 20} hide resizable
+ xywh {270 78 10 20} hide resizable
}
}
Fl_Group i18n_gnu_group {
callback {propagate_load(o, v);} open
- xywh {100 103 220 95}
+ xywh {110 103 230 95} labelsize 12
} {
Fl_Input i18n_gnu_include_input {
label {\#include:}
@@ -1585,7 +1592,7 @@ if (v == LOAD) {
Fluid.proj.i18n.gnu_include = o->value();
Fluid.proj.set_modflag(1);
}}
- tooltip {The include file for internationalization.} xywh {100 103 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11
+ tooltip {The include file for internationalization.} xywh {110 103 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12
}
Fl_Input i18n_gnu_conditional_input {
label {Conditional:}
@@ -1596,7 +1603,7 @@ if (v == LOAD) {
Fluid.proj.i18n.gnu_conditional = o->value();
Fluid.proj.set_modflag(1);
}}
- 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
+ tooltip {only include the header file if this preprocessor macro is defined, for example FLTK_GETTEXT_FOUND} xywh {110 128 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12
}
Fl_Input i18n_gnu_function_input {
label {Function:}
@@ -1607,7 +1614,7 @@ if (v == LOAD) {
Fluid.proj.i18n.gnu_function = o->value();
Fluid.proj.set_modflag(1);
}}
- 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
+ tooltip {The function to call to translate labels and tooltips, usually "gettext" or "_"} xywh {110 153 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12
}
Fl_Input i18n_gnu_static_function_input {
label {Static Function:}
@@ -1618,12 +1625,12 @@ if (v == LOAD) {
Fluid.proj.i18n.gnu_static_function = o->value();
Fluid.proj.set_modflag(1);
}}
- 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
+ tooltip {function to call to translate static text, The function to call to internationalize labels and tooltips, usually "gettext_noop" or "N_"} xywh {110 178 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12
}
}
Fl_Group i18n_posix_group {
callback {propagate_load(o, v);} open
- xywh {100 103 220 95} hide
+ xywh {110 103 230 95} labelsize 12 hide
} {
Fl_Input i18n_pos_include_input {
label {\#include:}
@@ -1634,7 +1641,7 @@ if (v == LOAD) {
Fluid.proj.i18n.posix_include = o->value();
Fluid.proj.set_modflag(1);
}}
- tooltip {The include file for internationalization.} xywh {100 103 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11
+ tooltip {The include file for internationalization.} xywh {110 103 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12
}
Fl_Input i18n_pos_conditional_input {
label {Conditional:}
@@ -1645,7 +1652,7 @@ if (v == LOAD) {
Fluid.proj.i18n.posix_conditional = o->value();
Fluid.proj.set_modflag(1);
}}
- 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
+ tooltip {only include the header file if this preprocessor macro is defined, for example FLTK_GETTEXT_FOUND} xywh {110 128 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12
}
Fl_Input i18n_pos_file_input {
label {Catalog:}
@@ -1656,11 +1663,11 @@ if (v == LOAD) {
Fluid.proj.i18n.posix_file = o->value();
Fluid.proj.set_modflag(1);
}}
- tooltip {The name of the message catalog.} xywh {100 153 220 20} box THIN_DOWN_BOX labelsize 11 textfont 4 textsize 11
+ tooltip {The name of the message catalog.} xywh {110 153 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12
}
Fl_Group {} {
callback {propagate_load(o, v);} open
- xywh {100 178 90 20}
+ xywh {110 178 90 20}
} {
Fl_Input i18n_pos_set_input {
label {Set:}
@@ -1671,181 +1678,204 @@ if (v == LOAD) {
Fluid.proj.i18n.posix_set = o->value();
Fluid.proj.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 {110 178 80 20} type Int box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12
}
Fl_Box {} {
- xywh {180 178 10 20} hide resizable
+ xywh {190 178 10 20} hide resizable
}
}
}
Fl_Box {} {
- xywh {100 530 220 10} hide resizable
+ xywh {110 530 220 10} hide resizable
}
}
Fl_Group w_settings_user_tab {
label User
callback {propagate_load(o, v);} open
- scale_image {36 24} image {../icons/user_circle_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide
+ scale_image {36 24} image {../icons/user_circle_64.png} compress_image 1 xywh {10 60 340 480} labelsize 12 hide
code0 {\#include <FL/fl_show_colormap.H>}
} {
Fl_Box {} {
label {---- Widget Browser ----}
- xywh {100 84 220 20} labelfont 1 labelsize 11 align 20
+ xywh {110 84 220 20} labelfont 1 labelsize 12 align 20
}
Fl_Group {} {
+ label {Label:}
callback propagate_load open
- xywh {100 112 220 20}
+ xywh {110 112 230 20} labelfont 1 labelsize 12 align 4
} {
Fl_Choice {} {
- label {Label:}
user_data {&Node_Browser::label_font}
callback cb_Comments open
- xywh {100 112 151 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable
+ xywh {110 112 161 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 12 textsize 11 resizable
code0 {extern Fl_Menu_Item fontmenu[];}
code1 {o->menu(fontmenu);}
} {}
Fl_Button {} {
user_data {&Node_Browser::label_color}
callback cb_Color_Chip
- xywh {251 112 51 20} labelsize 11
+ xywh {271 112 51 20} labelsize 12
}
Fl_Menu_Button {} {
user_data {&Node_Browser::label_color}
callback cb_Color_Choice open
- xywh {302 112 18 20}
+ xywh {322 112 18 20} labelsize 12
code0 {extern Fl_Menu_Item colormenu[];}
code1 {o->menu(colormenu);}
} {}
}
Fl_Group {} {
+ label {Class:}
callback propagate_load open
- xywh {100 137 220 20}
+ xywh {110 137 230 20} labelfont 1 labelsize 12 align 4
} {
Fl_Choice {} {
- label {Class:}
user_data {&Node_Browser::class_font}
callback cb_Comments open
- xywh {100 137 151 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable
+ xywh {110 137 161 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 12 textsize 11 resizable
code0 {extern Fl_Menu_Item fontmenu[];}
code1 {o->menu(fontmenu);}
} {}
Fl_Button {} {
user_data {&Node_Browser::class_color}
callback cb_Color_Chip
- xywh {251 137 51 20} labelsize 11
+ xywh {271 137 51 20} labelsize 12
}
Fl_Menu_Button {} {
user_data {&Node_Browser::class_color}
callback cb_Color_Choice open
- xywh {302 137 18 20}
+ xywh {322 137 18 20} labelsize 12
code0 {extern Fl_Menu_Item colormenu[];}
code1 {o->menu(colormenu);}
} {}
}
Fl_Group {} {
+ label {Function:}
callback propagate_load open
- xywh {100 162 220 20}
+ xywh {110 162 230 20} labelfont 1 labelsize 12 align 4
} {
Fl_Choice {} {
- label {Function:}
user_data {&Node_Browser::func_font}
callback cb_Comments open
- xywh {100 162 151 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable
+ xywh {110 162 161 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 12 textsize 11 resizable
code0 {extern Fl_Menu_Item fontmenu[];}
code1 {o->menu(fontmenu);}
} {}
Fl_Button {} {
user_data {&Node_Browser::func_color}
callback cb_Color_Chip
- xywh {251 162 51 20} labelsize 11
+ xywh {271 162 51 20} labelsize 12
}
Fl_Menu_Button {} {
user_data {&Node_Browser::func_color}
callback cb_Color_Choice open
- xywh {302 162 18 20}
+ xywh {322 162 18 20} labelsize 12
code0 {extern Fl_Menu_Item colormenu[];}
code1 {o->menu(colormenu);}
} {}
}
Fl_Group {} {
+ label {Name:}
callback propagate_load open
- xywh {100 187 220 20}
+ xywh {110 187 230 20} labelfont 1 labelsize 12 align 4
} {
Fl_Choice {} {
- label {Name:}
user_data {&Node_Browser::name_font}
callback cb_Comments open
- xywh {100 187 151 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable
+ xywh {110 187 161 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 12 textsize 11 resizable
code0 {extern Fl_Menu_Item fontmenu[];}
code1 {o->menu(fontmenu);}
} {}
Fl_Button {} {
user_data {&Node_Browser::name_color}
callback cb_Color_Chip
- xywh {251 187 51 20} labelsize 11
+ xywh {271 187 51 20} labelsize 12
}
Fl_Menu_Button {} {
user_data {&Node_Browser::name_color}
callback cb_Color_Choice open
- xywh {302 187 18 20}
+ xywh {322 187 18 20} labelsize 12
code0 {extern Fl_Menu_Item colormenu[];}
code1 {o->menu(colormenu);}
} {}
}
Fl_Group {} {
+ label {Code:}
callback propagate_load open
- xywh {100 212 220 20}
+ xywh {110 212 230 20} labelfont 1 labelsize 12 align 4
} {
Fl_Choice {} {
- label {Code:}
user_data {&Node_Browser::code_font}
callback cb_Comments open
- xywh {100 212 151 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable
+ xywh {110 212 161 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 12 textsize 11 resizable
code0 {extern Fl_Menu_Item fontmenu[];}
code1 {o->menu(fontmenu);}
} {}
Fl_Button {} {
user_data {&Node_Browser::code_color}
callback cb_Color_Chip
- xywh {251 212 51 20} labelsize 11
+ xywh {271 212 51 20} labelsize 12
}
Fl_Menu_Button {} {
user_data {&Node_Browser::code_color}
callback cb_Color_Choice open
- xywh {302 212 18 20}
+ xywh {322 212 18 20} labelsize 12
code0 {extern Fl_Menu_Item colormenu[];}
code1 {o->menu(colormenu);}
} {}
}
Fl_Group {} {
+ label {Comments:}
callback propagate_load open
- xywh {100 237 220 20}
+ xywh {110 237 230 20} labelfont 1 labelsize 12 align 4
} {
Fl_Choice w_settings_user_commenttext {
- label {Comments:}
user_data {&Node_Browser::comment_font}
callback cb_Comments open
- xywh {100 237 151 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable
+ xywh {110 237 161 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 12 textsize 11 resizable
code0 {extern Fl_Menu_Item fontmenu[];}
code1 {o->menu(fontmenu);}
} {}
Fl_Button {} {
user_data {&Node_Browser::comment_color}
callback cb_Color_Chip
- xywh {251 237 51 20} labelsize 11
+ xywh {271 237 51 20} labelsize 12
}
Fl_Menu_Button {} {
user_data {&Node_Browser::comment_color}
callback cb_Color_Choice open
- xywh {302 237 18 20}
+ xywh {322 237 18 20} labelsize 12
code0 {extern Fl_Menu_Item colormenu[];}
code1 {o->menu(colormenu);}
} {}
}
+ Fl_Box {} {
+ xywh {110 530 230 10} hide resizable
+ }
+ Fl_Button {} {
+ label Reset
+ callback {if (v == LOAD) return;
+Node_Browser::label_color = 72;
+Node_Browser::label_font = FL_HELVETICA;
+Node_Browser::class_color = FL_FOREGROUND_COLOR;
+Node_Browser::class_font = FL_HELVETICA_BOLD;
+Node_Browser::func_color = FL_FOREGROUND_COLOR;
+Node_Browser::func_font = FL_HELVETICA;
+Node_Browser::name_color = FL_FOREGROUND_COLOR;
+Node_Browser::name_font = FL_HELVETICA;
+Node_Browser::code_color = FL_FOREGROUND_COLOR;
+Node_Browser::code_font = FL_HELVETICA;
+Node_Browser::comment_color = FL_DARK_GREEN;
+Node_Browser::comment_font = FL_DARK_GREEN;
+o->parent()->do_callback(o->parent(), LOAD);
+widget_browser->redraw();
+widget_browser->save_prefs();}
+ xywh {251 269 77 22} labelsize 12
+ }
}
}
Fl_Group {} {open
- xywh {10 550 320 20}
+ xywh {10 550 340 25}
} {
Fl_Button {} {
label Close
@@ -1853,10 +1883,10 @@ if (v == LOAD) {
g_shell_config->write(Fluid.preferences, fld::Tool_Store::USER);
Fluid.layout_list.write(Fluid.preferences, fld::Tool_Store::USER);
settings_window->hide();}
- tooltip {Close this dialog.} xywh {230 550 100 20} labelsize 11
+ tooltip {Close this dialog.} xywh {230 550 120 25}
}
Fl_Box {} {
- xywh {220 550 10 20} hide resizable
+ xywh {220 550 10 25} hide resizable
}
}
}
@@ -1867,7 +1897,7 @@ Function {make_shell_window()} {open
} {
Fl_Window shell_run_window {
label {Shell Command Output} open
- xywh {769 584 555 430} type Double align 80 resizable visible
+ xywh {880 548 555 430} type Double align 80 resizable visible
} {
Fl_Terminal shell_run_terminal {
xywh {10 10 535 375} resizable
diff --git a/fluid/panels/settings_panel.h b/fluid/panels/settings_panel.h
index f57195680..808f544f3 100644
--- a/fluid/panels/settings_panel.h
+++ b/fluid/panels/settings_panel.h
@@ -38,10 +38,10 @@ extern Fl_Double_Window *script_panel;
extern Fl_Text_Editor *script_input;
#include <FL/Fl_Group.H>
extern void propagate_load(Fl_Group*, void*);
-#include <FL/Fl_Return_Button.H>
-extern Fl_Return_Button *script_panel_ok;
#include <FL/Fl_Button.H>
extern Fl_Button *script_panel_cancel;
+#include <FL/Fl_Return_Button.H>
+extern Fl_Return_Button *script_panel_ok;
#include <FL/Fl_Box.H>
Fl_Double_Window* make_script_panel();
extern Fl_Double_Window *settings_window;
@@ -57,9 +57,9 @@ extern Fl_Check_Button *prevpos_button;
extern Fl_Check_Button *show_comments_button;
#include <FL/Fl_Spinner.H>
extern Fl_Spinner *recent_spinner;
-extern Fl_Check_Button *use_external_editor_button;
#include <FL/Fl_Input.H>
extern Fl_Input *editor_command_input;
+extern Fl_Check_Button *use_external_editor_button;
extern void toggle_guides_cb(Fl_Check_Button*, void*);
extern Fl_Check_Button *guides_button;
extern void toggle_restricted_cb(Fl_Check_Button*, void*);