- Timestamp:
- Oct 28, 2008, 3:05:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/overlays/OverlayText.h
r2019 r2024 47 47 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); 48 48 49 protected:50 virtual void sizeChanged();51 52 49 void setCaption(const std::string& caption); 53 50 const std::string& getCaption() const { return this->caption_; } … … 60 57 61 58 void setAlignment(Ogre::TextAreaOverlayElement::Alignment alignment); 62 void setAlignment(const std::string& alignment); 63 std::string getAlignment() const; 59 Ogre::TextAreaOverlayElement::Alignment getAlignment() const; 60 61 protected: 62 virtual void sizeChanged(); 63 64 void setAlignmentString(const std::string& alignment); 65 std::string getAlignmentString() const; 64 66 65 67 void setTextSize(float size) { this->setSize(Vector2(size, size)); }
Note: See TracChangeset
for help on using the changeset viewer.