summaryrefslogtreecommitdiff
path: root/gfx-iso/include/isogfx/app.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-08-29 20:11:29 -0700
committer3gg <3gg@shellblade.net>2024-08-29 20:11:29 -0700
commit7a59d85dfead20dc34081badad6c8940e7190001 (patch)
treeef1b47f5fb68c6f7b1b77bcef281a73cdd0b5f08 /gfx-iso/include/isogfx/app.h
parent4e545b237f0f306c21073bc646aa7fe00ed71136 (diff)
Sort out window vs screen dimensions.
Diffstat (limited to 'gfx-iso/include/isogfx/app.h')
-rw-r--r--gfx-iso/include/isogfx/app.h4
1 files changed, 3 insertions, 1 deletions
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 @@
4 4
5#include <stdbool.h> 5#include <stdbool.h>
6 6
7// TODO: Define an isogfx-gl backend library. Remove all these callbacks.
8
7typedef struct IsoGfx IsoGfx; 9typedef struct IsoGfx IsoGfx;
8typedef struct IsoGfxApp IsoGfxApp; 10typedef struct IsoGfxApp IsoGfxApp;
9 11
10typedef struct IsoGfxAppState IsoGfxAppState; 12typedef struct IsoGfxAppState IsoGfxAppState;
11 13
12typedef struct IsoGfxApp { 14typedef struct IsoGfxApp {
13 int pixel_scale; // 0 or 1 for 1:1 scale. 15 int pixel_scale; // Use 0 or 1 for 1:1 scaling.
14 IsoGfxAppState* state; 16 IsoGfxAppState* state;
15 17
16 bool (*init)(IsoGfxAppState*, IsoGfx*, int argc, const char** argv); 18 bool (*init)(IsoGfxAppState*, IsoGfx*, int argc, const char** argv);