45#include <Inventor/Win/SoWinBasic.h>
49typedef void SoWinEventHandler(HWND,
void *, MSG*,
bool *);
52#include <X11/Intrinsic.h>
53typedef void SoWinEventHandler(HWND, XtPointer, XEvent *, Boolean *);
57typedef gint SoWinEventHandler(HWND, MSG*, gpointer);
61typedef LRESULT SoWinEventHandler(HWND, UINT, WPARAM, LPARAM);
65typedef void SoWinEventHandler(HWND,
void *, MSG*,
bool *);
70#include <Inventor/SbLinear.h>
71#include <Inventor/Win/SoWinObject.h>
83 virtual void enable(HWND w, SoWinEventHandler * handler,
void * closure) = 0;
84 virtual void disable(HWND w, SoWinEventHandler * 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(HWND, SoWinEventHandler *,
void *);
100 void removeEventHandler(HWND, SoWinEventHandler *,
void *);
101 void invokeHandlers(MSG* event);
104 class SoWinDeviceP * pimpl;
105 friend class SoWinDeviceP;
The SoWinDevice class is the base class for the translation devices.
Definition SoWinDevice.h:77
virtual void enable(HWND w, SoWinEventHandler *handler, void *closure)=0
virtual const SoEvent * translateEvent(MSG *event)=0
virtual void disable(HWND w, SoWinEventHandler *handler, void *closure)=0
The SoWinObject class is the common superclass for all SoWin component classes.
Definition SoWinObject.h:48