Logo Search packages:      
Sourcecode: blender version File versions

GHOST_RectangleHandle GHOST_GetWindowBounds ( GHOST_WindowHandle  windowhandle  ) 

Returns the window rectangle dimensions. These are screen coordinates.

windowhandle The handle to the window
A handle to the bounding rectangle of the window.

Definition at line 507 of file GHOST_C-api.cpp.

References GHOST_IWindow::getWindowBounds(), and GHOST_GetWindowBounds().

Referenced by GHOST_GetWindowBounds().

      GHOST_IWindow* window = (GHOST_IWindow*) windowhandle;
      GHOST_Rect* rectangle = NULL;

      rectangle = new GHOST_Rect();

      return (GHOST_RectangleHandle)rectangle;

Generated by  Doxygen 1.6.0   Back to index