diff options
Diffstat (limited to 'src/FbTk/EventHandler.hh')
-rw-r--r-- | src/FbTk/EventHandler.hh | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/FbTk/EventHandler.hh b/src/FbTk/EventHandler.hh index 10d9757..1813f2a 100644 --- a/src/FbTk/EventHandler.hh +++ b/src/FbTk/EventHandler.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: EventHandler.hh,v 1.2 2002/11/27 21:41:38 fluxgen Exp $ | 22 | // $Id: EventHandler.hh,v 1.3 2002/12/01 13:42:14 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_EVENTHANDLER_HH | 24 | #ifndef FBTK_EVENTHANDLER_HH |
25 | #define FBTK_EVENTHANDLER_HH | 25 | #define FBTK_EVENTHANDLER_HH |
@@ -29,24 +29,24 @@ | |||
29 | namespace FbTk { | 29 | namespace FbTk { |
30 | 30 | ||
31 | /** | 31 | /** |
32 | interface for X events | 32 | interface for X events |
33 | */ | 33 | */ |
34 | class EventHandler { | 34 | class EventHandler { |
35 | public: | 35 | public: |
36 | virtual ~EventHandler() { } | 36 | virtual ~EventHandler() { } |
37 | 37 | ||
38 | /** | 38 | /** |
39 | Events that don't have an specific event function | 39 | Events that don't have an specific event function |
40 | */ | 40 | */ |
41 | virtual void handleEvent(XEvent &ev) { } | 41 | virtual void handleEvent(XEvent &ev) { } |
42 | virtual void buttonPressEvent(XButtonEvent &ev) { } | 42 | virtual void buttonPressEvent(XButtonEvent &ev) { } |
43 | virtual void buttonReleaseEvent(XButtonEvent &ev) { } | 43 | virtual void buttonReleaseEvent(XButtonEvent &ev) { } |
44 | virtual void exposeEvent(XExposeEvent &ev) { } | 44 | virtual void exposeEvent(XExposeEvent &ev) { } |
45 | virtual void motionNotifyEvent(XMotionEvent &ev) { } | 45 | virtual void motionNotifyEvent(XMotionEvent &ev) { } |
46 | virtual void keyPressEvent(XKeyEvent &ev) { } | 46 | virtual void keyPressEvent(XKeyEvent &ev) { } |
47 | virtual void keyReleaseEvent(XKeyEvent &ev) { } | 47 | virtual void keyReleaseEvent(XKeyEvent &ev) { } |
48 | virtual void leaveNotifyEvent(XCrossingEvent &ev) { } | 48 | virtual void leaveNotifyEvent(XCrossingEvent &ev) { } |
49 | virtual void enterNotifyEvent(XCrossingEvent &ev) { } | 49 | virtual void enterNotifyEvent(XCrossingEvent &ev) { } |
50 | }; | 50 | }; |
51 | 51 | ||
52 | }; | 52 | }; |