summaryrefslogtreecommitdiff
path: root/app.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-30 17:01:55 +1100
committerquou <quou@disroot.org>2024-12-30 17:01:55 +1100
commit0f0167c0211acd69c104ab6c7c1caa8fa85d7e4f (patch)
tree9dc472a310d7f91a9456b87dee9e0b3e731d376c /app.hpp
parente8baea58dd5c92b62c4eef1b5c1ca9648f44e7d7 (diff)
start UI framework
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);