Home | All Classes | Grouped Classes | Index | Search
Toplevel window class. More...
Derived from:
none
Derived by:
CL_OpenGLWindow
Group: Display (Display 2D)
#include <ClanLib/display.h>
Construction:
Constructs a window. |
Attributes:
Returns the current width of the window. | |
Returns the current height of the window. | |
Returns true if window is currently running fullscreen. | |
Returns true if window has focus. | |
Returns the pixel buffer for the specified flipping buffer. | |
Returns the amount of flipping buffers being used. | |
Returns the current flipping buffer being used as the front buffer. | |
Returns the current flipping buffer being used as the back buffer. | |
Returns the graphic context of the current back buffer. | |
Returns the input context of this window. |
Operations:
Copy assignment operator. | |
Change window to running fullscreen mode. | |
Change window to running windowed mode. | |
Change window title. | |
Set window position and size. | |
Resize window. | |
Changes the amount of pixel buffers used in the flipping system. | |
Copy the specified rectangle area from back buffer to front buffer. | |
Flip back buffer to front, making changes visible on screen. | |
Sets the mouse cursor shape. | |
Shows the mouse cursor. | |
Hides the mouse cursor. |
Signals:
Signal emitted when window lost focus. | |
Signal emitted when window gain focus. | |
Signal emitted when window is resized. | |
Signal emitted when an area of the window is invalidated. | |
Signal emitted when window is closed. |
Implementation:
Detailed description:
!group=Display/Display 2D! !header=display.h!CL_DisplayWindow represents a window in your windowing system (Windows, X11). You need to create at least one display window in order to draw graphics in ClanLib.