diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-31 19:27:56 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-31 19:27:56 +0000 |
| commit | 23972703f40704f83db852cf126abd940a22865a (patch) | |
| tree | 7b51e0852c541fbb75e219dacf3007f80a6ee29c /fluid/alignment_panel.cxx | |
| parent | 778d528093f4314bdc96f9600d0698479e8b7eb1 (diff) | |
Some C++ compilers can't handle char& and int& versions of methods, so
for now just remove the char (boolean) methods since the integer methods
can also be used for the same thing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/alignment_panel.cxx')
| -rw-r--r-- | fluid/alignment_panel.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fluid/alignment_panel.cxx b/fluid/alignment_panel.cxx index 0f7c52b04..d735808d5 100644 --- a/fluid/alignment_panel.cxx +++ b/fluid/alignment_panel.cxx @@ -138,7 +138,7 @@ static void cb_openlast_button(Fl_Check_Button*, void*) { Fl_Window* make_settings_window() { Fl_Window* w; - { Fl_Window* o = settings_window = new Fl_Window(255, 179, "GUI Settings"); + { Fl_Window* o = settings_window = new Fl_Window(255, 175, "GUI Settings"); w = o; { Fl_Button* o = new Fl_Button(185, 145, 60, 25, "Close"); o->tooltip("Close this dialog."); @@ -150,7 +150,7 @@ Fl_Window* make_settings_window() { { Fl_Check_Button* o = tooltips_button = new Fl_Check_Button(20, 45, 215, 20, "Show Tooltips"); o->down_box(FL_DOWN_BOX); o->callback((Fl_Callback*)cb_tooltips_button); - char b; + int b; fluid_prefs.get("show_tooltips", b, 1); tooltips_button->value(b); Fl_Tooltip::enable(b); @@ -158,14 +158,14 @@ Fl_Window* make_settings_window() { { Fl_Check_Button* o = completion_button = new Fl_Check_Button(20, 75, 215, 20, "Show Completion Dialogs"); o->down_box(FL_DOWN_BOX); o->callback((Fl_Callback*)cb_completion_button); - char b; + int b; fluid_prefs.get("show_completion_dialogs", b, 1); completion_button->value(b); } { Fl_Check_Button* o = openlast_button = new Fl_Check_Button(20, 105, 215, 20, "Open Previous File on Startup"); o->down_box(FL_DOWN_BOX); o->callback((Fl_Callback*)cb_openlast_button); - char b; + int b; fluid_prefs.get("open_previous_file", b, 0); openlast_button->value(b); } @@ -234,21 +234,21 @@ Fl_Window* make_shell_window() { { Fl_Check_Button* o = shell_savefl_button = new Fl_Check_Button(20, 65, 110, 20, "Save .FL File"); o->down_box(FL_DOWN_BOX); o->callback((Fl_Callback*)cb_shell_savefl_button); - char b; + int b; fluid_prefs.get("shell_savefl", b, 1); shell_savefl_button->value(b); } { Fl_Check_Button* o = shell_writecode_button = new Fl_Check_Button(140, 65, 95, 20, "Write Code"); o->down_box(FL_DOWN_BOX); o->callback((Fl_Callback*)cb_shell_writecode_button); - char b; + int b; fluid_prefs.get("shell_writecode", b, 1); shell_writecode_button->value(b); } { Fl_Check_Button* o = shell_writemsgs_button = new Fl_Check_Button(245, 65, 130, 20, "Write Messages"); o->down_box(FL_DOWN_BOX); o->callback((Fl_Callback*)cb_shell_writemsgs_button); - char b; + int b; fluid_prefs.get("shell_writemsgs", b, 0); shell_writemsgs_button->value(b); } |
