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/hud/HUDText.cc

    r1601 r1604  
    6767      this->background_ = static_cast<PanelOverlayElement*>(
    6868              OverlayManager::getSingleton().createOverlayElement("Panel", getName() + "_Background"));
    69       this->background_->setMetricsMode(GMM_RELATIVE);
    70       this->background_->setDimensions(1.0f, 1.0f);
    71       this->background_->setPosition(0.0f, 0.0f);
    7269
    7370      this->text_ = static_cast<TextAreaOverlayElement*>(Ogre::OverlayManager::getSingleton().createOverlayElement("TextArea", getName() + "_Text"));
    74       this->text_->setMetricsMode(Ogre::GMM_RELATIVE);
    75       this->text_->setPosition(0.0f, 0.0f);
    7671      this->text_->setCharHeight(1.0f);
    7772      this->text_->setFontName("Monofur");
Note: See TracChangeset for help on using the changeset viewer.