C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

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

class CheckColorSetting : public ColorSetting

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

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

Parameters
identifier The setting's unique identifier.
check The initial value for the checkbox.
color The initial color for the setting.
title The title of 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.