29ApplicationCommandInfo::ApplicationCommandInfo (
const CommandID cid) noexcept
30 : commandID (cid), flags (0)
Represents a key press, including any modifier keys that are needed.
Represents the state of the mouse buttons and modifier keys.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
int CommandID
A type used to hold the unique ID for an application command.
void addDefaultKeypress(int keyCode, ModifierKeys modifiers) noexcept
Handy method for adding a keypress to the defaultKeypresses array.
void setActive(bool isActive) noexcept
An easy way to set or remove the isDisabled bit in the structure's flags field.
void setTicked(bool isTicked) noexcept
An easy way to set or remove the isTicked bit in the structure's flags field.
void setInfo(const String &shortName, const String &description, const String &categoryName, int flags) noexcept
Sets a number of the structures values at once.