diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-08-05 08:01:40 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-08-05 08:01:40 +0000 |
| commit | 16a999efd0f14f0a99fb01c4e8484ace744fd416 (patch) | |
| tree | b8fc60dab27eeb0e74bbfd075f971cb93d61334a /fluid/function_panel.h | |
| parent | 243525a9036b6221408bcf7ba234d6385d3a9c60 (diff) | |
Fixed so that a public declaration like #include "Foo" is written to the
header file in the correct order, before anything written by an later
object in the fl file. It used to write the extern callback definitions
first, this would fail if they used a type that was in the header file.
This also simplified the (still messy) code by getting rid of the
write_declare() virtual function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.h')
| -rw-r--r-- | fluid/function_panel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fluid/function_panel.h b/fluid/function_panel.h index 9e152077b..ce0962583 100644 --- a/fluid/function_panel.h +++ b/fluid/function_panel.h @@ -3,17 +3,16 @@ #ifndef function_panel_h #define function_panel_h #include <FL/Fl.H> -#include <FL/Fl_Box.H> -#include <FL/Fl_Button.H> -#include <FL/Fl_Input.H> -#include <FL/Fl_Light_Button.H> -#include <FL/Fl_Return_Button.H> #include <FL/Fl_Window.H> extern Fl_Window *function_panel; +#include <FL/Fl_Light_Button.H> extern Fl_Light_Button *f_public_button; +#include <FL/Fl_Input.H> extern Fl_Input *f_name_input; extern Fl_Input *f_return_type_input; +#include <FL/Fl_Return_Button.H> extern Fl_Return_Button *f_panel_ok; +#include <FL/Fl_Button.H> extern Fl_Button *f_panel_cancel; Fl_Window* make_function_panel(); extern Fl_Window *function_panel; @@ -33,6 +32,7 @@ extern Fl_Return_Button *code_panel_ok; extern Fl_Button *code_panel_cancel; extern Fl_Window *codeblock_panel; extern Fl_Input *code_before_input; +#include <FL/Fl_Box.H> extern Fl_Input *code_after_input; extern Fl_Return_Button *codeblock_panel_ok; extern Fl_Button *codeblock_panel_cancel; |
