Changeset 3164 for code/branches/pch/src/orxonox/overlays
- Timestamp:
- Jun 14, 2009, 11:28:00 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/overlays/OverlayText.cc
r3150 r3164 162 162 void OverlayText::setAlignment(OverlayText::Alignment alignment) 163 163 { 164 this->text_->setAlignment( (Ogre::TextAreaOverlayElement::Alignment)alignment);164 this->text_->setAlignment(static_cast<Ogre::TextAreaOverlayElement::Alignment>(alignment)); 165 165 } 166 166 OverlayText::Alignment OverlayText::getAlignment() const 167 167 { 168 return (OverlayText::Alignment)this->text_->getAlignment();168 return static_cast<OverlayText::Alignment>(this->text_->getAlignment()); 169 169 } 170 170 }
Note: See TracChangeset
for help on using the changeset viewer.