diff options
Diffstat (limited to 'gfx-iso/include')
-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); |