VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
MouseEventButtonState Struct Reference

MouseEventButtonState. More...

#include <events.h>

Public Member Functions

bool isLeft () const
 
bool isMiddle () const
 
bool isRight () const
 
bool is (MouseButton pos) const
 
bool isOther (uint32_t index) const
 
bool has (MouseButton pos) const
 
bool empty () const
 
void add (MouseButton pos)
 
void set (MouseButton pos)
 
void clear ()
 
 MouseEventButtonState ()=default
 
 MouseEventButtonState (const MouseEventButtonState &)=default
 
 MouseEventButtonState (MouseButton pos)
 
MouseEventButtonStateoperator= (const MouseEventButtonState &)=default
 
bool operator== (const MouseEventButtonState &other) const
 
bool operator!= (const MouseEventButtonState &other) const
 

Detailed Description

Constructor & Destructor Documentation

◆ MouseEventButtonState() [1/3]

MouseEventButtonState ( )
default

◆ MouseEventButtonState() [2/3]

◆ MouseEventButtonState() [3/3]

Member Function Documentation

◆ add()

void add ( MouseButton  pos)
inline

◆ clear()

void clear ( )
inline

◆ empty()

bool empty ( ) const
inline

◆ has()

bool has ( MouseButton  pos) const
inline

◆ is()

bool is ( MouseButton  pos) const
inline

◆ isLeft()

bool isLeft ( ) const
inline

◆ isMiddle()

bool isMiddle ( ) const
inline

◆ isOther()

bool isOther ( uint32_t  index) const
inline

◆ isRight()

bool isRight ( ) const
inline

◆ operator!=()

bool operator!= ( const MouseEventButtonState other) const
inline

◆ operator=()

MouseEventButtonState & operator= ( const MouseEventButtonState )
default

◆ operator==()

bool operator== ( const MouseEventButtonState other) const
inline

◆ set()

void set ( MouseButton  pos)
inline

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