VSTGUI  4.4
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
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. More...
 
bool isRightButton () const
 returns true if only the right button is set. More...
 
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 struct was generated from the following file: