CButtonState Class Reference

Button and Modifier state. More...

List of all members.

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
CButtonStateoperator= (int32_t s)
CButtonStateoperator&= (int32_t s)
CButtonStateoperator|= (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 isDoubleClick (  )  const [inline]
bool isLeftButton (  )  const [inline]

returns true if only the left button is set. Ignores modifier state

bool isRightButton (  )  const [inline]

returns true if only the right button is set. Ignores modifier state

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 class was generated from the following file:

Generated on Fri Nov 22 11:09:57 2013 for VSTGUI by  doxygen 1.6.1