Changeset 1604 for code/branches/hud/src/orxonox/overlays/OrxonoxOverlay.h
- Timestamp:
- Jun 15, 2008, 1:09:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/overlays/OrxonoxOverlay.h
r1601 r1604 42 42 { 43 43 public: 44 Ogre::Overlay* getOverlay() { return this->overlay_; } 44 45 OrxonoxOverlay(); 45 46 virtual ~OrxonoxOverlay(); … … 74 75 void rotate(const Radian& angle) { this->angle_ += angle; this->angleChanged(); } 75 76 76 /** Sets the s caling factorof this overlay. */77 /** Sets the size of this overlay. */ 77 78 void setSize(const Vector2& size) { this->size_ = size; this->sizeChanged(); } 78 79 79 80 /** Gets the current size (not corrected) */ 80 Vector2 get Size() const { return this->size_; }81 Vector2 getUncorrectedSize() const { return this->size_; } 81 82 82 83 /** Gets the current size (corrected) */ 83 Vector2 get ActualSize() const { return this->size_ * this->sizeCorrection_; }84 Vector2 getSize() const { return this->size_ * this->sizeCorrection_; } 84 85 85 86 /** Gets the current size correction */
Note: See TracChangeset
for help on using the changeset viewer.