summaryrefslogtreecommitdiffstats
path: root/fltk/fltk/InvisibleBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'fltk/fltk/InvisibleBox.h')
-rw-r--r--fltk/fltk/InvisibleBox.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/fltk/fltk/InvisibleBox.h b/fltk/fltk/InvisibleBox.h
new file mode 100644
index 0000000..b504203
--- /dev/null
+++ b/fltk/fltk/InvisibleBox.h
@@ -0,0 +1,30 @@
+//
+// "$Id: InvisibleBox.h 5698 2007-02-19 05:40:36Z spitzak $"
+//
+// This is a box that is invisible due to not having a box. The
+// label still prints so it can be used to position labels. Also
+// this is useful as a resizable() widget.
+
+#ifndef fltk_InvisibleBox_h
+#define fltk_InvisibleBox_h
+
+#include "Widget.h"
+
+namespace fltk {
+
+class FL_API InvisibleBox : public Widget {
+public:
+ InvisibleBox(int x, int y, int w, int h, const char *l=0);
+ InvisibleBox(Box* b, int x, int y, int w, int h, const char *l);
+ static NamedStyle* default_style;
+ int handle(int);
+ void draw();
+};
+
+}
+
+#endif
+
+//
+// End of "$Id: InvisibleBox.h 5698 2007-02-19 05:40:36Z spitzak $".
+//