GUI theme part description. More...
Derived from: | None |
Derived by: | None |
Group: | System (GUI) |
#include <ClanLib/gui.h>
Class Members:
Construction: | |
Constructs a GUI theme part. |
| |
Returns the CSS element name for the part in its current states. | |
Returns the setting of a state. | |
Returns the value of a property. | |
Returns the value of a property as an integer. | |
Get Component. | |
Returns the position of the content box for a given render box. | |
Returns the content shrink box of the theme part. | |
Returns the position and size of a render box for a given content box. | |
Returns the minimum size of a render box. | |
Returns the minimum width of a render box. | |
Returns the minimum height of a render box. | |
Returns the maximum size of a render box. | |
Returns the maximum width of a render box. | |
Returns the maximum height of a render box. | |
Returns the preferred size of a render box. | |
Returns the preferred width of a render box. | |
Returns the preferred height of a render box. | |
Returns the part font. | |
Calculates the text size using the font defined for the current state. |
| |
Sets a part state. Returns true if the state was modified, false if it was already in wanted state. | |
Render box. | |
Calculates the vertical text position for the current font. |