summaryrefslogtreecommitdiffstats
path: root/fltk-2/include/fltk/InvisibleBox.h
blob: b5042039f9a7649aee96180689292690f7b4ce50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 $".
//