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(); }
|
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(); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user