Implement presentation update feature that reloads the presentation on pressing 'u'.

This commit is contained in:
Robert Osfield
2011-11-04 12:50:05 +00:00
parent e8bae33143
commit 693d79c638
4 changed files with 123 additions and 195 deletions

View File

@@ -263,6 +263,10 @@ public:
void dispatchEvent(const KeyPosition& keyPosition);
void setRequestReload(bool flag);
bool getRequestReload() const { return _requestReload; }
protected:
~SlideEventHandler() {}
@@ -314,6 +318,8 @@ protected:
osg::ref_ptr<CompileSlideCallback> _compileSlideCallback;
bool _requestReload;
void updateOperators();
};