Home | All Classes | Grouped Classes | Index | Search

# Class CL_DisplayWindowDescription

Display window description class. More...

Derived from: none
Derived by: CL_OpenGLWindowDescription
Group: Display (Display 2D)

#include <ClanLib/display.h>

Construction:

CL_DisplayWindowDescription | Constructs a window description with default values.

Attributes:

get_title | Returns the window title stored in the description.
get_size | Returns the size of the window stored in description.
get_position | Returns the initial position of the window.
is_fullscreen | Returns if window should be initially fullscreen.
get_flipping_buffers | Returns the amount of flipping buffers to be created.
get_allow_resize | Returns true if window should be resizeable.
get_bpp | Returns the numbers of bytes per pixel in the window.
get_refresh_rate | Returns the refresh rate of the displaymode.
is_layered | Windows 2000/XP only. Returns true if window is layered.

Operations:

operator = | Copy assignment operator.
set_title | Sets the title of the window.
set_size | Sets the size of the window.
set_position | Sets the position of the window.
set_fullscreen | Makes the window initially fullscreen.
set_flipping_buffers | Sets the amount of flipping buffers to be used.
set_allow_resize | Sets if windows should be resizeable.
set_bpp | Sets the number of bytes per pixel
set_refresh_rate | Set the refresh rate of the displaymode.
set_layered | Windows 2000/XP only. Creates a layered window (complex shaped window).

Implementation:

impl |

Detailed description:

!group=Display/Display 2D! !header=display.h!

This class allows you to setup a more advanced description when creating a display window.

Questions or comments, write to the ClanLib mailing list.