aboutsummaryrefslogtreecommitdiff
path: root/src/canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/canvas.h')
-rw-r--r--src/canvas.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/canvas.h b/src/canvas.h
index 7595473..5735aba 100644
--- a/src/canvas.h
+++ b/src/canvas.h
@@ -6,10 +6,11 @@
struct Layer {
unsigned int *pix;
unsigned int visible;
+ char name[128];
};
struct Canvas {
- unsigned char layer_arr_cnt, layer_arr_sz;
+ unsigned int layer_arr_cnt, layer_arr_sz;
unsigned int cur_col, cur_layer;
unsigned int w, h, zoom;
char *proj_path;
@@ -41,7 +42,7 @@ void canvas_point_draw(Canvas *, long int, long int);
void canvas_mousel_up(Canvas *);
void canvas_mousel_down(Canvas *, long int, long int);
void canvas_mouse_move(Canvas *, long int, long int);
-void canvas_add_layer(Canvas *, unsigned char);
+void canvas_add_layer(Canvas *, unsigned int);
void canvas_move_x(Canvas *, long int);
void canvas_move_y(Canvas *, long int);
void canvas_refresh(Canvas *);