|
iPlug2 - C++ Audio Plug-in Framework
|
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 More... | |
| void | DBGPrint () |
| Print the mouse modifier values to the console in Debug builds. More... | |
Public Attributes | |
| bool | L |
| bool | R |
| bool | S |
| bool | C |
| bool | A |
| ITouchID | touchID = 0 |
| float | touchRadius = 0.f |
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 1695 of file IGraphicsStructs.h.
|
inline |
Create an IMouseMod.
| l | left mouse button pressed |
| r | right mouse button pressed |
| s | shift pressed |
| c | ctrl pressed |
| a | alt pressed |
| touchID | touch identifier, for multi-touch |
Definition at line 1708 of file IGraphicsStructs.h.
|
inline |
Print the mouse modifier values to the console in Debug builds.
Definition at line 1716 of file IGraphicsStructs.h.
|
inline |
true if this IMouseMod is linked to a touch event
Definition at line 1713 of file IGraphicsStructs.h.
| bool IMouseMod::A |
Definition at line 1697 of file IGraphicsStructs.h.
| bool IMouseMod::C |
Definition at line 1697 of file IGraphicsStructs.h.
| bool IMouseMod::L |
Definition at line 1697 of file IGraphicsStructs.h.
| bool IMouseMod::R |
Definition at line 1697 of file IGraphicsStructs.h.
| bool IMouseMod::S |
Definition at line 1697 of file IGraphicsStructs.h.
| ITouchID IMouseMod::touchID = 0 |
Definition at line 1698 of file IGraphicsStructs.h.
| float IMouseMod::touchRadius = 0.f |
Definition at line 1699 of file IGraphicsStructs.h.