aboutsummaryrefslogtreecommitdiff
path: root/src/glfw/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glfw/window.h')
-rw-r--r--src/glfw/window.h5
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);