summaryrefslogtreecommitdiff
path: root/FL/Fl_Box.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Box.H')
-rw-r--r--FL/Fl_Box.H19
1 files changed, 19 insertions, 0 deletions
diff --git a/FL/Fl_Box.H b/FL/Fl_Box.H
new file mode 100644
index 000000000..a1936a094
--- /dev/null
+++ b/FL/Fl_Box.H
@@ -0,0 +1,19 @@
+/* Fl_Box.H */
+
+#ifndef Fl_Box_H
+#define Fl_Box_H
+
+#ifndef Fl_Widget_H
+#include "Fl_Widget.H"
+#endif
+
+class Fl_Box : public Fl_Widget {
+ void draw();
+public:
+ Fl_Box(int x, int y, int w, int h, const char *l=0)
+ : Fl_Widget(x,y,w,h,l) {}
+ Fl_Box(Fl_Boxtype b, int x, int y, int w, int h, const char *l)
+ : Fl_Widget(x,y,w,h,l) {box(b);}
+};
+
+#endif