diff options
Diffstat (limited to 'src/canvas.h')
-rw-r--r-- | src/canvas.h | 8 |
1 files changed, 6 insertions, 2 deletions
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; |