45#include <Inventor/Xt/SoXtBasic.h>
49typedef void SoXtEventHandler(Widget,
void *, XAnyEvent*,
bool *);
52#include <X11/Intrinsic.h>
53typedef void SoXtEventHandler(Widget, XtPointer, XEvent *, Boolean *);
57typedef gint SoXtEventHandler(Widget, XAnyEvent*, gpointer);
61typedef LRESULT SoXtEventHandler(Widget, UINT, WPARAM, LPARAM);
65typedef void SoXtEventHandler(Widget,
void *, XAnyEvent*,
bool *);
70#include <Inventor/SbLinear.h>
71#include <Inventor/Xt/SoXtObject.h>
83 virtual void enable(Widget w, SoXtEventHandler * handler,
void * closure) = 0;
84 virtual void disable(Widget w, SoXtEventHandler * handler,
void * closure) = 0;
104 class SoXtDeviceP * pimpl;
105 friend class SoXtDeviceP;
void setWindowSize(const SbVec2s size)
Definition SoXtDeviceCommon.cpp:145
SoXtDevice(void)
Definition SoXtDevice.cpp:51
static void initClasses(void)
Definition SoXtDeviceCommon.cpp:127
void invokeHandlers(XAnyEvent *event)
Definition SoXtDevice.cpp:64
virtual void enable(Widget w, SoXtEventHandler *handler, void *closure)=0
void removeEventHandler(Widget, SoXtEventHandler *, void *)
Definition SoXtDeviceCommon.cpp:201
virtual const SoEvent * translateEvent(XAnyEvent *event)=0
static SbVec2s getLastEventPosition(void)
Definition SoXtDeviceCommon.cpp:177
virtual void disable(Widget w, SoXtEventHandler *handler, void *closure)=0
SbVec2s getWindowSize(void) const
Definition SoXtDeviceCommon.cpp:154
void setEventPosition(SoEvent *event, int x, int y) const
Definition SoXtDeviceCommon.cpp:166
void addEventHandler(Widget, SoXtEventHandler *, void *)
Definition SoXtDeviceCommon.cpp:190
The SoXtObject class is the common superclass for all SoXt component classes.
Definition SoXtObject.h:48