diff options
author | Krow Savcik <krow@savcik.xyz> | 2024-02-06 22:56:21 +0200 |
---|---|---|
committer | Krow Savcik <krow@savcik.xyz> | 2024-02-06 22:56:21 +0200 |
commit | c918280fb5de6e6256cfd9a438b3578c04e3afc2 (patch) | |
tree | ba72e1464c487b61d4376647769c93cdbccf7a21 /src/tools.h | |
parent | 009a890482edfb2247da1d69b86f4d193699e3cb (diff) |
feautre: added undo/redo buttons
The change history is kept in a ring buffer of definite size 2000.
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, }; |