#include <archon/display/window.H>
Inheritance diagram for Archon::Display::Window:
Public Member Functions | |
virtual void | setTitle (string title)=0 |
Sets a new title in the title bar of this window. | |
virtual void | move (int left, int top)=0 |
Move this window. | |
virtual void | resize (int width, int height)=0 |
Resize this window. | |
virtual int | getWidth ()=0 |
Get the current width of this window. | |
virtual int | getHeight ()=0 |
Get the current width of this window. | |
virtual void | swapBuffers ()=0 |
Swap foreground and background buffers. | |
virtual void | processEvents (EventHandler *h)=0 |
Call this method regularly (at least 10 times per second to get reasonable responsiveness) to process incoming events. |
On the X Window System this is a wrapper around the Window structure of Xlib.
New windows are created by calling Visual::createWindow.
Definition at line 70 of file window.H.
|
Get the current width of this window. The returned value will reflect the current height only if you call processEvents regularly.
Implements Archon::Display::Drawable. Implemented in Archon::Display::WindowX11. |
|
Get the current width of this window. The returned value will reflect the current width only if you call processEvents regularly.
Implements Archon::Display::Drawable. Implemented in Archon::Display::WindowX11. |
|
Move this window.
Implemented in Archon::Display::WindowX11. |
|
Call this method regularly (at least 10 times per second to get reasonable responsiveness) to process incoming events.
Implemented in Archon::Display::WindowX11. |
|
Resize this window. This generates a resize event.
Implemented in Archon::Display::WindowX11. |
|
Sets a new title in the title bar of this window.
Implemented in Archon::Display::WindowX11. |
|
Swap foreground and background buffers. Performs an implicit glFlush() Implemented in Archon::Display::WindowX11. |