VSTGUI
4.10
Graphical User Interface Framework not only for VST plugins
|
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 |
Button and Modifier state.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
returns true if the alt modifier is set.
|
inline |
returns true if the apple modifier is set.
|
inline |
returns true if only the 4th button is set.
Ignores modifier state
|
inline |
returns true if only the 5th button is set.
Ignores modifier state
|
inline |
returns true if the control modifier is set.
|
inline |
returns true if the double click flag is set.
|
inline |
returns true if only the left button is set.
Ignores modifier state
|
inline |
returns true if only the middle button is set.
Ignores modifier state
|
inline |
|
inline |
returns true if only the right button is set.
Ignores modifier state
|
inline |
returns true if the shift modifier is set.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |