C4 Engine
C4 Engine API Documentation

class CheckColorSetting

Defined in:  C4Configuration.h
The CheckColorSetting class is used for a color setting represented by a color box with a check box for enable/disable.

class CheckColorSetting : public ColorSetting

Member Functions
CheckColorSetting::GetCheckValue Returns the check value stored in the setting.

CheckColorSetting(Type identifier, const char *title, bool check, const ColorRGBA& color, const char *picker, uint32 flags = 0);

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.
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.