Open Inventor Reference
SoMouseButtonEvent.h File Reference

Go to the source code of this file.

Classes

class  SoMouseButtonEvent
 Mouse button press and release events. More...
 

Macros

#define SO_MOUSE_PRESS_EVENT(EVENT, BUTTON)
 some convenience macros for determining if an event matches
 
#define SO_MOUSE_RELEASE_EVENT(EVENT, BUTTON)
 

Macro Definition Documentation

◆ SO_MOUSE_PRESS_EVENT

#define SO_MOUSE_PRESS_EVENT ( EVENT,
BUTTON )
Value:
(SoMouseButtonEvent::isButtonPressEvent(EVENT,SoMouseButtonEvent::BUTTON))
static bool isButtonPressEvent(const SoEvent *e, SoMouseButtonEvent::Button whichButton)
convenience routines to see if an SoEvent is a press or release of the passed mouse button

Definition at line 64 of file SoMouseButtonEvent.h.

◆ SO_MOUSE_RELEASE_EVENT

#define SO_MOUSE_RELEASE_EVENT ( EVENT,
BUTTON )
Value:
(SoMouseButtonEvent::isButtonReleaseEvent(EVENT,SoMouseButtonEvent::BUTTON))
static bool isButtonReleaseEvent(const SoEvent *e, SoMouseButtonEvent::Button whichButton)

Definition at line 67 of file SoMouseButtonEvent.h.