Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2008, 1:09:07 AM (16 years ago)
Author:
rgrieder
Message:
  • adjusted Radar to fit in XML loading scheme
  • OverlayGroup should be more or less what I imagine for now (only supports scale method to scale the entire HUD)
  • singletonized HUDNavigation (and HUDRadar of course): These are temporary hacks!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/overlays/OrxonoxOverlay.h

    r1601 r1604  
    4242  {
    4343    public:
     44      Ogre::Overlay* getOverlay() { return this->overlay_; }
    4445      OrxonoxOverlay();
    4546      virtual ~OrxonoxOverlay();
     
    7475      void rotate(const Radian& angle) { this->angle_ += angle; this->angleChanged(); }
    7576
    76       /** Sets the scaling factor of this overlay. */
     77      /** Sets the size of this overlay. */
    7778      void setSize(const Vector2& size) { this->size_ = size; this->sizeChanged(); }
    7879
    7980      /** Gets the current size (not corrected) */
    80       Vector2 getSize() const { return this->size_; }
     81      Vector2 getUncorrectedSize() const { return this->size_; }
    8182
    8283      /** Gets the current size (corrected) */
    83       Vector2 getActualSize() const { return this->size_ * this->sizeCorrection_; }
     84      Vector2 getSize() const { return this->size_ * this->sizeCorrection_; }
    8485
    8586      /** Gets the current size correction */
Note: See TracChangeset for help on using the changeset viewer.