From 0f0167c0211acd69c104ab6c7c1caa8fa85d7e4f Mon Sep 17 00:00:00 2001 From: quou Date: Mon, 30 Dec 2024 17:01:55 +1100 Subject: start UI framework --- app.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'app.hpp') 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); -- cgit v1.2.3-54-g00ecf