VSTGUI  4.2
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
CButtonState Class 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
 
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

+ Here is the caller graph for this function:

int32_t getModifierState ( ) const
inline

+ Here is the caller graph for this function:

bool isDoubleClick ( ) const
inline

+ Here is the caller graph for this function:

bool isLeftButton ( ) const
inline

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool isRightButton ( ) const
inline

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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: