diff options
Diffstat (limited to 'src/glfw/window.h')
-rw-r--r-- | src/glfw/window.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 <tuple> #include <string> #include <GL/glew.h> @@ -26,7 +27,9 @@ public: int getWidth() const; int getHeight() const; - KeyWatcher getKeyWatcher(int key); + std::tuple<bool,int,int> getMouse() const; + + KeyWatcher getKeyWatcher(int key) const; template <class F> void init(F f); |