Added osgProducer:: in front of KeyboardMouseCallback.

This commit is contained in:
Robert Osfield 2003-08-25 14:03:49 +00:00
parent 0ed56936ce
commit 4924cd9ceb
2 changed files with 4 additions and 4 deletions

View File

@ -120,9 +120,9 @@ class OSGPRODUCER_EXPORT Viewer : public OsgCameraGroup, public osgGA::GUIAction
Producer::KeyboardMouse* getKeyboardMouse() { return _kbm.get(); } Producer::KeyboardMouse* getKeyboardMouse() { return _kbm.get(); }
const Producer::KeyboardMouse* getKeyboardMouse() const { return _kbm.get(); } const Producer::KeyboardMouse* getKeyboardMouse() const { return _kbm.get(); }
void setKeyboardMouseCallback(KeyboardMouseCallback* kbmcb); void setKeyboardMouseCallback(osgProducer::KeyboardMouseCallback* kbmcb);
KeyboardMouseCallback* getKeyboardMouseCallback() { return _kbmcb.get(); } osgProducer::KeyboardMouseCallback* getKeyboardMouseCallback() { return _kbmcb.get(); }
const KeyboardMouseCallback* getKeyboardMouseCallback() const { return _kbmcb.get(); } const osgProducer::KeyboardMouseCallback* getKeyboardMouseCallback() const { return _kbmcb.get(); }

View File

@ -188,7 +188,7 @@ void Viewer::setKeyboardMouse(Producer::KeyboardMouse* kbm)
if (_kbm.valid() && _kbmcb.valid()) _kbm->setCallback(_kbmcb.get()); if (_kbm.valid() && _kbmcb.valid()) _kbm->setCallback(_kbmcb.get());
} }
void Viewer::setKeyboardMouseCallback(KeyboardMouseCallback* kbmcb) void Viewer::setKeyboardMouseCallback(osgProducer::KeyboardMouseCallback* kbmcb)
{ {
_kbmcb = kbmcb; _kbmcb = kbmcb;
if (_kbm.valid() && _kbmcb.valid()) _kbm->setCallback(_kbmcb.get()); if (_kbm.valid() && _kbmcb.valid()) _kbm->setCallback(_kbmcb.get());