prepare for undo

This commit is contained in:
tildearrow 2021-12-22 17:59:19 -05:00
parent 45f8441f1d
commit 5a549f7436
1 changed files with 13 additions and 0 deletions

View File

@ -63,6 +63,19 @@ struct SelectionPoint {
xCoarse(0), xFine(0), y(0) {}
};
enum ActionType {
GUI_ACTION_PATTERN
};
struct UndoData {
int data;
};
struct UndoStep {
ActionType type;
std::vector<UndoData> data;
};
class FurnaceGUI {
DivEngine* e;