All Classes |Grouped Classes |Index

Class CL_GUIThemePart

GUI theme part description. More...

Derived from:

None

Derived by:

None

Group:

System (GUI)

#include <ClanLib/gui.h>

Class Members:

Construction:

CL_GUIThemePart

Constructs a GUI theme part.


Attributes:

get_element_name

Returns the CSS element name for the part in its current states.

get_state

Returns the setting of a state.

get_property

Returns the value of a property.

get_property_int

Returns the value of a property as an integer.

get_component

Get Component.

get_content_box

Returns the position of the content box for a given render box.

get_content_shrink_box

Returns the content shrink box of the theme part.

get_render_box

Returns the position and size of a render box for a given content box.

get_minimum_size

Returns the minimum size of a render box.

get_minimum_width

Returns the minimum width of a render box.

get_minimum_height

Returns the minimum height of a render box.

get_maximum_size

Returns the maximum size of a render box.

get_maximum_width

Returns the maximum width of a render box.

get_maximum_height

Returns the maximum height of a render box.

get_preferred_size

Returns the preferred size of a render box.

get_preferred_width

Returns the preferred width of a render box.

get_preferred_height

Returns the preferred height of a render box.

get_font

Returns the part font.

get_text_size

Calculates the text size using the font defined for the current state.


Operations:

set_state

Sets a part state. Returns true if the state was modified, false if it was already in wanted state.

render_box

Render box.

render_text

get_vertical_text_align

Calculates the vertical text position for the current font.