66#define SO_XT_ALL_MOUSE_EVENTS \
67 (ButtonPressMask | ButtonReleaseMask | \
68 PointerMotionMask | ButtonMotionMask)
134 SbTime lastReleaseButtonEvent;
139 float doubleClickTiming;
#define SO_XT_ALL_MOUSE_EVENTS
Class for representation of a time.
Base class for all events.
Abstract base class for input devices.
Translates and reports events for the mouse device.
virtual const SoEvent * translateEvent(XAnyEvent *xevent)
Attempts to convert the passed event into an SoEvent.
SoXtMouse(EventMask mask=SO_XT_ALL_MOUSE_EVENTS)
Constructor.
virtual void enable(SoWidget w, XtEventHandler f, XtPointer data, Window win=(Window) NULL)
Enables the device for the passed widget.
virtual void disable(SoWidget w, XtEventHandler f, XtPointer data)
Disables the device for the passed widget.