[773] | 1 | // |
---|
| 2 | // "$Id: TiledGroup.h 2973 2003-04-20 03:17:51Z easysw $" |
---|
| 3 | // |
---|
| 4 | // The child widgets are expected to be all laid out to touch each other |
---|
| 5 | // and fill this group. The user can then move the boundaries between |
---|
| 6 | // them by grabbing the junctions between the children. |
---|
| 7 | // |
---|
| 8 | // Copyright 1998-2003 by Bill Spitzak and others. |
---|
| 9 | // |
---|
| 10 | // This library is free software; you can redistribute it and/or |
---|
| 11 | // modify it under the terms of the GNU Library General Public |
---|
| 12 | // License as published by the Free Software Foundation; either |
---|
| 13 | // version 2 of the License, or (at your option) any later version. |
---|
| 14 | // |
---|
| 15 | // This library is distributed in the hope that it will be useful, |
---|
| 16 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 17 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
| 18 | // Library General Public License for more details. |
---|
| 19 | // |
---|
| 20 | // You should have received a copy of the GNU Library General Public |
---|
| 21 | // License along with this library; if not, write to the Free Software |
---|
| 22 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
---|
| 23 | // USA. |
---|
| 24 | // |
---|
| 25 | // Please report all bugs and problems to "fltk-bugs@fltk.org". |
---|
| 26 | // |
---|
| 27 | |
---|
| 28 | #ifndef fltk_TiledGroup_h |
---|
| 29 | #define fltk_TiledGroup_h |
---|
| 30 | |
---|
| 31 | #include "Group.h" |
---|
| 32 | |
---|
| 33 | namespace fltk { |
---|
| 34 | |
---|
| 35 | class FL_API TiledGroup : public Group { |
---|
| 36 | protected: |
---|
| 37 | void layout(); |
---|
| 38 | public: |
---|
| 39 | int handle(int); |
---|
| 40 | TiledGroup(int X,int Y,int W,int H,const char*l=0) : Group(X,Y,W,H,l) {} |
---|
| 41 | void position(int, int, int, int); |
---|
| 42 | }; |
---|
| 43 | |
---|
| 44 | } |
---|
| 45 | #endif |
---|
| 46 | |
---|
| 47 | // |
---|
| 48 | // End of "$Id: TiledGroup.h 2973 2003-04-20 03:17:51Z easysw $". |
---|
| 49 | // |
---|