From 467e73ed0b946bf882479c941bf666716482de7e Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Thu, 5 Aug 1999 09:01:25 +0000 Subject: 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 --- fluid/function_panel.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fluid/function_panel.cxx') 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); -- cgit v1.2.3