Changeset 1604 for code/branches/hud/src/orxonox/overlays/hud/HUDText.cc
- Timestamp:
- Jun 15, 2008, 1:09:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/overlays/hud/HUDText.cc
r1601 r1604 67 67 this->background_ = static_cast<PanelOverlayElement*>( 68 68 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);72 69 73 70 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);76 71 this->text_->setCharHeight(1.0f); 77 72 this->text_->setFontName("Monofur");
Note: See TracChangeset
for help on using the changeset viewer.