diff options
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/alignment_panel.cxx | 14 | ||||
| -rw-r--r-- | fluid/alignment_panel.fl | 18 |
2 files changed, 16 insertions, 16 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); } diff --git a/fluid/alignment_panel.fl b/fluid/alignment_panel.fl index f8de29544..ed348e72c 100644 --- a/fluid/alignment_panel.fl +++ b/fluid/alignment_panel.fl @@ -12,7 +12,7 @@ Function {make_project_window()} {open } { Fl_Button {} { label Close - callback {project_window->hide();} selected + callback {project_window->hide();} tooltip {Close this dialog.} xywh {295 175 60 25} } Fl_Tabs {} {open @@ -101,7 +101,7 @@ Function {make_settings_window()} {open } { Fl_Window settings_window { label {GUI Settings} open - xywh {397 774 255 179} visible + xywh {397 774 255 175} visible } { Fl_Button {} { label Close @@ -120,7 +120,7 @@ Function {make_settings_window()} {open callback {Fl_Tooltip::enable(tooltips_button->value()); fluid_prefs.set("show_tooltips", tooltips_button->value());} xywh {20 45 215 20} down_box DOWN_BOX - code0 {char b;} + code0 {int b;} code1 {fluid_prefs.get("show_tooltips", b, 1);} code2 {tooltips_button->value(b);} code3 {Fl_Tooltip::enable(b);} @@ -129,15 +129,15 @@ fluid_prefs.set("show_tooltips", tooltips_button->value());} label {Show Completion Dialogs} callback {fluid_prefs.set("show_completion_dialogs", completion_button->value());} xywh {20 75 215 20} down_box DOWN_BOX - code0 {char b;} + code0 {int b;} code1 {fluid_prefs.get("show_completion_dialogs", b, 1);} code2 {completion_button->value(b);} } Fl_Check_Button openlast_button { label {Open Previous File on Startup} - callback {fluid_prefs.set("open_previous_file", openlast_button->value());} + callback {fluid_prefs.set("open_previous_file", openlast_button->value());} selected xywh {20 105 215 20} down_box DOWN_BOX - code0 {char b;} + code0 {int b;} code1 {fluid_prefs.get("open_previous_file", b, 0);} code2 {openlast_button->value(b);} } @@ -170,7 +170,7 @@ Function {make_shell_window()} {open label {Save .FL File} callback {fluid_prefs.set("shell_savefl", shell_savefl_button->value());} xywh {20 65 110 20} down_box DOWN_BOX - code0 {char b;} + code0 {int b;} code1 {fluid_prefs.get("shell_savefl", b, 1);} code2 {shell_savefl_button->value(b);} } @@ -178,7 +178,7 @@ Function {make_shell_window()} {open label {Write Code} callback {fluid_prefs.set("shell_writecode", shell_writecode_button->value());} xywh {140 65 95 20} down_box DOWN_BOX - code0 {char b;} + code0 {int b;} code1 {fluid_prefs.get("shell_writecode", b, 1);} code2 {shell_writecode_button->value(b);} } @@ -186,7 +186,7 @@ Function {make_shell_window()} {open label {Write Messages} callback {fluid_prefs.set("shell_writemsgs", shell_writemsgs_button->value());} xywh {245 65 130 20} down_box DOWN_BOX - code0 {char b;} + code0 {int b;} code1 {fluid_prefs.get("shell_writemsgs", b, 0);} code2 {shell_writemsgs_button->value(b);} } |
