|
|
virtual void | deinit () |
| | Cleanup any window resources. Default implementation does nothing. |
| |
|
virtual void | doneCurrent ()=0 |
| | Clears the OpenGL context for the calling thread. |
| |
| WindowEventHook * | eventHook () const |
| | Get the event handler for the window. More... |
| |
|
virtual unsigned | gpuId () const |
| | Gets the native GPU id for the OpenGL context of this window. |
| |
| virtual int | height () const =0 |
| | Returns the height of the window. More... |
| |
| virtual void | init () |
| | This function can be used to perform any initialization that must be executed in the render-thread associated with the window. More... |
| |
| bool | isFinished () const |
| | Queries if the window is closed. More... |
| |
| virtual bool | mainThreadInit () |
| | This function can be used to perform any initialization that must be performed in the main-thread. More... |
| |
|
virtual void | makeCurrent ()=0 |
| | Sets the OpenGL context for the calling thread. |
| |
|
virtual void | maximize ()=0 |
| | Maximize the window. |
| |
|
virtual void | minimize ()=0 |
| | Minimize the window. |
| |
|
virtual void | poll ()=0 |
| | Update window system (mouse & keyboard) events. |
| |
| virtual Nimble::Vector2i | position () const =0 |
| | Get the window position. More... |
| |
|
virtual void | restore ()=0 |
| | Restore the window from minimized state. |
| |
| virtual void | setEventHook (WindowEventHook *hook) |
| | Set the event handler for window events. More... |
| |
| void | setFullscreen (bool fullscreen) |
| | Sets the full-screen mode of the window. More... |
| |
| virtual void | setHeight (int h)=0 |
| | Set the height of the window. More... |
| |
|
virtual bool | setIcon (const QString &filename)=0 |
| | Sets the icon for the window. |
| |
| virtual void | setPosition (Nimble::Vector2i pos)=0 |
| | Set the window position. More... |
| |
| virtual void | setWidth (int w)=0 |
| | Set the width of the window. More... |
| |
| virtual void | showCursor (bool visible)=0 |
| | Control mouse cursor visibility. More... |
| |
|
virtual void | swapBuffers ()=0 |
| | Swap OpenGL buffers. |
| |
| virtual int | width () const =0 |
| | Returns the width of the window. More... |
| |
|
| Window () |
| | Construct an empty window with zero size. |
| |
|
virtual | ~Window () |
| | Destructor. |
| |
Virtual base classes for OpenGL windows.