summaryrefslogtreecommitdiff
path: root/src/main/engine/engine.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-20 20:23:59 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-20 20:25:31 +0200
commit693d830f69b9a4ce6f956f4a688f41180156473e (patch)
treec15764d1e95291b32ca9af41daf4dd41290544a7 /src/main/engine/engine.h
parent618402caa489751d61643e6839607fd1546ad635 (diff)
downloadtris-693d830f69b9a4ce6f956f4a688f41180156473e.tar.gz
tris-693d830f69b9a4ce6f956f4a688f41180156473e.zip
Add logic to get coordinates of the mouse button click
Diffstat (limited to 'src/main/engine/engine.h')
-rw-r--r--src/main/engine/engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/engine/engine.h b/src/main/engine/engine.h
index b28a3c5..73d5dd5 100644
--- a/src/main/engine/engine.h
+++ b/src/main/engine/engine.h
@@ -29,6 +29,6 @@ void engine_draw_circle(float cx, float cy, float r, int num_segments, int outli
void engine_draw_line(float x1, float y1, float x2, float y2);
void engine_loop(void);
void engine_input(void (*f_input)(int engine_input));
-void engine_on_mouse_pressed(void (*event)());
+void engine_set_mouse_button_listener(void (*event)(int x, int y));
#endif /* __ENGINE_H__ */