C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

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 values.
kSettingHeading A setting that simply displays a heading and has no value.
kSettingBoolean A boolean setting represented by a check box.
kSettingInteger An integer setting represented by a slider.
kSettingPowerTwo A power-of-two setting represented by a slider.
kSettingFloat A floating-point setting represented by a slider.
kSettingText A text setting represented by an editable text box.
kSettingMenu A multi-valued setting represented by a popup menu.
kSettingColor A color setting represented by a color box.
kSettingCheckColor A color setting represented by a color box with a check box for enable/disable.
kSettingResource A resource name setting represented by a text box and a browse button.
kSettingMultiResource A setting showing a list of resource names in a text box with a browse button.
See Also

Setting::GetSettingIdentifier