Warning fixes

This commit is contained in:
Robert Osfield
2009-05-03 18:51:13 +00:00
parent cd5fa24696
commit 602d83a486
5 changed files with 61 additions and 25 deletions

View File

@@ -205,6 +205,9 @@ public:
virtual void accept(osgGA::GUIEventHandlerVisitor& v) { v.visit(*this); }
/** Event traversal node callback method.*/
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv);
virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&);
virtual void getUsage(osg::ApplicationUsage& usage) const;
@@ -280,13 +283,13 @@ protected:
osg::observer_ptr<osgViewer::Viewer> _viewer;
osg::ref_ptr<osg::Switch> _showSwitch;
unsigned int _activePresentation;
osg::observer_ptr<osg::Switch> _showSwitch;
int _activePresentation;
osg::ref_ptr<osg::Switch> _presentationSwitch;
osg::observer_ptr<osg::Switch> _presentationSwitch;
int _activeSlide;
osg::ref_ptr<osg::Switch> _slideSwitch;
osg::observer_ptr<osg::Switch> _slideSwitch;
int _activeLayer;
bool _firstTraversal;