00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef Fl_Pack_H
00023 #define Fl_Pack_H
00024
00025 #include <FL/Fl_Group.H>
00026
00043 class FL_EXPORT Fl_Pack : public Fl_Group {
00044 int spacing_;
00045
00046 public:
00047 enum {
00048 VERTICAL = 0,
00049 HORIZONTAL = 1
00050 };
00051
00052 protected:
00053 void draw();
00054
00055 public:
00056 Fl_Pack(int x,int y,int w ,int h,const char *l = 0);
00061 int spacing() const {return spacing_;}
00066 void spacing(int i) {spacing_ = i;}
00068 uchar horizontal() const {return type();}
00069 };
00070
00071 #endif
00072
00073
00074
00075