aboutsummaryrefslogtreecommitdiff
path: root/src/canvas.h
diff options
context:
space:
mode:
authorKrow Savcik <krow@savcik.xyz>2024-02-16 18:32:54 +0200
committerKrow Savcik <krow@savcik.xyz>2024-02-16 18:32:54 +0200
commitae4f6cc7e9b567bcecc7fb812aa4ab5058aca379 (patch)
tree97fc380396bd4413c89d3608d45a0bdf25283a4e /src/canvas.h
parentdc9a97424933e43b69996c0cbab8ecc01cfe72d0 (diff)
improved: layer interface
New layer is added above the selected one rather than being added on top.
Diffstat (limited to 'src/canvas.h')
-rw-r--r--src/canvas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/canvas.h b/src/canvas.h
index 5735aba..ae45dfa 100644
--- a/src/canvas.h
+++ b/src/canvas.h
@@ -46,6 +46,7 @@ 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 *);
+void canvas_change_layer(Canvas *, unsigned int);
unsigned char canvas_save(Canvas *, const char *, short int);
unsigned char canvas_export_png(Canvas *, const char *, void *);
void action_undo(Canvas *);