Added osgProducer:: in front of KeyboardMouseCallback.
This commit is contained in:
parent
0ed56936ce
commit
4924cd9ceb
@ -120,9 +120,9 @@ class OSGPRODUCER_EXPORT Viewer : public OsgCameraGroup, public osgGA::GUIAction
|
||||
Producer::KeyboardMouse* getKeyboardMouse() { return _kbm.get(); }
|
||||
const Producer::KeyboardMouse* getKeyboardMouse() const { return _kbm.get(); }
|
||||
|
||||
void setKeyboardMouseCallback(KeyboardMouseCallback* kbmcb);
|
||||
KeyboardMouseCallback* getKeyboardMouseCallback() { return _kbmcb.get(); }
|
||||
const KeyboardMouseCallback* getKeyboardMouseCallback() const { return _kbmcb.get(); }
|
||||
void setKeyboardMouseCallback(osgProducer::KeyboardMouseCallback* kbmcb);
|
||||
osgProducer::KeyboardMouseCallback* getKeyboardMouseCallback() { return _kbmcb.get(); }
|
||||
const osgProducer::KeyboardMouseCallback* getKeyboardMouseCallback() const { return _kbmcb.get(); }
|
||||
|
||||
|
||||
|
||||
|
@ -188,7 +188,7 @@ void Viewer::setKeyboardMouse(Producer::KeyboardMouse* kbm)
|
||||
if (_kbm.valid() && _kbmcb.valid()) _kbm->setCallback(_kbmcb.get());
|
||||
}
|
||||
|
||||
void Viewer::setKeyboardMouseCallback(KeyboardMouseCallback* kbmcb)
|
||||
void Viewer::setKeyboardMouseCallback(osgProducer::KeyboardMouseCallback* kbmcb)
|
||||
{
|
||||
_kbmcb = kbmcb;
|
||||
if (_kbm.valid() && _kbmcb.valid()) _kbm->setCallback(_kbmcb.get());
|
||||
|
Loading…
Reference in New Issue
Block a user