Struct Control

Struct Documentation

struct Control

Public Members

unsigned id

Identifies the control, set by the application.

std::string name

Human readable name.

ControlType type

Type of control.

int minimum

Minimum value, inclusive.

int maximum

Maximum value, inclusive.

int defaultValue

The default value of of an integer, boolean, bitmask, menu or integer menu control.

std::map<int, std::string> menuItems

Menu item names by index. Empty if this is not a menu control.

bool disabled

Whether the control is disabled, meaning it should be ignored.

bool inactive

Whether the control is set to inactive, e.g. when it is automatically controlled.