summaryrefslogtreecommitdiff
path: root/fluid/alignment_panel.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-04-12 05:18:38 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-04-12 05:18:38 +0000
commite1d22ebba7125b0b3b88cb32271e39cf74f62ce5 (patch)
tree90bae3463b263c18d0b34361fb7ceb7add290a7d /fluid/alignment_panel.cxx
parenta73a70a2c7be130175784439b9e13a273f04a988 (diff)
Added ide generating code to command line version of Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/alignment_panel.cxx')
-rw-r--r--fluid/alignment_panel.cxx28
1 files changed, 5 insertions, 23 deletions
diff --git a/fluid/alignment_panel.cxx b/fluid/alignment_panel.cxx
index f62f268f9..a09b8dce8 100644
--- a/fluid/alignment_panel.cxx
+++ b/fluid/alignment_panel.cxx
@@ -217,17 +217,6 @@ fluid_prefs.set("show_comments", show_comments);
redraw_browser();
}
-Fl_Check_Button *show_coredevmenus_button=(Fl_Check_Button *)0;
-
-static void cb_show_coredevmenus_button(Fl_Check_Button*, void*) {
- show_coredevmenus = show_coredevmenus_button->value();
-fluid_prefs.set("show_coredevmenus", show_coredevmenus);
-if (show_coredevmenus)
- dbmanager_item->show();
-else
- dbmanager_item->hide();
-}
-
Fl_Spinner *recent_spinner=(Fl_Spinner *)0;
static void cb_recent_spinner(Fl_Spinner*, void*) {
@@ -240,7 +229,7 @@ static void cb_Close1(Fl_Button*, void*) {
}
Fl_Double_Window* make_settings_window() {
- { settings_window = new Fl_Double_Window(342, 269, "GUI Settings");
+ { settings_window = new Fl_Double_Window(339, 241, "GUI Settings");
{ scheme_choice = new Fl_Choice(116, 10, 115, 25, "Scheme: ");
scheme_choice->down_box(FL_BORDER_BOX);
scheme_choice->labelfont(1);
@@ -251,9 +240,9 @@ Fl_Double_Window* make_settings_window() {
scheme_choice->value(s);
scheme_cb(0, 0);
} // Fl_Choice* scheme_choice
- { Fl_Group* o = new Fl_Group(116, 43, 220, 149);
+ { Fl_Group* o = new Fl_Group(116, 43, 220, 126);
o->labelfont(1);
- o->align(Fl_Align(FL_ALIGN_LEFT));
+ o->align(Fl_Align(FL_ALIGN_CENTER));
{ Fl_Box* o = new Fl_Box(116, 43, 1, 25, "Options: ");
o->labelfont(1);
o->align(Fl_Align(FL_ALIGN_LEFT));
@@ -293,16 +282,9 @@ Fl_Double_Window* make_settings_window() {
fluid_prefs.get("show_comments", show_comments, 1);
show_comments_button->value(show_comments);
} // Fl_Check_Button* show_comments_button
- { show_coredevmenus_button = new Fl_Check_Button(116, 167, 209, 25, "Show Core Developer Menus");
- show_coredevmenus_button->down_box(FL_DOWN_BOX);
- show_coredevmenus_button->callback((Fl_Callback*)cb_show_coredevmenus_button);
- fluid_prefs.get("show_coredevmenus", show_coredevmenus, 0);
- show_coredevmenus_button->value(show_coredevmenus);
- if (!show_coredevmenus) dbmanager_item->hide();
- } // Fl_Check_Button* show_coredevmenus_button
o->end();
} // Fl_Group* o
- { recent_spinner = new Fl_Spinner(115, 199, 40, 25, "# Recent Files: ");
+ { recent_spinner = new Fl_Spinner(115, 173, 40, 25, "# Recent Files: ");
recent_spinner->labelfont(1);
recent_spinner->callback((Fl_Callback*)cb_recent_spinner);
recent_spinner->when(FL_WHEN_CHANGED);
@@ -311,7 +293,7 @@ Fl_Double_Window* make_settings_window() {
recent_spinner->maximum(10);
recent_spinner->value(c);
} // Fl_Spinner* recent_spinner
- { Fl_Button* o = new Fl_Button(266, 231, 64, 25, "Close");
+ { Fl_Button* o = new Fl_Button(266, 205, 64, 25, "Close");
o->tooltip("Close this dialog.");
o->callback((Fl_Callback*)cb_Close1);
} // Fl_Button* o