diff options
author | 2025-05-17 00:57:41 +0200 | |
---|---|---|
committer | 2025-05-17 00:57:41 +0200 | |
commit | d9ceba3831a7dd09b0a177dd366c87420a014eee (patch) | |
tree | 63c5da398c03e72d2a77a6c334c121fb2856363e /src/main/ui/ui.h | |
parent | a823645c4672e0b22ffb1188b49d9fbab04e4128 (diff) | |
download | tris-d9ceba3831a7dd09b0a177dd366c87420a014eee.tar.gz tris-d9ceba3831a7dd09b0a177dd366c87420a014eee.zip |
Add the UI lop event function
Diffstat (limited to 'src/main/ui/ui.h')
-rw-r--r-- | src/main/ui/ui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/ui/ui.h b/src/main/ui/ui.h index 90d8c80..86521aa 100644 --- a/src/main/ui/ui.h +++ b/src/main/ui/ui.h @@ -21,7 +21,8 @@ #define __UI_H__ void ui_init(int w, int h); -void ui_loop(void (*draw_frame)(void)); +void ui_loop(void); void ui_set_title(const char *title); +void ui_set_loop_listener(void (*loop_event)()); #endif /* __UI_H__ */ |