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

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

Glut initial import used by Geometry modules

Line 
1/* Values of the bits stored in Widget::layout_damage(). */
2
3#ifndef fltk_layout_h
4#define fltk_layout_h
5
6namespace fltk {
7
8/*! \addtogroup layout
9  \{ */
10
11enum {
12  LAYOUT_X      = 0x01, /*!< Widget::x() changed by resize() */
13  LAYOUT_Y      = 0x02, /*!< Widget::y() changed by resize() */
14  LAYOUT_XY     = 0x03, /*!< Same as LAYOUT_X|LAYOUT_Y */
15  LAYOUT_W      = 0x04, /*!< Widget::w() changed by resize() */
16  LAYOUT_H      = 0x08, /*!< Widget::h() changed by resize() */
17  LAYOUT_WH     = 0x0C, /*!< Same as LAYOUT_W|LAYOUT_H */
18  LAYOUT_XYWH   = 0x0F, /*!< Same as LAYOUT_XY|LAYOUT_WH */
19  LAYOUT_CHILD  = 0x10, /*!< Widget::layout() needs to be called on a child of this group widget. */
20  LAYOUT_USER   = 0x20, /*!< The moving/resizing is being caused by the user and not internal code. */
21  LAYOUT_DAMAGE = 0x80  /*!< Widget::relayout() was called. */
22};
23/*! \} */
24
25}
26
27#endif
Note: See TracBrowser for help on using the repository browser.