From c918280fb5de6e6256cfd9a438b3578c04e3afc2 Mon Sep 17 00:00:00 2001 From: Krow Savcik Date: Tue, 6 Feb 2024 22:56:21 +0200 Subject: feautre: added undo/redo buttons The change history is kept in a ring buffer of definite size 2000. --- src/tools.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tools.h') diff --git a/src/tools.h b/src/tools.h index c18afe3..cd232de 100644 --- a/src/tools.h +++ b/src/tools.h @@ -6,6 +6,8 @@ enum Tool_Types { TOOL_TYPE_ZOOMOUT, TOOL_TYPE_CLOWN, TOOL_TYPE_CPICKER, + TOOL_TYPE_UNDO, + TOOL_TYPE_REDO, TOOL_TYPE_EMPTY, }; -- cgit v1.2.3