C4 Engine
C4 Engine API Documentation

Setting::GetSettingType

Defined in:  C4Configuration.h
Returns the setting type.
Prototype

SettingType GetSettingType(voidconst;

Description
The GetSettingType function returns the type of a setting, which is one of the following constants.
kSettingHeading Setting that simply displays a heading and has no value.
kSettingInfo Setting that displays information that cannot be edited.
kSettingDialog Setting that shows a push button that opens a dialog box.
kSettingBoolean Boolean setting represented by a check box.
kSettingInteger Integer setting represented by a slider.
kSettingPowerTwo Power-of-two setting represented by a slider.
kSettingFloat Floating-point setting represented by a slider.
kSettingText Text setting represented by an editable text box.
kSettingMenu Multi-valued setting represented by a popup menu.
kSettingColor Color setting represented by a color box.
kSettingCheckColor Color setting represented by a color box with a check box for enable/disable.
kSettingChromaticity Chromaticity setting represented by a chromaticity box.
kSettingCheckChromaticity Chromaticity setting represented by a chromaticity box with a check box for enable/disable.
kSettingResource Resource name setting represented by a text box and a browse button.
kSettingMultiResource Setting that shows a list of resource names in a text box with a browse button.
See Also

Setting::GetSettingIdentifier