Improved the handling of updating of text

This commit is contained in:
Robert Osfield
2014-05-20 08:35:39 +00:00
parent d917987938
commit 8346f0ebe1
3 changed files with 23 additions and 7 deletions

View File

@@ -29,8 +29,7 @@ public:
virtual bool handleImplementation(osgGA::EventVisitor* ev, osgGA::Event* event);
void setText(const std::string& text) { _text = text; dirty(); }
std::string& getText() { return _text; }
void setText(const std::string& text);
const std::string& getText() const { return _text; }
virtual void createGraphicsImplementation();