18 #ifndef EQ_AGL_EVENTHANDLER_H
19 #define EQ_AGL_EVENTHANDLER_H
24 #include <eq/agl/types.h>
25 #include <eq/eventHandler.h>
45 EventHandler( agl::WindowIF* window );
48 virtual ~EventHandler();
56 static void initMagellan( Node* node );
63 static void exitMagellan( Node* node );
66 agl::WindowIF* getWindow()
const {
return _window; }
69 bool handleEvent( EventRef event );
72 agl::WindowIF*
const _window;
74 EventHandlerRef _eventHandler;
75 EventHandlerRef _eventDispatcher;
77 void _processWindowEvent( WindowEvent& event );
79 bool _processMouseEvent( WindowEvent& event );
80 void _processKeyEvent( WindowEvent& event );
82 uint32_t _getButtonState();
83 uint32_t _getButtonAction( EventRef event );
84 uint32_t _getKey( EventRef event );
92 #endif // EQ_AGL_EVENTHANDLER_H
Base class for window system-specific event handlers.
Includes compile-time defines of Equalizer.
Includes operating system headers for OpenGL and the used window system(s) correctly.
The Equalizer client library.