diff options
Diffstat (limited to 'ToolGrab.h')
-rw-r--r-- | ToolGrab.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,7 +6,7 @@ #include "SidebarView.h" -class ToolGrab : public Tool, public EventHandler { +class ToolGrab : public Tool, private EventHandler { private: GtkWidget *image; @@ -43,6 +43,10 @@ class ToolGrab : public Tool, public EventHandler { return image; } + virtual bool hoverFilter(const LevelObject &object) const { + return object.canMove(); + } + virtual EventHandler* getEventHandler() { return this; } |