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:
Robert Osfield
2006-12-21 11:20:42 +00:00
parent 21de9e4acc
commit 7772da71eb
3 changed files with 101 additions and 12 deletions

View File

@@ -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,