|
Back to Table of contents |
General information |
type: struct
inherits: GlowSubwindowParams
module: glowGlowWindowParams encloses parameters for construction of a GlowWindow.
Most GLOW programs that use windows will need to use GlowWindowParams.
Data |
Parameter data
int width
Width of the window. Initial default is 100.int height
Height of the window. Initial default is 100.int x
X location of the upper left of the window, in pixel coordinates of the screen. Initial default is GlowWindow::autoPosition.int y
Y location of the upper left of the window, in pixel coordinates of the screen. Initial default is GlowWindow::autoPosition.Glow::EventMask eventMask
Active event mask for the window. Initial default is Glow::noEvents.Glow::EventMask inactiveEventMask
Inactive event mask for the window. Initial default is Glow::noEvents.Glow::BufferType mode
Buffer mode for the window. Initial default is Glow::rgbBuffer | Glow::doubleBuffer.const char* title
Title of the window. Initial default is "".const char* iconTitle
Title for the window when iconified. If set to 0, the icon title will be set to the same as the window title. Initial default is 0.
Static Data |
Defaults
static GlowWindowParams defaults
Default parameters. These are copied every time a new GlowWindowParams is constructed.
Methods |
Constructor
GlowWindowParams(void)
Constructs a new parameter block, copying defaults
|
Back to Table of contents |
The GLOW Toolkit