From 7a59d85dfead20dc34081badad6c8940e7190001 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Thu, 29 Aug 2024 20:11:29 -0700 Subject: Sort out window vs screen dimensions. --- gfx-iso/include/isogfx/app.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gfx-iso/include') diff --git a/gfx-iso/include/isogfx/app.h b/gfx-iso/include/isogfx/app.h index 769af6d..fe60d04 100644 --- a/gfx-iso/include/isogfx/app.h +++ b/gfx-iso/include/isogfx/app.h @@ -4,13 +4,15 @@ #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; // 0 or 1 for 1:1 scale. + int pixel_scale; // Use 0 or 1 for 1:1 scaling. IsoGfxAppState* state; bool (*init)(IsoGfxAppState*, IsoGfx*, int argc, const char** argv); -- cgit v1.2.3