namespace otk {
-class OtkEventHandler{
+class OtkEventHandler {
public:
//! Dispatches events to one of the other handlers based on their type.
virtual void handle(const XEvent &e);
//! Called whenever a button of the pointer is released.
virtual void buttonReleaseHandler(const XButtonEvent &) {}
+ //! Called whenever the pointer moved
+ virtual void motionHandler(const XMotionEvent &) {}
+
//! Called whenever the pointer enters a window.
virtual void enterHandler(const XCrossingEvent &) {}
#if defined(SHAPE) || defined(DOXYGEN_IGNORE)
//! Called when a shape extention event fires
- virtual void shapeHandler(const XShapeEvent &) {};
+ virtual void shapeHandler(const XShapeEvent &) {}
#endif // SHAPE
virtual ~OtkEventHandler();