Changeset 8973 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_text.h
- Timestamp:
- Jul 1, 2006, 11:37:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glgui_text.h
r8972 r8973 25 25 virtual ~GLGuiText(); 26 26 27 void setText(); 27 void setText(const std::string& text); 28 void append(const std::string& appendText); 29 void appendCharacter(char character); 30 void removeCharacters(unsigned int chars); 31 void clear(); 28 32 29 virtual void draw(); 33 const std::string& text() const { return _text.text(); }; 34 35 36 virtual void draw() const; 37 38 DeclareSignal1(textChanged, const std::string&); 39 40 protected: 41 virtual void updateFrontColor(); 42 virtual void hiding(); 43 virtual void showing(); 44 virtual void resize(); 30 45 31 46 private: 32 47 void init(); 48 void changedText(); 33 49 34 50 35 51 private: 36 Text text;52 Text _text; 37 53 }; 38 54 }
Note: See TracChangeset
for help on using the changeset viewer.