Improved the handling of moving the mouse pointer across screens, and add
grab focus support that honours where the mouse pointer was originally.
This commit is contained in:
@@ -42,6 +42,15 @@ class OSGVIEWER_EXPORT GraphicsWindow : public osg::GraphicsContext, public osgG
|
||||
|
||||
virtual void checkEvents() {}
|
||||
|
||||
/** Set Window decoration.*/
|
||||
virtual void setWindowDecoration(bool /*flag*/) {}
|
||||
|
||||
/** Get focus.*/
|
||||
virtual void grabFocus() {}
|
||||
|
||||
/** Get focus on if the pointer is in this window.*/
|
||||
virtual void grabFocusIfPointerInWindow() {}
|
||||
|
||||
public:
|
||||
|
||||
/** Realise the GraphicsContext implementation,
|
||||
|
||||
Reference in New Issue
Block a user