summaryrefslogtreecommitdiff
path: root/FL/Fl_Pack.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Pack.H')
-rw-r--r--FL/Fl_Pack.H22
1 files changed, 22 insertions, 0 deletions
diff --git a/FL/Fl_Pack.H b/FL/Fl_Pack.H
new file mode 100644
index 000000000..5cc59439f
--- /dev/null
+++ b/FL/Fl_Pack.H
@@ -0,0 +1,22 @@
+// Fl_Pack.H
+
+#ifndef Fl_Pack_H
+#define Fl_Pack_H
+
+#include <FL/Fl_Group.H>
+
+class Fl_Pack : public Fl_Group {
+ int spacing_;
+public:
+ enum { // values for type(int)
+ VERTICAL = 0,
+ HORIZONTAL = 1
+ };
+ void draw();
+ Fl_Pack(int x,int y,int w ,int h,const char *l = 0);
+ int spacing() const {return spacing_;}
+ void spacing(int i) {spacing_ = i;}
+ uchar horizontal() const {return type();}
+};
+
+#endif