summaryrefslogtreecommitdiff
path: root/gfx-iso/include/isogfx/app.h
diff options
context:
space:
mode:
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);