Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 25, 2008, 9:07:55 PM (16 years ago)
Author:
rgrieder
Message:

Added documentation for OrxonoxOverlay and clarified the size/actual size mess.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/overlays/OverlayText.cc

    r1616 r1622  
    102102    void OverlayText::sizeChanged()
    103103    {
    104         this->overlay_->setScale(getSize().y, getSize().y);
     104        this->overlay_->setScale(size_.y * sizeCorrection_.y, size_.y * sizeCorrection_.y);
    105105        positionChanged();
    106106    }
Note: See TracChangeset for help on using the changeset viewer.