diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-15 14:19:34 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-15 14:19:34 +0000 |
| commit | 255e7fb39b83523c52855809bb9a80f647fe4cff (patch) | |
| tree | 6f5b4eff04b13405b94cacecafd1ed449860f661 /fluid/alignment_panel.cxx | |
| parent | 45bb73a9bf4692c68294be12a2e25a39ca3a307b (diff) | |
Fluid fixes from Vincent PENNE.
git-svn-id: file:///fltk/svn/fltk/trunk@12 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/alignment_panel.cxx')
| -rw-r--r-- | fluid/alignment_panel.cxx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/fluid/alignment_panel.cxx b/fluid/alignment_panel.cxx index fa8c7c089..bb5691ab7 100644 --- a/fluid/alignment_panel.cxx +++ b/fluid/alignment_panel.cxx @@ -18,9 +18,12 @@ Fl_Input *header_file_input; Fl_Input *code_file_input; +Fl_Light_Button *include_H_from_C_button; + Fl_Window* make_alignment_window() { - Fl_Window *w; - { Fl_Window* o = alignment_window = w = new Fl_Window(210, 282, "fluid Preferences"); + Fl_Window* w; + { Fl_Window* o = alignment_window = new Fl_Window(210, 310, "fluid Preferences"); + w = o; { Fl_Box* o = new Fl_Box(10, 20, 190, 100, "ALIGNMENT:"); o->box(FL_ENGRAVED_FRAME); o->labelsize(10); @@ -44,9 +47,8 @@ Fl_Window* make_alignment_window() { o->callback((Fl_Callback*)alignment_cb, (void*)(3)); o->when(FL_WHEN_RELEASE|FL_WHEN_ENTER_KEY); } - { Fl_Button* o = new Fl_Button(10, 250, 190, 20, "close"); + { Fl_Button* o = new Fl_Button(10, 280, 190, 20, "close"); o->callback((Fl_Callback*)cb_close); - w->hotspot(o); } { Fl_Box* o = new Fl_Box(10, 140, 190, 100, "OUTPUT FILE NAMES:"); o->box(FL_ENGRAVED_FRAME); @@ -67,6 +69,11 @@ Fl_Window* make_alignment_window() { o->callback((Fl_Callback*)code_input_cb, (void*)(1)); o->when(1); } + { Fl_Light_Button* o = include_H_from_C_button = new Fl_Light_Button(60, 250, 140, 20, "Include .H from .C"); + o->value(1); + o->callback((Fl_Callback*)include_H_from_C_button_cb); + } + o->set_modal(); o->end(); } return w; |
