All Classes |Grouped Classes |Index

Class CL_DisplayWindowMode

Display window mode class. More...

Derived from:

None

Derived by:

None

Group:

Incorrect (no group)

#include <ClanLib/>

Class Members:

Construction:

CL_DisplayWindowMode

Constructs a DisplayWindowMode.


Attributes:

get_resolution

Returns the resolution of the displaymode.

get_bpp

Returns the numbers of bytes per pixel of the displaymode.

get_refresh_rate

Returns the refresh rate of the displaymode. Specifies the frequency, in hertz (cycles per second). This value is also known as the vertical refresh rate.

get_string

Returns the information as a string in the format "640x480x32@60".


Statics:

get_display_modes

Returns a list over all available display modes.

Detailed description:

This class contains information about one display window mode available. It also contains a static function to get a list of all available display modes.

Code example which dumps a list over all available modes: