Changeset 7216 in orxonox.OLD for branches/std/src/world_entities/elements
- Timestamp:
- Mar 12, 2006, 8:54:30 AM (18 years ago)
- Location:
- branches/std/src/world_entities/elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/world_entities/elements/text_element.cc
r7193 r7216 70 70 } 71 71 72 void TextElement::setText(const char*text)72 void TextElement::setText(const std::string& text) 73 73 { 74 74 Text::setText(text); 75 75 } 76 76 77 void TextElement::setFont(const char*font)77 void TextElement::setFont(const std::string& font) 78 78 { 79 79 Text::setFont(font, (unsigned int)this->getSizeY2D()); -
branches/std/src/world_entities/elements/text_element.h
r7019 r7216 29 29 virtual void loadParams(const TiXmlElement* root); 30 30 31 void setText(const char*text);32 void setFont(const char*font);31 void setText(const std::string& text); 32 void setFont(const std::string& font); 33 33 34 34 private:
Note: See TracChangeset
for help on using the changeset viewer.