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/alignment_panel.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'fluid/alignment_panel.h') diff --git a/fluid/alignment_panel.h b/fluid/alignment_panel.h index 81cfd2df3..2c1acd542 100644 --- a/fluid/alignment_panel.h +++ b/fluid/alignment_panel.h @@ -3,21 +3,21 @@ #ifndef alignment_panel_h #define alignment_panel_h #include +#include +extern Fl_Window *alignment_window; #include -#include #include -#include -#include extern void alignment_cb(Fl_Input*, long); -extern void code_input_cb(Fl_Input*, void*); -extern void header_input_cb(Fl_Input*, void*); -extern void include_H_from_C_button_cb(Fl_Light_Button*, void*); -extern Fl_Window *alignment_window; extern Fl_Input *horizontal_input; extern Fl_Input *vertical_input; extern Fl_Input *snap_input; +#include +extern void header_input_cb(Fl_Input*, void*); extern Fl_Input *header_file_input; +extern void code_input_cb(Fl_Input*, void*); extern Fl_Input *code_file_input; +#include +extern void include_H_from_C_button_cb(Fl_Light_Button*, void*); extern Fl_Light_Button *include_H_from_C_button; Fl_Window* make_alignment_window(); extern Fl_Window *alignment_window; -- cgit v1.2.3