From 77b187b8eba7598fb6154da5d3d62ad0920eac15 Mon Sep 17 00:00:00 2001 From: neoraider Date: Fri, 15 Feb 2008 22:44:03 +0000 Subject: zoomedit: Changed some interfaces. --- EventHandler.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'EventHandler.h') 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_*/ -- cgit v1.2.3