Improved the handling of updating of text
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user