class CheckColorSetting
Defined in:
The C4Configuration.h
CheckColorSetting
class is used for a color setting represented by a color box with a check box for enable/disable.
Definition
class CheckColorSetting : public ColorSetting
Member Functions
CheckColorSetting::GetCheckValue |
Returns the check value stored in the setting. |
Constructor
CheckColorSetting(Type identifier, const char *title, bool check, const ColorRGBA& color, const char *picker, uint32 flags = 0);
Parameters
identifier |
The setting's unique identifier. |
title |
The title of the setting. |
check |
The initial value for the checkbox. |
color |
The initial color for the setting. |
picker |
The title of the color picker dialog. |
flags |
The flags passed to the color picker dialog. |
Description
The CheckColorSetting
class represents a setting that displays a color box and has an RGBA color value. This setting also displays a check box and contains an extra boolean value.
Base Classes
ColorSetting |
A CheckColorSetting is a special type of ColorSetting .
|