diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-06-06 22:58:53 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-06-06 22:58:53 +0200 |
commit | 4ed8eb19f573d15b1b0526b2588bf20758b4f374 (patch) | |
tree | ccc78f878103f76a84157fc5ad64e1d3f93cc2e0 /code/fe310/eos/eve/screen/tile.h | |
parent | 6ec81884f4c22f789a7b77f7eb77e01ada971464 (diff) |
tile -> window; opverlapping windows added
Diffstat (limited to 'code/fe310/eos/eve/screen/tile.h')
-rw-r--r-- | code/fe310/eos/eve/screen/tile.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/code/fe310/eos/eve/screen/tile.h b/code/fe310/eos/eve/screen/tile.h deleted file mode 100644 index 5fea8bf..0000000 --- a/code/fe310/eos/eve/screen/tile.h +++ /dev/null @@ -1,24 +0,0 @@ -#include <stdint.h> - -struct EVECanvas; - -typedef int (*eve_canvas_touch_t) (struct EVECanvas *, uint8_t, int); -typedef uint8_t (*eve_canvas_draw_t) (struct EVECanvas *, uint8_t); - -typedef struct EVECanvas { - eve_canvas_touch_t touch; - eve_canvas_draw_t draw; -} EVECanvas; - -typedef struct EVETile { - uint16_t x; - uint16_t y; - uint16_t w; - uint16_t h; - EVECanvas *canvas; - EVEScreen *screen; -} EVETile; - -void eve_tile_init(EVETile *tile, EVEScreen *screen, uint16_t x, uint16_t y, uint16_t w, uint16_t h, EVECanvas *canvas); -void eve_tile_get_pos(EVETile *tile, uint16_t *x, uint16_t *y, uint16_t *w, uint16_t *h); -void eve_canvas_init(EVECanvas *canvas, eve_canvas_touch_t touch, eve_canvas_draw_t draw); |