class ColorSetting
Defined in:  
The C4Configuration.hColorSetting class is used for a color setting represented by a color box.
Definition
class ColorSetting : public Setting
Member Functions
| ColorSetting::GetColor | Returns the color stored in the setting. | 
Constructor
ColorSetting(Type identifier, const char *title, const ColorRGBA& color, const char *picker, uint32 flags = 0);
Parameters
| identifier | The setting's unique identifier. | 
| title | The title of the setting. | 
| 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 ColorSetting class represents a setting that displays a color box and has an RGBA color value. The flags parameter specifies the color picker flags that are passed to the ColorPicker constructor when the user clicks on the color box. The flags can be zero or the following value.
| kColorPickerAlpha | Allow the alpha value to be changed. | 
Base Classes
| Setting | A ColorSettingis a specific type of setting. | 
