Revision 773,
680 bytes
checked in by gumbau, 19 years ago
(diff) |
FLTK imported to SVN repository to be linked agains the GeoTool? application
|
Rev | Line | |
---|
[773] | 1 | // |
---|
| 2 | // "$Id: InvisibleBox.h 2877 2002-12-15 10:42:54Z spitzak $" |
---|
| 3 | // |
---|
| 4 | // This is a box that is invisible due to not having a box. The |
---|
| 5 | // label still prints so it can be used to position labels. Also |
---|
| 6 | // this is useful as a resizable() widget. |
---|
| 7 | |
---|
| 8 | #ifndef fltk_InvisibleBox_h |
---|
| 9 | #define fltk_InvisibleBox_h |
---|
| 10 | |
---|
| 11 | #include <fltk/Widget.h> |
---|
| 12 | |
---|
| 13 | namespace fltk { |
---|
| 14 | |
---|
| 15 | class FL_API InvisibleBox : public fltk::Widget { |
---|
| 16 | public: |
---|
| 17 | InvisibleBox(int x, int y, int w, int h, const char *l=0); |
---|
| 18 | InvisibleBox(fltk::Box* b, int x, int y, int w, int h, const char *l); |
---|
| 19 | static fltk::NamedStyle* default_style; |
---|
| 20 | void draw(); |
---|
| 21 | }; |
---|
| 22 | |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | #endif |
---|
| 26 | |
---|
| 27 | // |
---|
| 28 | // End of "$Id: InvisibleBox.h 2877 2002-12-15 10:42:54Z spitzak $". |
---|
| 29 | // |
---|
Note: See
TracBrowser
for help on using the repository browser.