iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
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 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
 

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 1684 of file IGraphicsStructs.h.

Constructor & Destructor Documentation

◆ IMouseMod()

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 1697 of file IGraphicsStructs.h.

Member Function Documentation

◆ DBGPrint()

void IMouseMod::DBGPrint ( )
inline

Print the mouse modifier values to the console in Debug builds.

Definition at line 1705 of file IGraphicsStructs.h.

◆ IsTouch()

bool IMouseMod::IsTouch ( ) const
inline

true if this IMouseMod is linked to a touch event

Definition at line 1702 of file IGraphicsStructs.h.

Member Data Documentation

◆ A

bool IMouseMod::A

Definition at line 1686 of file IGraphicsStructs.h.

◆ C

bool IMouseMod::C

Definition at line 1686 of file IGraphicsStructs.h.

◆ L

bool IMouseMod::L

Definition at line 1686 of file IGraphicsStructs.h.

◆ R

bool IMouseMod::R

Definition at line 1686 of file IGraphicsStructs.h.

◆ S

bool IMouseMod::S

Definition at line 1686 of file IGraphicsStructs.h.

◆ touchID

ITouchID IMouseMod::touchID = 0

Definition at line 1687 of file IGraphicsStructs.h.

◆ touchRadius

float IMouseMod::touchRadius = 0.f

Definition at line 1688 of file IGraphicsStructs.h.


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