From Jutta Sauer, "We added a raise window method to GraphicsWindow. And added two

implementations for Win32 and X11.

"
This commit is contained in:
Robert Osfield
2008-08-15 17:32:26 +00:00
parent b6886cdbb2
commit dceb3cbe88
5 changed files with 52 additions and 2 deletions

View File

@@ -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*/);

View File

@@ -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);