diff options
Diffstat (limited to 'src/canvas.h')
-rw-r--r-- | src/canvas.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/canvas.h b/src/canvas.h index ae45dfa..21b1d67 100644 --- a/src/canvas.h +++ b/src/canvas.h @@ -2,11 +2,12 @@ /* TODO: move to config.h */ #define HISTLENGTH 2000 +#define LAYERNAMELEN 30 struct Layer { unsigned int *pix; unsigned int visible; - char name[128]; + char name[LAYERNAMELEN+1]; }; struct Canvas { @@ -22,6 +23,10 @@ struct Canvas { uint *pres_pix; Action history[HISTLENGTH]; int hist_s, hist_e, hist_i, hist_isend; + + + /* Variables used for various editing states */ + unsigned int a; }; typedef struct Layer Layer; |