CL_CheckBox_Silver - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# Class CL_CheckBox_Silver

CheckBox default style. More...

Derived from: CL_ComponentStyle
Derived by: none
Group: GUI (Style: Silver)

#include <ClanLib/guistylesilver.h>

Construction:

CL_CheckBox_Silver | Constructor

Operations:

set_font | Sets the font used to draw the label.
set_font_disabled | Sets the font used to draw the label in disabled mode.
set_surface_checked | Sets the surface used when button is in the up-state.
set_surface_unchecked | Set the surface used when button is in the down-state.
set_surface_checked_disabled | Sets the surface used when button is highlighted.
set_surface_unchecked_disabled | Sets the surface used when button is disabled.

Detailed description:

!group=GUI/Style: Silver! !header=guistylesilver.h!

Script attributes:

- surface_checked: The surface used when button is checked. [String]
- surface_unchecked: The surface used when button is unchecked. [String]
- surface_checked_disabled: The surface used when button is checked, but disabled. [String]
- surface_unchecked_disabled: The surface used when button is unchecked and disabled. [String]
- font: The font used to draw the label. [String]

Note that it inherits the attributes of CL_CheckBox, CL_Button and CL_Component as well.

Questions or comments, write to the ClanLib mailing list.