summaryrefslogtreecommitdiffstats
path: root/fltk/fltk/compat/FL/Fl_Button.H
diff options
context:
space:
mode:
Diffstat (limited to 'fltk/fltk/compat/FL/Fl_Button.H')
-rw-r--r--fltk/fltk/compat/FL/Fl_Button.H16
1 files changed, 16 insertions, 0 deletions
diff --git a/fltk/fltk/compat/FL/Fl_Button.H b/fltk/fltk/compat/FL/Fl_Button.H
new file mode 100644
index 0000000..a49c809
--- /dev/null
+++ b/fltk/fltk/compat/FL/Fl_Button.H
@@ -0,0 +1,16 @@
+#ifndef Fl_Button_H
+#define Fl_Button_H
+
+#include "Fl_Widget.H"
+#include <fltk/Button.h>
+typedef fltk::Button Fl_Button;
+
+enum {
+ FL_NORMAL_BUTTON = 0,
+ FL_TOGGLE_BUTTON = fltk::Button::TOGGLE,
+ FL_RADIO_BUTTON = fltk::Button::RADIO,
+ FL_HIDDEN_BUTTON = fltk::Button::HIDDEN // may not work in 2.0
+};
+
+#endif
+