diff options
author | 2025-05-18 11:35:29 +0200 | |
---|---|---|
committer | 2025-05-18 11:35:29 +0200 | |
commit | 77a456b65b3d21213db9a5c88076f511b753e07c (patch) | |
tree | 1830d08ee89a05a94e7a690d86425cd232d2cd6a /src/main/engine/engine.h | |
parent | 4b4f73e7e3d55b8217bbbc2b51c0e147614be192 (diff) | |
download | tris-77a456b65b3d21213db9a5c88076f511b753e07c.tar.gz tris-77a456b65b3d21213db9a5c88076f511b753e07c.zip |
Add the mouse button pressed in the graphics engine
Diffstat (limited to 'src/main/engine/engine.h')
-rw-r--r-- | src/main/engine/engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/engine/engine.h b/src/main/engine/engine.h index fc4c5b9..db555fc 100644 --- a/src/main/engine/engine.h +++ b/src/main/engine/engine.h @@ -28,5 +28,6 @@ void engine_init(int width, int height); void engine_draw_line(int x1, int y1, int x2, int y2); void engine_loop(void (*draw_frame)()); void engine_input(void (*f_input)(int engine_input)); +void engine_on_mouse_pressed(void (*event)()); #endif /* __ENGINE_H__ */ |