21 #ifndef GX_EVENT_HANDLER_H
22 #define GX_EVENT_HANDLER_H
57 virtual void onExposure(
int x ,
int y ,
int dx ,
int dy ) ;
63 virtual void onExpose( ::XExposeEvent & ) ;
73 virtual void onMap( ::XMapEvent & ) ;
virtual void onLeftMouseButtonUp(int x, int y, bool shift, bool control)
Called for a left-mouse-button-up event.
virtual ~EventHandler()
Destructor.
virtual void onPaint()
Called second for a window-expose event.
virtual void onExposure(int x, int y, int dx, int dy)
Called first for a window-expose event.
virtual bool onCreate()
Called first for a window-map event.
virtual void onKeyRelease(::XKeyEvent &)
Called for a key-release event.
An interface for delivering GX::EventLoop events, with do-nothing default method implementations.
virtual bool onIdle()
Called by GX::Application::run() once the event queue is empty.
virtual void onLeftMouseButtonDown(int x, int y, bool shift, bool control)
Called for a left-mouse-button-down event.
virtual void onMouseMove(int x, int y)
Called for a mouse-move event.
virtual void onExpose(::XExposeEvent &)
Called third for a window-expose event.
virtual void onUser()
Called for a client-message event.
virtual void onShow()
Called second for a window-map event.
virtual void onMap(::XMapEvent &)
Called third for a window-map event.
virtual void onKeyPress(::XKeyEvent &)
Called for a key-press event.