diff options
author | 3gg <3gg@shellblade.net> | 2024-08-29 20:11:29 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-08-29 20:11:29 -0700 |
commit | 7a59d85dfead20dc34081badad6c8940e7190001 (patch) | |
tree | ef1b47f5fb68c6f7b1b77bcef281a73cdd0b5f08 /gfx-iso/include/isogfx/app.h | |
parent | 4e545b237f0f306c21073bc646aa7fe00ed71136 (diff) |
Sort out window vs screen dimensions.
Diffstat (limited to 'gfx-iso/include/isogfx/app.h')
-rw-r--r-- | gfx-iso/include/isogfx/app.h | 4 |
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 | |||
7 | typedef struct IsoGfx IsoGfx; | 9 | typedef struct IsoGfx IsoGfx; |
8 | typedef struct IsoGfxApp IsoGfxApp; | 10 | typedef struct IsoGfxApp IsoGfxApp; |
9 | 11 | ||
10 | typedef struct IsoGfxAppState IsoGfxAppState; | 12 | typedef struct IsoGfxAppState IsoGfxAppState; |
11 | 13 | ||
12 | typedef struct IsoGfxApp { | 14 | typedef 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); |