diff options
author | Krow Savcik <krow@savcik.xyz> | 2024-02-16 18:32:54 +0200 |
---|---|---|
committer | Krow Savcik <krow@savcik.xyz> | 2024-02-16 18:32:54 +0200 |
commit | ae4f6cc7e9b567bcecc7fb812aa4ab5058aca379 (patch) | |
tree | 97fc380396bd4413c89d3608d45a0bdf25283a4e /src/canvas.h | |
parent | dc9a97424933e43b69996c0cbab8ecc01cfe72d0 (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.h | 1 |
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 *); |