Changeset 1590 for code/branches/hud/src/orxonox/hud/HUDOverlay.h
- Timestamp:
- Jun 12, 2008, 12:57:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/hud/HUDOverlay.h
r1588 r1590 33 33 34 34 #include <OgrePrerequisites.h> 35 #include "tools/WindowEventListener.h" 35 36 #include "util/Math.h" 36 37 #include "core/BaseObject.h" … … 38 39 namespace orxonox 39 40 { 40 class _OrxonoxExport HUDOverlay : public BaseObject 41 class _OrxonoxExport HUDOverlay : public BaseObject, public WindowEventListener 41 42 { 42 43 public: … … 76 77 77 78 protected: 79 virtual void windowResized(int newWidth, int newHeight); 80 78 81 Ogre::Overlay* overlay_; 82 float windowAspectRatio_; 83 int windowWidth_; 84 int windowHeight_; 79 85 80 private:81 static unsigned int hudOverlayCounter_s;86 private: 87 static unsigned int hudOverlayCounter_s; 82 88 83 89 };
Note: See TracChangeset
for help on using the changeset viewer.