From daf6262c029892212f6b9b4014887c2c37e9ef75 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 31 Aug 2024 18:58:39 -0700 Subject: Handle resizing. --- gfx-iso/include/isogfx/app.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 gfx-iso/include/isogfx/app.h (limited to 'gfx-iso/include/isogfx/app.h') diff --git a/gfx-iso/include/isogfx/app.h b/gfx-iso/include/isogfx/app.h deleted file mode 100644 index fe60d04..0000000 --- a/gfx-iso/include/isogfx/app.h +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -#include - -#include - -// TODO: Define an isogfx-gl backend library. Remove all these callbacks. - -typedef struct IsoGfx IsoGfx; -typedef struct IsoGfxApp IsoGfxApp; - -typedef struct IsoGfxAppState IsoGfxAppState; - -typedef struct IsoGfxApp { - int pixel_scale; // Use 0 or 1 for 1:1 scaling. - IsoGfxAppState* state; - - bool (*init)(IsoGfxAppState*, IsoGfx*, int argc, const char** argv); - void (*shutdown)(IsoGfxAppState*, IsoGfx*); - void (*update)(IsoGfxAppState*, IsoGfx*, double t, double dt); - void (*render)(IsoGfxAppState*, IsoGfx*); -} IsoGfxApp; - -void iso_run(int argc, const char** argv, IsoGfxApp*); -- cgit v1.2.3