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)

#include <ClanLib/display.h>

Class Members:

Construction:

CL_DisplayWindowDescription

Constructs a window description with default values.


Attributes:

get_title

Returns the window title stored in the description.

get_decorations

Returns true if the window shall be created with decorations.

get_size

Returns the size of the window stored in description (including frame).

get_position

Returns the initial position of the window (including frame).

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.

has_caption

Returns true if a title bar is shown.

is_tool_window

Returns true if the window is a tool window.

is_visible

Returns true if the window is initially visible.

is_topmost

Returns true if the window should be placed above all non-topmost windows.

has_drop_shadow

Returns true if the window is drawn with a drop shadow effect.

get_owner

Returns the window owning this one.

get_tablet_context

Returns true if a tablet context is to be created for the window.

get_data

Returns the object stored in the given data name.


Operations:

show_caption

Controls if a title bar is shown or not.

set_decorations

Sets if windows should have decorations.

set_visible

Toggles whether the window is created as initially visible.

set_topmost

Sets if the window should be placed above all non-topmost windows.

set_tool_window

Flags the window to be a tool window to the windowing system.

set_drop_shadow

Enables a drop shadow effect on the window.

set_owner_window

Specifies another window which owns this one.

set_title

Sets the title of the window.

set_size

Sets the size of the window (including window frame).

set_position

Sets the position of the window (including window frame).

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 resizable.

set_bpp

Sets the number of bytes per pixel.

set_refresh_rate

Set the refresh rate of the displaymode.

set_tablet_context

Sets to true if a tablet input context should be created for this window.

set_data

Store object in description.

Detailed description:

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