diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-08-05 09:01:25 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-08-05 09:01:25 +0000 |
| commit | 467e73ed0b946bf882479c941bf666716482de7e (patch) | |
| tree | 5d6aa98810572aabe6fc693b512a8d1451548352 /fluid/function_panel.cxx | |
| parent | 16a999efd0f14f0a99fb01c4e8484ace744fd416 (diff) | |
Added Chrisophe Kalt's patch to add "extern "C"" to functions
if desired.
Added Chrisophe Kalt's patch to let you create Fl_Pack.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.cxx')
| -rw-r--r-- | fluid/function_panel.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx index 77a50fcdb..12a5c1e32 100644 --- a/fluid/function_panel.cxx +++ b/fluid/function_panel.cxx @@ -6,6 +6,8 @@ Fl_Window *function_panel=(Fl_Window *)0; Fl_Light_Button *f_public_button=(Fl_Light_Button *)0; +Fl_Light_Button *f_c_button=(Fl_Light_Button *)0; + Fl_Input *f_name_input=(Fl_Input *)0; Fl_Input *f_return_type_input=(Fl_Input *)0; @@ -22,6 +24,9 @@ Fl_Window* make_function_panel() { o->labelsize(10); o->when(FL_WHEN_NEVER); } + { Fl_Light_Button* o = f_c_button = new Fl_Light_Button(90, 15, 90, 25, "C declaration"); + o->labelsize(10); + } { Fl_Input* o = f_name_input = new Fl_Input(10, 60, 270, 25, "Name(args): (blank for main())"); o->labelsize(12); o->align(FL_ALIGN_TOP_LEFT); |
