- Timestamp:
- Jun 15, 2006, 10:37:56 AM (19 years ago)
- Location:
- branches/gui/src/lib/gui/gl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_defs.h
r8441 r8442 7 7 #define _GLGUI_DEFS_H 8 8 9 #include <string> 10 9 11 /// TODO MOVE TO ORXGUI_TYPES 10 12 namespace OrxGui 11 13 { 14 //! if the Element should be visible by default. 15 #define GLGUI_WIDGET_DEFAULT_VISIBLE false 16 17 12 18 //! An enumeration for the Orientation of an Element. 13 19 typedef enum { 14 Horizontal, //!< Horizontal Orientation.15 Vertical //!< Vertical Orientation.20 Horizontal, //!< Horizontal Orientation. 21 Vertical //!< Vertical Orientation. 16 22 } Orientation; 23 24 const std::string OrientationString[2] = { 25 "Horizontal", 26 "Vertical" 27 }; 17 28 18 29 //! An enumerator that defines the different states Widgets may be in. … … 23 34 Insensitive //!< If the Widget is insensitive. 24 35 } State; 36 //! The count of States a GUI-Element can be in. 25 37 #define GLGUI_STATE_COUNT 4 38 39 const std::string StateString[] = 40 { 41 "Normal", 42 "Active", 43 "Selected", 44 "Insensitive" 45 }; 46 47 26 48 27 49 -
branches/gui/src/lib/gui/gl/glgui_widget.h
r8441 r8442 21 21 class GLGuiCursor; 22 22 23 //! if the Element should be visible by default.24 #define GLGUI_WIDGET_DEFAULT_VISIBLE false25 23 26 24 //! This is widget part of the openglGUI class
Note: See TracChangeset
for help on using the changeset viewer.