summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-07-14 08:15:24 -0700
committer3gg <3gg@shellblade.net>2025-07-14 08:15:24 -0700
commit39ab6c2bce7434e45c3957168278cacf9dcd19f5 (patch)
treef44b6293aa021dd1598eac9998500bab8caaf083 /include
parentc97af692c3a6984428465ab0bc99d56c301b353e (diff)
Rename backend functions to snake case
Diffstat (limited to 'include')
-rw-r--r--include/isogfx/backend.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/isogfx/backend.h b/include/isogfx/backend.h
index 172991d..76ee13d 100644
--- a/include/isogfx/backend.h
+++ b/include/isogfx/backend.h
@@ -8,21 +8,22 @@ typedef struct IsoGfx IsoGfx;
8typedef struct IsoBackend IsoBackend; 8typedef struct IsoBackend IsoBackend;
9 9
10/// Initialize the backend. 10/// Initialize the backend.
11IsoBackend* IsoBackendInit(const IsoGfx*); 11IsoBackend* iso_backend_init(const IsoGfx*);
12 12
13/// Shut down the backend. 13/// Shut down the backend.
14void IsoBackendShutdown(IsoBackend**); 14void iso_backend_shutdown(IsoBackend**);
15 15
16/// Notify the backend of a window resize event. 16/// Notify the backend of a window resize event.
17/// This allows the backend to determine how to position and scale the iso 17/// This allows the backend to determine how to position and scale the iso
18/// screen buffer on the graphics window. 18/// screen buffer on the graphics window.
19void IsoBackendResizeWindow(IsoBackend*, const IsoGfx*, int width, int height); 19void iso_backend_resize_window(
20 IsoBackend*, const IsoGfx*, int width, int height);
20 21
21/// Render the iso screen to the graphics window. 22/// Render the iso screen to the graphics window.
22void IsoBackendRender(const IsoBackend*, const IsoGfx*); 23void iso_backend_render(const IsoBackend*, const IsoGfx*);
23 24
24/// Map window coordinates to iso space coordinates. 25/// Map window coordinates to iso space coordinates.
25/// This takes into account any possible resizing done by the backend in 26/// This takes into account any possible resizing done by the backend in
26/// response to calls to IsoBackendResizeWindow(). 27/// response to calls to iso_backend_resize_window().
27bool IsoBackendGetMousePosition( 28bool iso_backend_get_mouse_position(
28 const IsoBackend*, double window_x, double window_y, double* x, double* y); 29 const IsoBackend*, double window_x, double window_y, double* x, double* y);