From 39c5caccf8486d4a2ffc551b8acf0806fd832d4f Mon Sep 17 00:00:00 2001 From: Krow Savcik Date: Fri, 19 Jul 2024 15:52:31 +0300 Subject: feature: add UI frames --- src/canvas.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/canvas.h') diff --git a/src/canvas.h b/src/canvas.h index 21b1d67..58f20b7 100644 --- a/src/canvas.h +++ b/src/canvas.h @@ -10,9 +10,14 @@ struct Layer { char name[LAYERNAMELEN+1]; }; +struct Frame { + unsigned int state; +}; + struct Canvas { unsigned int layer_arr_cnt, layer_arr_sz; - unsigned int cur_col, cur_layer; + unsigned int frame_arr_cnt, frame_arr_sz; + unsigned int cur_col, cur_layer, cur_frame; unsigned int w, h, zoom; char *proj_path; struct Layer **layers; @@ -29,7 +34,6 @@ struct Canvas { unsigned int a; }; -typedef struct Layer Layer; typedef struct Canvas Canvas; extern unsigned char is_drawing; -- cgit v1.2.3