36#include <Inventor/Gui/SoGui.h> 
   37#include <Inventor/SbLinear.h> 
   38#include <Inventor/events/SoEvent.h> 
   54  void setWindowSize( 
const SbVec2s& s ) { m_winSize = s; }
 
   59  const SbVec2s& getWindowSize()
 const { 
return m_winSize; }
 
   70  inline void         setEventPosition(
SoEvent *event, 
float x, 
float y) 
const;
 
 
   84SoGuiDevice::setEventPosition(
SoEvent *event, 
float x, 
float y)
 const 
   86  event->setPosition(
SbVec2f(x, (((
float)m_winSize[1]) - 1.f) - y));
 
Base class for all events.