Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7893 in orxonox.OLD for branches/gui/src/lib/graphics


Ignore:
Timestamp:
May 27, 2006, 4:07:35 AM (19 years ago)
Author:
bensch
Message:

gui: InputLine appends

Location:
branches/gui/src/lib/graphics/text_engine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/graphics/text_engine/text.cc

    r7892 r7893  
    126126  this->setupTextWidth();
    127127}
     128
     129/**
     130 * @brief appends one Character to the String.
     131 */
     132void Text::appendCharacter(char character)
     133{
     134  this->text += character;
     135  this->setupTextWidth();
     136}
     137
    128138
    129139/**
  • branches/gui/src/lib/graphics/text_engine/text.h

    r7892 r7893  
    3737    void setText(const std::string& text);
    3838    void append(const std::string& appendText);
     39    void appendCharacter(char character);
    3940    const std::string& operator<<(const std::string& appendText);
    4041    void removeCharacters(unsigned int chars);
Note: See TracChangeset for help on using the changeset viewer.