From 16a999efd0f14f0a99fb01c4e8484ace744fd416 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Thu, 5 Aug 1999 08:01:40 +0000 Subject: 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 --- fluid/function_panel.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fluid/function_panel.h') 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 -#include -#include -#include -#include -#include #include extern Fl_Window *function_panel; +#include extern Fl_Light_Button *f_public_button; +#include extern Fl_Input *f_name_input; extern Fl_Input *f_return_type_input; +#include extern Fl_Return_Button *f_panel_ok; +#include 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 extern Fl_Input *code_after_input; extern Fl_Return_Button *codeblock_panel_ok; extern Fl_Button *codeblock_panel_cancel; -- cgit v1.2.3