summaryrefslogtreecommitdiffstats
path: root/fltk/fltk/compat/FL/Fl_Counter.H
diff options
context:
space:
mode:
Diffstat (limited to 'fltk/fltk/compat/FL/Fl_Counter.H')
-rw-r--r--fltk/fltk/compat/FL/Fl_Counter.H15
1 files changed, 15 insertions, 0 deletions
diff --git a/fltk/fltk/compat/FL/Fl_Counter.H b/fltk/fltk/compat/FL/Fl_Counter.H
new file mode 100644
index 0000000..935c3d5
--- /dev/null
+++ b/fltk/fltk/compat/FL/Fl_Counter.H
@@ -0,0 +1,15 @@
+#ifndef Fl_Counter_H
+#define Fl_Counter_H
+
+#include <fltk/ValueInput.h>
+class Fl_Counter : public fltk::ValueInput {
+public:
+ Fl_Counter(int x, int y, int w, int h, const char* l = 0)
+ : fltk::ValueInput(x,y,w,h,l) {align(fltk::ALIGN_BOTTOM);}
+};
+
+// these don't do anything:
+#define FL_NORMAL_COUNTER 0
+#define FL_SIMPLE_COUNTER 1
+
+#endif