From Jutta Sauer, "We added a raise window method to GraphicsWindow. And added two
implementations for Win32 and X11. "
This commit is contained in:
@@ -79,6 +79,9 @@ class OSGVIEWER_EXPORT GraphicsWindowWin32 : public osgViewer::GraphicsWindow
|
||||
/** Override from GUIActionAdapter.*/
|
||||
virtual void requestWarpPointer(float x,float y);
|
||||
|
||||
/** Raise specified window */
|
||||
virtual void raiseWindow();
|
||||
|
||||
/** Set the name of the window */
|
||||
virtual void setWindowName(const std::string& /*name*/);
|
||||
|
||||
|
||||
@@ -109,6 +109,9 @@ class OSGVIEWER_EXPORT GraphicsWindowX11 : public osgViewer::GraphicsWindow
|
||||
/** Get focus on if the pointer is in this window.*/
|
||||
virtual void grabFocusIfPointerInWindow();
|
||||
|
||||
/** Raise specified window */
|
||||
virtual void raiseWindow();
|
||||
|
||||
// Override from GUIActionAdapter
|
||||
virtual void requestWarpPointer(float x,float y);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user