prepare to fix paate overflow undo corruption

This commit is contained in:
tildearrow 2023-12-23 18:25:43 -05:00
parent ed37b5123f
commit 242a9e5729

View file

@ -885,6 +885,14 @@ struct SelectionPoint {
xCoarse(0), xFine(0), y(0) {} xCoarse(0), xFine(0), y(0) {}
}; };
struct UndoRegion {
struct UndoRegionPoint {
int ord, x, y;
UndoRegionPoint():
ord(0), x(0), y(0) {}
} begin, end;
};
enum ActionType { enum ActionType {
GUI_UNDO_CHANGE_ORDER, GUI_UNDO_CHANGE_ORDER,
GUI_UNDO_PATTERN_EDIT, GUI_UNDO_PATTERN_EDIT,