From 07ac0fe25109717d4d7f9bcc7ae313a25b839cb0 Mon Sep 17 00:00:00 2001 From: mafaldo Date: Mon, 12 Feb 2018 19:27:49 +0100 Subject: add pan --- src/main/headers/Scene.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/headers') diff --git a/src/main/headers/Scene.hpp b/src/main/headers/Scene.hpp index 757202c..19a32dd 100644 --- a/src/main/headers/Scene.hpp +++ b/src/main/headers/Scene.hpp @@ -15,6 +15,7 @@ public: virtual void click(const sf::Event::MouseButtonEvent &click) {} virtual void keyPress(const sf::Event::KeyEvent &event) {} virtual void zoom(float factor) {} + virtual void pan(int dx, int dy) {}; protected: float _zoom = 1; -- cgit v1.2.1