Changeset 8441 in orxonox.OLD
- Timestamp:
- Jun 15, 2006, 10:22:12 AM (18 years ago)
- Location:
- branches/gui
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/Makefile.am
r4976 r8441 28 28 include doc/documentation.am 29 29 endif 30 31 32 version: 33 echo VERSION: $(PACKAGE_VERSION) -
branches/gui/src/lib/gui/gl/glgui_defs.h
r8145 r8441 15 15 Vertical //!< Vertical Orientation. 16 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 17 28 }; 18 29 -
branches/gui/src/lib/gui/gl/glgui_style.h
r8440 r8441 7 7 #define _GLGUI_STYLE_H 8 8 9 // FORWARD DECLARATION 9 #include "glgui_defs.h" 10 10 11 11 #include "font.h" … … 27 27 FeatureBottom, //!< At the Bottom of the rest of the Widget. 28 28 } FeaturePosition; 29 30 31 29 32 30 public: … … 51 49 StatedStyle; 52 50 53 StatedStyle _style[4]; 51 52 StatedStyle _style[GLGUI_STATE_COUNT]; 54 53 55 54 FeaturePosition _featurePosition; //!< The Position a Feature will be layed at (checkbox(box), slider(text),...) 56 Font* _font; //!< The Font used in the current Widget.55 Font* _font; //!< The Font used in the current Widget. 57 56 58 57 -
branches/gui/src/lib/gui/gl/glgui_widget.h
r8440 r8441 30 30 class GLGuiWidget : public Element2D 31 31 { 32 public:33 //! An enumerator that defines the different states Widgets may be in.34 typedef enum {35 Normal, //!< Normal state of the GUI's Widgets.36 Active, //!< If the widget is Active.37 Selected, //!< If the Widget is Selected.38 Insensitive //!< If the Widget is insensitive.39 } State;40 41 42 43 32 public: 44 33 GLGuiWidget(GLGuiWidget* parent = NULL); -
branches/gui/src/util/hud.cc
r8419 r8441 21 21 22 22 #include "world_entities/weapons/weapon_manager.h" 23 24 using namespace std; 25 23 #include "glgui_widget.h" 26 24 27 25 /** -
branches/gui/src/util/hud.h
r8145 r8441 7 7 #define _HUD_H 8 8 9 #include "glgui_widget.h" 10 #include <list> 11 9 #include "element_2d.h" 12 10 // FORWARD DECLARATION 13 11 class TiXmlElement; 14 12 class WeaponManager; 13 namespace OrxGui { class GLGuiWidget; } 15 14 16 15 //! A class that renders a HUD.
Note: See TracChangeset
for help on using the changeset viewer.