Changeset 6441 in orxonox.OLD for trunk/src/util/hud.h
- Timestamp:
- Jan 8, 2006, 4:02:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/hud.h
r6438 r6441 15 15 16 16 //! A class that renders a HUD. 17 class Hud : p rivateGLGuiWidget17 class Hud : public GLGuiWidget 18 18 { 19 19 … … 21 21 Hud(); 22 22 virtual ~Hud(); 23 23 24 24 25 void loadParams(const TiXmlElement* root); … … 32 33 void removeWeaponWidget(GLGuiWidget* widget); 33 34 34 void setResolution(unsigned int resX, unsigned int resY); 35 void tick(float dt); 36 void draw() const; 35 37 38 private: 39 void updateResolution(); 36 40 private: 37 unsigned int resX; //!< The X-Resolution needed for resizing the Hud.38 unsigned int resY; //!< The Y-Resolution needed for resizing the Hud.41 unsigned int resX; 42 unsigned int resY; 39 43 40 44 GLGuiWidget* energyWidget;
Note: See TracChangeset
for help on using the changeset viewer.