VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
CButtonState Struct Reference

Button and Modifier state. More...

## Public Member Functions
| CButtonState (int32_t state=0)
| CButtonState (const CButtonState &bs)
int32_t | getButtonState () const
int32_t | getModifierState () const
bool | isLeftButton () const
| returns true if only the left button is set.
bool | isMiddleButton () const
| returns true if only the middle button is set.
bool | isRightButton () const
| returns true if only the right button is set.
bool | isButton4 () const
| returns true if only the 4th button is set.
bool | isButton5 () const
| returns true if only the 5th button is set.
bool | isDoubleClick () const
| returns true if the double click flag is set.
bool | isShiftSet () const
| returns true if the shift modifier is set.
bool | isAltSet () const
| returns true if the alt modifier is set.
bool | isControlSet () const
| returns true if the control modifier is set.
bool | isAppleSet () const
| returns true if the apple modifier is set.
bool | isMouseWheelInverted () const
int32_t | operator() () const
CButtonState & | operator= (int32_t s)
CButtonState & | operator&= (int32_t s)
CButtonState & | operator|= (int32_t s)
int32_t | operator& (const CButtonState &s) const
int32_t | operator| (const CButtonState &s) const
int32_t | operator~ () const
bool | operator== (const CButtonState &s) const
bool | operator!= (const CButtonState &s) const

## Protected Attributes
int32_t | state

## Detailed Description

Button and Modifier state.

## Constructor & Destructor Documentation

CButtonState | ( | int32_t | state = `0` | ) |
| inline

CButtonState | ( | const CButtonState & | bs | ) |
| inline

## Member Function Documentation

int32_t getButtonState | ( |  | ) | const
| inline

int32_t getModifierState | ( |  | ) | const
| inline

bool isAltSet | ( |  | ) | const
| inline

returns true if the alt modifier is set.

bool isAppleSet | ( |  | ) | const
| inline

returns true if the apple modifier is set.

bool isButton4 | ( |  | ) | const
| inline

returns true if only the 4th button is set.

Ignores modifier state

bool isButton5 | ( |  | ) | const
| inline

returns true if only the 5th button is set.

Ignores modifier state

bool isControlSet | ( |  | ) | const
| inline

returns true if the control modifier is set.

bool isDoubleClick | ( |  | ) | const
| inline

returns true if the double click flag is set.

bool isLeftButton | ( |  | ) | const
| inline

returns true if only the left button is set.

Ignores modifier state

bool isMiddleButton | ( |  | ) | const
| inline

returns true if only the middle button is set.

Ignores modifier state

bool isMouseWheelInverted | ( |  | ) | const
| inline

bool isRightButton | ( |  | ) | const
| inline

returns true if only the right button is set.

Ignores modifier state

bool isShiftSet | ( |  | ) | const
| inline

returns true if the shift modifier is set.

bool operator!= | ( | const CButtonState & | s | ) | const
| inline

int32_t operator& | ( | const CButtonState & | s | ) | const
| inline

CButtonState& operator&= | ( | int32_t | s | ) |
| inline

int32_t operator() | ( |  | ) | const
| inline

CButtonState& operator= | ( | int32_t | s | ) |
| inline

bool operator== | ( | const CButtonState & | s | ) | const
| inline

int32_t operator| | ( | const CButtonState & | s | ) | const
| inline

CButtonState& operator|= | ( | int32_t | s | ) |
| inline

int32_t operator~ | ( |  | ) | const
| inline

## Member Data Documentation

int32_t state
| protected

The documentation for this struct was generated from the following file:

- cbuttonstate.h