iPlug2 - C++ Audio Plug-in Framework
Public Member Functions | Public Attributes | List of all members
IMouseMod Struct Reference

Used to manage mouse modifiers i.e. More...

#include <IGraphicsStructs.h>

Public Member Functions

 IMouseMod (bool l=false, bool r=false, bool s=false, bool c=false, bool a=false, ITouchID touchID=0)
 Create an IMouseMod. More...
 
bool IsTouch () const
 true if this IMouseMod is linked to a touch event
 
void DBGPrint ()
 Print the mouse modifier values to the console in Debug builds.
 

Public Attributes

bool L
 
bool R
 
bool S
 
bool C
 
bool A
 
ITouchID touchID = 0
 
float touchRadius = 0.f
 

Detailed Description

Used to manage mouse modifiers i.e.

right click and shift/control/alt keys. Also used for multiple touches, to keep track of touch radius

Definition at line 1693 of file IGraphicsStructs.h.

Constructor & Destructor Documentation

IMouseMod::IMouseMod ( bool  l = false,
bool  r = false,
bool  s = false,
bool  c = false,
bool  a = false,
ITouchID  touchID = 0 
)
inline

Create an IMouseMod.

Parameters
lleft mouse button pressed
rright mouse button pressed
sshift pressed
cctrl pressed
aalt pressed
touchIDtouch identifier, for multi-touch

Definition at line 1706 of file IGraphicsStructs.h.


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