All Classes |Grouped Classes |Index

Class CL_DisplayWindowProvider

Interface for implementing a CL_DisplayWindow target. More...

Derived from:

None

Derived by:

None

Group:

Display Target Interface (Display)

#include <ClanLib/display.h>

Class Members:


Attributes:

get_geometry

Returns the position and size of the window frame.

get_viewport

Returns the drawable area of the window.

has_focus

Returns true if window has focus.

is_minimized

Returns true if the window is minimized.

is_maximized

Returns true if the window is maximized.

is_visible

Returns true if the window is visible.

is_fullscreen

Returns true if the window is fullscreen.

get_minimum_size

Returns the minimum size of the window.

get_maximum_size

Returns the maximum size of the window.

get_title

Returns the maximum size of the window.

get_gc

Return the graphic context for the window.

get_ic

Return the input context for the window.

get_display

Returns the X11 display handle.

get_window

Handle to X11 window handle.

is_clipboard_text_available

Returns true if text is available in the clipboard.

is_clipboard_image_available

Returns true if an image is available in the clipboard.

get_clipboard_text

Returns the text stored in the clipboard.

get_clipboard_image

Returns the image stored in the clipboard.


Operations:

client_to_screen

Convert from window client coordinates to screen coordinates.

screen_to_client

Convert from screen coordinates to client coordinates.

capture_mouse

Capture/Release the mouse.

request_repaint

Invalidates a region of a screen, causing a repaint.

destroy

Destroys the display window provider.

create

Creates window, assigning site and description to provider.

show_system_cursor

Shows the mouse cursor.

create_cursor

Creates a new custom cursor.

set_cursor

Sets the current cursor icon.

hide_system_cursor

Hides the mouse cursor.

set_title

Change window title.

set_position

Set window position and size.

set_size

Set size.

set_minimum_size

Set minimum size.

set_maximum_size

Set maximum size.

set_enabled

Enables or disables a window.

minimize

Minimizes the window.

restore

Restores the window.

maximize

Maximizes the window.

show

Displays the window in its current size and position.

hide

Hides the window.

bring_to_front

Raise window on top of other windows.

flip

Flip opengl buffers.

update

Copy a region of the backbuffer to the frontbuffer.

set_clipboard_text

Stores text in the clipboard.

set_clipboard_image

Stores an image in the clipboard.

set_large_icon

Sets the large icon used for this window.

set_small_icon

Sets the small icon used for this window.