diff options
| author | kkard2 <[email protected]> | 2025-09-14 13:04:56 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2025-09-14 13:04:56 +0200 |
| commit | 8af35e5ed10f1b4cbef908948355a2832ea36fbe (patch) | |
| tree | 39893f071aee046dfad11bdf1494873e9ec49da1 /example.h | |
| parent | d30d4c2c3832c1e4df1d4fb266b04ca4dfdd828b (diff) | |
uv
Diffstat (limited to 'example.h')
| -rw-r--r-- | example.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,8 @@ +#include <stdint.h> + void init(); void draw_frame(sponge_Texture c); - +void mouse_move(int32_t x, int32_t y); #ifdef SPONGE_EXAMPLE_IMPLEMENTATION @@ -8,4 +10,8 @@ void draw_frame(sponge_Texture c); void init() {} #endif // SPONGE_EXAMPLE_INIT_DEFINED +#ifndef SPONGE_EXAMPLE_MOUSE_MOVE_DEFINED +void mouse_move(int32_t x, int32_t y) {} +#endif // SPONGE_EXAMPLE_MOUSE_MOVE_DEFINED + #endif // SPONGE_EXAMPLE_IMPLEMENTATION |
