diff options
| author | 3gg <3gg@shellblade.net> | 2025-07-14 08:15:24 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-07-14 08:15:24 -0700 |
| commit | 39ab6c2bce7434e45c3957168278cacf9dcd19f5 (patch) | |
| tree | f44b6293aa021dd1598eac9998500bab8caaf083 /include | |
| parent | c97af692c3a6984428465ab0bc99d56c301b353e (diff) | |
Rename backend functions to snake case
Diffstat (limited to 'include')
| -rw-r--r-- | include/isogfx/backend.h | 13 |
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; | |||
| 8 | typedef struct IsoBackend IsoBackend; | 8 | typedef struct IsoBackend IsoBackend; |
| 9 | 9 | ||
| 10 | /// Initialize the backend. | 10 | /// Initialize the backend. |
| 11 | IsoBackend* IsoBackendInit(const IsoGfx*); | 11 | IsoBackend* iso_backend_init(const IsoGfx*); |
| 12 | 12 | ||
| 13 | /// Shut down the backend. | 13 | /// Shut down the backend. |
| 14 | void IsoBackendShutdown(IsoBackend**); | 14 | void 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. |
| 19 | void IsoBackendResizeWindow(IsoBackend*, const IsoGfx*, int width, int height); | 19 | void 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. |
| 22 | void IsoBackendRender(const IsoBackend*, const IsoGfx*); | 23 | void 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(). |
| 27 | bool IsoBackendGetMousePosition( | 28 | bool 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); |
