![]() |
• Interface Manager | ||||||||||||||
|
API Links
Developer Links
|
class PowerTwoSettingDefined in:
The C4Configuration.hPowerTwoSetting class is used for a power-of-two setting represented by a slider.
Definition
Member Functions
Constructor
Parameters
Description
The PowerTwoSetting class represents a setting that displays a slider and has an integer value restricted to a power of two within a given range. A text box is also displayed, allowing the user to enter a value directly. The value of the setting is always equal to a power of two between the minimum value specified by the min parameter and the maaximum value specified by the max parameter. If the user enters a number in the text box, then it is rounded down to the nearest valid value.
Base Classes
|