summaryrefslogtreecommitdiff
path: root/src/main/ui/ui.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-17 14:10:39 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-17 14:10:39 +0200
commit268790307bde4859ac6ee5ac6c3d19ada9ed5a11 (patch)
treed0f0a0574cf33526668307bafc269a1a3d7df6e6 /src/main/ui/ui.h
parenta3027cce6f5f7753147edc49aa4403a013338c3d (diff)
downloadtris-268790307bde4859ac6ee5ac6c3d19ada9ed5a11.tar.gz
tris-268790307bde4859ac6ee5ac6c3d19ada9ed5a11.zip
Add the maanagement of mouse press event
Diffstat (limited to 'src/main/ui/ui.h')
-rw-r--r--src/main/ui/ui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/ui/ui.h b/src/main/ui/ui.h
index fcdd99f..06cd515 100644
--- a/src/main/ui/ui.h
+++ b/src/main/ui/ui.h
@@ -25,5 +25,6 @@ void ui_loop(void);
void ui_set_title(const char *title);
void ui_set_loop_listener(void (*event)());
void ui_set_mouse_press_listener(void (*event)());
+void ui_set_generic_listener(void (*generic_event)(int type));
#endif /* __UI_H__ */