source: NonGTP/glut/FLTK/include/fltk/InvisibleBox.h @ 814

Revision 814, 680 bytes checked in by gumbau, 18 years ago (diff)

Glut initial import used by Geometry modules

Line 
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
13namespace fltk {
14
15class FL_API InvisibleBox : public fltk::Widget {
16public:
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.