C4 Engine
C4 Engine API Documentation

class CheckChromaticitySetting

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

class CheckChromaticitySetting : public ChromaticitySetting

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

CheckColorSetting(Type identifier, const char *title, bool check, const ColorRGB& chromaticity, const char *picker);

identifier The setting's unique identifier.
title The title of the setting.
check The initial value for the checkbox.
chromaticity The initial chromaticity for the setting.
picker The title of the chromaticity picker dialog.
The CheckChromaticitySetting class represents a setting that displays a chromaticity box and has an RGB chromaticity value. This setting also displays a check box and contains an extra boolean value.
Base Classes
ChromaticitySetting A CheckChromaticitySetting is a special type of ChromaticitySetting.