iPlug 2: 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 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.
- Parameters
-
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.
◆ DBGPrint()
|
inline |
Print the mouse modifier values to the console in Debug builds.
Definition at line 1716 of file IGraphicsStructs.h.
◆ IsTouch()
|
inline |
◆ A
◆ C
◆ L
◆ R
◆ S
◆ touchID
ITouchID IMouseMod::touchID = 0
◆ touchRadius
float IMouseMod::touchRadius = 0.f
The documentation for this struct was generated from the following file: