summaryrefslogtreecommitdiff
path: root/fluid/alignment_panel.h
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-08-05 08:01:40 +0000
committerBill Spitzak <spitzak@gmail.com>1999-08-05 08:01:40 +0000
commit16a999efd0f14f0a99fb01c4e8484ace744fd416 (patch)
treeb8fc60dab27eeb0e74bbfd075f971cb93d61334a /fluid/alignment_panel.h
parent243525a9036b6221408bcf7ba234d6385d3a9c60 (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/alignment_panel.h')
-rw-r--r--fluid/alignment_panel.h14
1 files changed, 7 insertions, 7 deletions
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 <FL/Fl.H>
+#include <FL/Fl_Window.H>
+extern Fl_Window *alignment_window;
#include <FL/Fl_Box.H>
-#include <FL/Fl_Button.H>
#include <FL/Fl_Input.H>
-#include <FL/Fl_Light_Button.H>
-#include <FL/Fl_Window.H>
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 <FL/Fl_Button.H>
+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 <FL/Fl_Light_Button.H>
+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;