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/about_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/about_panel.h')
| -rw-r--r-- | fluid/about_panel.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/about_panel.h b/fluid/about_panel.h index bd05e658c..5f82833b6 100644 --- a/fluid/about_panel.h +++ b/fluid/about_panel.h @@ -3,14 +3,14 @@ #ifndef about_panel_h #define about_panel_h #include <FL/Fl.H> -#include <FL/Fl_Box.H> -#include <FL/Fl_Button.H> -#include <FL/Fl_Group.H> -#include <FL/Fl_Return_Button.H> #include <FL/Fl_Window.H> extern Fl_Window *about_panel; +#include <FL/Fl_Group.H> extern Fl_Group *display_group; +#include <FL/Fl_Box.H> +#include <FL/Fl_Button.H> extern Fl_Box *copyright_box; +#include <FL/Fl_Return_Button.H> Fl_Window* make_about_panel(const char *copyright); extern Fl_Window *about_panel; extern Fl_Group *display_group; |
