diff options
author | quou <quou@disroot.org> | 2024-12-30 17:01:55 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-30 17:01:55 +1100 |
commit | 0f0167c0211acd69c104ab6c7c1caa8fa85d7e4f (patch) | |
tree | 9dc472a310d7f91a9456b87dee9e0b3e731d376c /app.hpp | |
parent | e8baea58dd5c92b62c4eef1b5c1ca9648f44e7d7 (diff) |
start UI framework
Diffstat (limited to 'app.hpp')
-rw-r--r-- | app.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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); |