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.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/gfx-iso/include/isogfx/app.h b/gfx-iso/include/isogfx/app.h
deleted file mode 100644
index fe60d04..0000000
--- a/gfx-iso/include/isogfx/app.h
+++ /dev/null
@@ -1,24 +0,0 @@
1#pragma once
2
3#include <gfx/app.h>
4
5#include <stdbool.h>
6
7// TODO: Define an isogfx-gl backend library. Remove all these callbacks.
8
9typedef struct IsoGfx IsoGfx;
10typedef struct IsoGfxApp IsoGfxApp;
11
12typedef struct IsoGfxAppState IsoGfxAppState;
13
14typedef struct IsoGfxApp {
15 int pixel_scale; // Use 0 or 1 for 1:1 scaling.
16 IsoGfxAppState* state;
17
18 bool (*init)(IsoGfxAppState*, IsoGfx*, int argc, const char** argv);
19 void (*shutdown)(IsoGfxAppState*, IsoGfx*);
20 void (*update)(IsoGfxAppState*, IsoGfx*, double t, double dt);
21 void (*render)(IsoGfxAppState*, IsoGfx*);
22} IsoGfxApp;
23
24void iso_run(int argc, const char** argv, IsoGfxApp*);