From bd57f345ed9dbed1d81683e48199626de2ea9044 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Fri, 27 Jun 2025 10:18:39 -0700 Subject: Restructure project --- gfx-iso/include/isogfx/backend.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 gfx-iso/include/isogfx/backend.h (limited to 'gfx-iso/include/isogfx/backend.h') diff --git a/gfx-iso/include/isogfx/backend.h b/gfx-iso/include/isogfx/backend.h deleted file mode 100644 index 172991d..0000000 --- a/gfx-iso/include/isogfx/backend.h +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -#include - -typedef struct Gfx Gfx; -typedef struct IsoGfx IsoGfx; - -typedef struct IsoBackend IsoBackend; - -/// Initialize the backend. -IsoBackend* IsoBackendInit(const IsoGfx*); - -/// Shut down the backend. -void IsoBackendShutdown(IsoBackend**); - -/// Notify the backend of a window resize event. -/// This allows the backend to determine how to position and scale the iso -/// screen buffer on the graphics window. -void IsoBackendResizeWindow(IsoBackend*, const IsoGfx*, int width, int height); - -/// Render the iso screen to the graphics window. -void IsoBackendRender(const IsoBackend*, const IsoGfx*); - -/// Map window coordinates to iso space coordinates. -/// This takes into account any possible resizing done by the backend in -/// response to calls to IsoBackendResizeWindow(). -bool IsoBackendGetMousePosition( - const IsoBackend*, double window_x, double window_y, double* x, double* y); -- cgit v1.2.3