29#include <Inventor/Win/SoWinBeginStrict.h>
32#include <Inventor/Win/devices/SoWinDevice.h>
33#include <Inventor/events/SoLocation2Event.h>
34#include <Inventor/events/SoMouseButtonEvent.h>
35#include <Inventor/events/SoMouseWheelEvent.h>
37#define SO_WIN_ALL_MOUSE_EVENTS \
38 (ButtonPressMask | ButtonReleaseMask | \
39 PointerMotionMask | ButtonMotionMask)
81 virtual void enable(SoWidget w, XtEventHandler f,
97 unsigned long m_lastMoveTime;
101 bool m_mouseIsOutside;
103 SoLocation2Event *translateMotionEvent(XMotionEvent *me,
bool isLeaveMotionEvent =
false);
112#include <Inventor/Win/SoWinEndStrict.h>
Base class for all events.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Translates and r...
virtual const SoEvent * translateEvent(XAnyEvent *xevent)
Attempts to convert the passed message into an SoEvent.
virtual void enable(SoWidget w, XtEventHandler f, XtPointer data, Window win=NULL)
Enables the device for the passed window handle.
virtual void disable(SoWidget w, XtEventHandler f, XtPointer data)
Disables the device.
SoWinMouse(EventMask mask=SO_WIN_ALL_MOUSE_EVENTS)
Constructor.