- Timestamp:
- Oct 22, 2008, 5:25:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/overlays/OverlayText.h
r1625 r1993 34 34 #include <string> 35 35 #include <OgrePrerequisites.h> 36 #include <OgreTextAreaOverlayElement.h> 36 37 #include "OrxonoxOverlay.h" 37 38 … … 49 50 virtual void sizeChanged(); 50 51 51 void setCaption(const std::string& caption) { this->caption_ = caption; }52 void setCaption(const std::string& caption); 52 53 const std::string& getCaption() const { return this->caption_; } 53 54 54 55 void setFont(const std::string& font); 55 56 const std::string& getFont() const; 57 58 void setColour(const ColourValue& colour); 59 const ColourValue& getColour() const; 60 61 void setAlignment(Ogre::TextAreaOverlayElement::Alignment alignment); 62 void setAlignment(const std::string& alignment); 63 std::string getAlignment() const; 56 64 57 65 void setTextSize(float size) { this->setSize(Vector2(size, size)); }
Note: See TracChangeset
for help on using the changeset viewer.