From 6f6073be5de8c8598c4af7f38c90c3f83b5bf1bf Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 18 Dec 2018 21:08:20 +0100 Subject: Hacky mouse-based fluid interaction --- src/glfw/window.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/glfw/window.h') diff --git a/src/glfw/window.h b/src/glfw/window.h index ea6075b..af7ba4d 100644 --- a/src/glfw/window.h +++ b/src/glfw/window.h @@ -1,5 +1,6 @@ #pragma once +#include #include #include @@ -26,7 +27,9 @@ public: int getWidth() const; int getHeight() const; - KeyWatcher getKeyWatcher(int key); + std::tuple getMouse() const; + + KeyWatcher getKeyWatcher(int key) const; template void init(F f); -- cgit v1.2.3