Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 29, 2008, 6:45:53 PM (16 years ago)
Author:
rgrieder
Message:
  • added font generation for the console (so that we can create the exact font size, looks sharper)
  • fixed 2 bugs with the size of an OrxonoxOverlay
  • fixed a bug with the visibility of entire OverlayGroups
File:
1 edited

Legend:

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

    r1632 r1633  
    132132
    133133        //! Gets the current size that was set (uncorrected)
    134         Vector2 getSize() const                   { return this->size_ * this->sizeCorrection_; }
     134        const Vector2& getSize() const                   { return this->size_; }
    135135
    136136        //! Gets the actual size of the overlay on the screen (corrected)
    137         const Vector2& getActualSize() const      { return this->size_; }
     137        Vector2 getActualSize() const      { return this->size_ * this->sizeCorrection_; }
    138138
    139139        //! Gets the current size correction (default: 1.0, 1.0)
Note: See TracChangeset for help on using the changeset viewer.