diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-03-11 05:17:12 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-03-11 05:17:12 +0000 |
| commit | 70ca1d156ba8bb0aa1b3a925b89f935fe4dccfbe (patch) | |
| tree | 6c01d1849e98d53e54ba99af45425ab5cf3ea62e /fluid/function_panel.cxx | |
| parent | c5d30baf60c5b8acd81a6fa5dd5ea0b2392de10e (diff) | |
Fl_Value_Slider::draw_bg() didn't always apply the clipping
rectangle (STR #235)
fl_filename_relative() returned the wrong string if the absolute
pathname was equal to the current working directory (STR #224)
Fl_Help_Dialog didn't correctly restore the scroll position when
going forward/back in the link history if the file changed (STR
#218)
glutGetModifiers() did not mask off extra state bits, confusing
some GLUT-based applications (STR #213)
Fixed mouse capture problems on MacOS X (STR #209, STR #229)
Fl_Sys_Menu_Bar is now built into the library for MacOS X (STR
#229)
Fl_Menu_ now provides item_pathname() methods to get the
"pathname" of a menu item, e.g. "File/Quit" (STR #283)
Fl_Text_Display now provides cursor_color() methods to get and
set the cursor color (STR #271)
Fl_Scroll didn't honor FL_NO_BOX (STR #305)
FLUID declaration blocks didn't support public/private
definitions (STR #301)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.cxx')
| -rw-r--r-- | fluid/function_panel.cxx | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx index f560da475..f2fba6ec0 100644 --- a/fluid/function_panel.cxx +++ b/fluid/function_panel.cxx @@ -1,4 +1,4 @@ -// generated by Fast Light User Interface Designer (fluid) version 1.0104 +// generated by Fast Light User Interface Designer (fluid) version 1.0105 #include "function_panel.h" #include <FL/Fl_Pixmap.H> @@ -73,7 +73,7 @@ Fl_Button *code_panel_cancel=(Fl_Button *)0; Fl_Window* make_code_panel() { Fl_Window* w; - { Fl_Window* o = code_panel = new Fl_Window(548, 175, "code"); + { Fl_Window* o = code_panel = new Fl_Window(545, 175, "code"); w = o; { Fl_Group* o = new Fl_Group(10, 10, 525, 120); o->box(FL_DOWN_FRAME); @@ -153,11 +153,13 @@ Fl_Return_Button *declblock_panel_ok=(Fl_Return_Button *)0; Fl_Button *declblock_panel_cancel=(Fl_Button *)0; +Fl_Light_Button *declblock_public_button=(Fl_Light_Button *)0; + Fl_Window* make_declblock_panel() { Fl_Window* w; - { Fl_Window* o = declblock_panel = new Fl_Window(295, 130, "declaration block"); + { Fl_Window* o = declblock_panel = new Fl_Window(295, 155, "declaration block"); w = o; - { Fl_Input* o = decl_before_input = new Fl_Input(10, 10, 275, 25); + { Fl_Input* o = decl_before_input = new Fl_Input(10, 35, 275, 25); o->tooltip("#ifdef or similar conditional declaration block."); o->labelsize(12); o->textfont(4); @@ -165,22 +167,27 @@ Fl_Window* make_declblock_panel() { o->when(FL_WHEN_NEVER); Fl_Group::current()->resizable(o); } - { Fl_Box* o = new Fl_Box(10, 35, 275, 25, "\"\\n...child code...\\n\" is inserted here"); + { Fl_Box* o = new Fl_Box(10, 60, 275, 25, "\"\\n...child code...\\n\" is inserted here"); o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); } - { Fl_Input* o = decl_after_input = new Fl_Input(10, 60, 275, 25); + { Fl_Input* o = decl_after_input = new Fl_Input(10, 85, 275, 25); o->tooltip("#endif or similar declaration code block."); o->labelsize(12); o->textfont(4); o->align(FL_ALIGN_TOP_LEFT); o->when(FL_WHEN_NEVER); } - { Fl_Return_Button* o = declblock_panel_ok = new Fl_Return_Button(120, 95, 80, 25, "OK"); + { Fl_Return_Button* o = declblock_panel_ok = new Fl_Return_Button(120, 120, 80, 25, "OK"); w->hotspot(o); } - { Fl_Button* o = declblock_panel_cancel = new Fl_Button(205, 95, 80, 25, "Cancel"); + { Fl_Button* o = declblock_panel_cancel = new Fl_Button(205, 120, 80, 25, "Cancel"); o->shortcut(0xff1b); } + { Fl_Light_Button* o = declblock_public_button = new Fl_Light_Button(9, 6, 65, 25, "public"); + o->tooltip("Make the declaration publicly accessible."); + o->labelsize(10); + o->when(FL_WHEN_NEVER); + } o->set_modal(); o->end(); } @@ -280,11 +287,11 @@ void type_make_cb(Fl_Widget*w,void*d) { if (t) {select_only(t); modflag = 1; t->open();} } -Fl_Double_Window *widgetbin_panel=(Fl_Double_Window *)0; +Fl_Window *widgetbin_panel=(Fl_Window *)0; -Fl_Double_Window* make_widgetbin() { - Fl_Double_Window* w; - { Fl_Double_Window* o = widgetbin_panel = new Fl_Double_Window(443, 100, "Bin"); +Fl_Window* make_widgetbin() { + Fl_Window* w; + { Fl_Window* o = widgetbin_panel = new Fl_Window(440, 100, "Bin"); w = o; { Fl_Group* o = new Fl_Group(3, 3, 50, 74); o->box(FL_THIN_DOWN_BOX); |
