diff options
author | neoraider <devnull@localhost> | 2008-02-15 23:44:03 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-02-15 23:44:03 +0100 |
commit | 77b187b8eba7598fb6154da5d3d62ad0920eac15 (patch) | |
tree | aa5c147510fe6c6c8b0b8433380dafbf3d0d60a7 /EventHandler.h | |
parent | 0ea1d388651217697d49029820b02b4f002f1ac0 (diff) | |
download | zoomedit-77b187b8eba7598fb6154da5d3d62ad0920eac15.tar zoomedit-77b187b8eba7598fb6154da5d3d62ad0920eac15.zip |
zoomedit: Changed some interfaces.
Diffstat (limited to 'EventHandler.h')
-rw-r--r-- | EventHandler.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/EventHandler.h b/EventHandler.h index dabb25b..7676de1 100644 --- a/EventHandler.h +++ b/EventHandler.h @@ -1,13 +1,17 @@ #ifndef EVENTHANDLER_H_ #define EVENTHANDLER_H_ +#include "Vertex.h" + + class EventHandler { public: virtual ~EventHandler() {} - virtual bool buttonPress(unsigned int button) {return false;} - virtual bool buttonRelease(unsigned int button) {return false;} - virtual bool motion() {return false;} + virtual bool buttonPress(unsigned int button, const Vertex *v) {return false;} + virtual bool buttonRelease(unsigned int button, const Vertex *v) {return false;} + virtual bool motion(const Vertex *v) {return false;} + virtual bool motion(const Vertex *v, float scale) {return motion(v);} }; #endif /*EVENTHANDLER_H_*/ |