summaryrefslogtreecommitdiff
path: root/app.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'app.hpp')
-rw-r--r--app.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/app.hpp b/app.hpp
index 95bdec7..3e2ef23 100644
--- a/app.hpp
+++ b/app.hpp
@@ -126,14 +126,14 @@ struct App {
void begin();
void end();
- Key_State ks(Key k);
- Key_State ms(Mbtn k);
- bool kp(Key k);
- bool kjp(Key k);
- bool kjr(Key k);
- bool mp(Mbtn k);
- bool mjp(Mbtn k);
- bool mjr(Mbtn k);
+ Key_State ks(Key k) const;
+ Key_State ms(Mbtn k) const;
+ bool kp(Key k) const;
+ bool kjp(Key k) const;
+ bool kjr(Key k) const;
+ bool mp(Mbtn k) const;
+ bool mjp(Mbtn k) const;
+ bool mjr(Mbtn k) const;
void get_vk_exts(const char** exts, int& count);