ASPiK SDK
|
Button and Modifier state. More...
#include <cbuttonstate.h>
Public Member Functions | |
CButtonState (int32_t state=0) | |
CButtonState (const CButtonState &bs) | |
int32_t | getButtonState () const |
int32_t | getModifierState () const |
bool | isLeftButton () const |
bool | isRightButton () const |
bool | isDoubleClick () 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 |
returns true if only the left button is set. Ignores modifier state
|
inline |
returns true if only the right button is set. Ignores modifier state