From ae4f6cc7e9b567bcecc7fb812aa4ab5058aca379 Mon Sep 17 00:00:00 2001 From: Krow Savcik Date: Fri, 16 Feb 2024 18:32:54 +0200 Subject: improved: layer interface New layer is added above the selected one rather than being added on top. --- src/canvas.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/canvas.h') 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 *); -- cgit v1.2.3