45#include <Inventor/Wx/SoWxBasic.h>
49typedef void SoWxEventHandler(wxWindow*,
void *, wxEvent&,
bool *);
52#include <X11/Intrinsic.h>
53typedef void SoWxEventHandler(wxWindow*, XtPointer, XEvent *, Boolean *);
57typedef gint SoWxEventHandler(wxWindow*, wxEvent&, gpointer);
61typedef LRESULT SoWxEventHandler(wxWindow*, UINT, WPARAM, LPARAM);
65typedef void SoWxEventHandler(wxWindow*,
void *, wxEvent&,
bool *);
70#include <Inventor/SbLinear.h>
71#include <Inventor/Wx/SoWxObject.h>
83 virtual void enable(wxWindow* w, SoWxEventHandler * handler,
void * closure) = 0;
84 virtual void disable(wxWindow* w, SoWxEventHandler * handler,
void * closure) = 0;
88 void setWindowSize(
const SbVec2s size);
89 SbVec2s getWindowSize(
void)
const;
91 static void initClasses(
void);
96 void setEventPosition(SoEvent * event,
int x,
int y)
const;
97 static SbVec2s getLastEventPosition(
void);
99 void addEventHandler(wxWindow*, SoWxEventHandler *,
void *);
100 void removeEventHandler(wxWindow*, SoWxEventHandler *,
void *);
104 class SoWxDeviceP * pimpl;
105 friend class SoWxDeviceP;
The SoWxDevice class is the base class for the translation devices.
Definition SoWxDevice.h:77
virtual const SoEvent * translateEvent(wxEvent &event)=0
virtual void enable(wxWindow *w, SoWxEventHandler *handler, void *closure)=0
void invokeHandlers(wxEvent &event)
virtual void disable(wxWindow *w, SoWxEventHandler *handler, void *closure)=0
The SoWxObject class is the common superclass for all SoWx component classes.
Definition SoWxObject.h:48