aboutsummaryrefslogtreecommitdiff
path: root/src/cdraw.c
diff options
context:
space:
mode:
authorKrow Savcik <krow@savcik.xyz>2024-02-06 22:56:21 +0200
committerKrow Savcik <krow@savcik.xyz>2024-02-06 22:56:21 +0200
commitc918280fb5de6e6256cfd9a438b3578c04e3afc2 (patch)
treeba72e1464c487b61d4376647769c93cdbccf7a21 /src/cdraw.c
parent009a890482edfb2247da1d69b86f4d193699e3cb (diff)
feautre: added undo/redo buttons
The change history is kept in a ring buffer of definite size 2000.
Diffstat (limited to 'src/cdraw.c')
-rw-r--r--src/cdraw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cdraw.c b/src/cdraw.c
index c0c06c5..25c0dba 100644
--- a/src/cdraw.c
+++ b/src/cdraw.c
@@ -4,6 +4,7 @@
#include "cdraw.h"
#include "types.h"
+#include "action.h"
#include "canvas.h"
#include "debug.h"
#include "palette.h"