GLOW API version 1.0 reference

Back to
Table of contents


class GlowSubwindowParams

General information

type: struct
inherits: (none)
module: glow

GlowSubwindowParams encloses parameters for construction of a GlowSubwindow.

Most GLOW programs that use subwindows will need to use GlowSubwindowParams.

Data

Parameter data

int width

Width of the subwindow. Initial default is GlowSubwindow::parentWindowSize.

int height

Height of the subwindow. Initial default is GlowSubwindow::parentWindowSize.

int x

X location of the upper left of the subwindow, in pixel coordinates of the parent window. Initial default is 0.

int y

Ylocation of the upper left of the subwindow, in pixel coordinates of the parent window. Initial default is 0.

Glow::EventMask eventMask

Active event mask for the subwindow. Initial default is Glow::noEvents.

Glow::EventMask inactiveEventMask

Inactive event mask for the subwindow. Initial default is Glow::noEvents.

Glow::BufferType mode

Buffer mode for the subwindow. Initial default is Glow::rgbBuffer | Glow::doubleBuffer.

Static Data

Defaults

static GlowSubwindowParams defaults

Default parameters. These are copied every time a new GlowSubwindowParams is constructed.

Methods

Constructor

GlowSubwindowParams(void)

Constructs a new parameter block, copying defaults

Back to
Table of contents


The GLOW Toolkit