diff --git a/src/gui/gui.h b/src/gui/gui.h index ad94a352d..12ef1d9bc 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -3,6 +3,7 @@ #include "imgui_impl_sdl.h" #include "imgui_impl_sdlrenderer.h" #include +#include #include enum FurnaceGUIColors { @@ -77,7 +78,13 @@ struct SelectionPoint { }; enum ActionType { - GUI_ACTION_PATTERN + GUI_ACTION_CHANGE_SYSTEM, + GUI_ACTION_PATTERN_EDIT, + GUI_ACTION_PATTERN_DELETE, + GUI_ACTION_PATTERN_PULL, + GUI_ACTION_PATTERN_PUSH, + GUI_ACTION_PATTERN_CUT, + GUI_ACTION_PATTERN_PASTE }; struct UndoData { @@ -155,6 +162,9 @@ class FurnaceGUI { ImVec2 patWindowPos, patWindowSize; + std::deque undoHist; + std::deque redoHist; + void updateWindowTitle(); void prepareLayout();