ASPiK SDK
VSTGUI::CButtonState Struct Reference

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
 
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.

Member Function Documentation

◆ isLeftButton()

bool VSTGUI::CButtonState::isLeftButton ( ) const
inline

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

◆ isRightButton()

bool VSTGUI::CButtonState::isRightButton ( ) const
inline

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


The documentation for this struct was generated from the following file: