Changeset 3144 for code/branches/pch/src/orxonox/overlays/OrxonoxOverlay.h
- Timestamp:
- Jun 10, 2009, 10:58:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/overlays/OrxonoxOverlay.h
r2993 r3144 37 37 #include "OrxonoxPrereqs.h" 38 38 39 #include <string> 39 40 #include <OgrePrerequisites.h> 40 #include "tools/WindowEventListener.h" 41 41 42 #include "util/Math.h" 42 43 #include "core/BaseObject.h" 44 #include "tools/WindowEventListener.h" 43 45 44 46 namespace orxonox … … 134 136 135 137 //! Gets the current size that was set (uncorrected) 136 const Vector2& getSize() const 138 const Vector2& getSize() const { return this->size_; } 137 139 138 140 //! Gets the actual size of the overlay on the screen (corrected) 139 Vector2 getActualSize() const { return this->size_ * this->sizeCorrection_; }141 Vector2 getActualSize() const { return this->size_ * this->sizeCorrection_; } 140 142 141 143 //! Gets the current size correction (default: 1.0, 1.0) … … 198 200 Vector2 pickPoint_; //!< Point on the overlay to pick when translating 199 201 Degree angle_; //!< Rotation angle of the overlay 200 RotationState rotState_; //!< horizontal, vertical or inbetween202 RotationState rotState_; //!< horizontal, vertical or inbetween 201 203 202 204 private:
Note: See TracChangeset
for help on using the changeset viewer.