summaryrefslogtreecommitdiffstats
path: root/EventHandler.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-12-25 04:27:03 +0100
committerneoraider <devnull@localhost>2007-12-25 04:27:03 +0100
commit052641637bd20ffde6ddb8919888e2af987bafff (patch)
treea3ad75e2271fd95337a9768df5fe452e2a63b0ce /EventHandler.h
parent953a6ff48ac6c46a0d81bedb0fbdafe5d637666e (diff)
downloadzoomedit-052641637bd20ffde6ddb8919888e2af987bafff.tar
zoomedit-052641637bd20ffde6ddb8919888e2af987bafff.zip
zoomedit: Added rectangular room tool.
Diffstat (limited to 'EventHandler.h')
-rw-r--r--EventHandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/EventHandler.h b/EventHandler.h
index 7708341..6bb6c0f 100644
--- a/EventHandler.h
+++ b/EventHandler.h
@@ -5,7 +5,8 @@ class EventHandler {
public:
virtual ~EventHandler() {}
- virtual bool buttonPress(unsigned int button) = 0;
+ virtual bool buttonPress(unsigned int button) {return false;}
+ virtual bool buttonRelease(unsigned int button) {return false;}
};
#endif /*EVENTHANDLER_H_*/