Line | |
---|
1 | /*! |
---|
2 | * @file glgui_defs.h |
---|
3 | * Definitions for the GLGui. |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _GLGUI_DEFS_H |
---|
7 | #define _GLGUI_DEFS_H |
---|
8 | |
---|
9 | /// TODO MOVE TO ORXGUI_TYPES |
---|
10 | namespace OrxGui |
---|
11 | { |
---|
12 | //! An enumeration for the Orientation of an Element. |
---|
13 | typedef enum { |
---|
14 | Horizontal, //!< Horizontal Orientation. |
---|
15 | Vertical //!< Vertical Orientation. |
---|
16 | } Orientation; |
---|
17 | |
---|
18 | //! An enumerator that defines the different states Widgets may be in. |
---|
19 | typedef enum { |
---|
20 | Normal, //!< Normal state of the GUI's Widgets. |
---|
21 | Active, //!< If the widget is Active. |
---|
22 | Selected, //!< If the Widget is Selected. |
---|
23 | Insensitive //!< If the Widget is insensitive. |
---|
24 | } State; |
---|
25 | #define GLGUI_STATE_COUNT 4 |
---|
26 | |
---|
27 | |
---|
28 | }; |
---|
29 | |
---|
30 | |
---|
31 | #endif /* _GLGUI_DEFS_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.