Undo + Recording

This commit is contained in:
2025-06-29 20:33:52 -04:00
parent 93ab62e494
commit 4b12153512
27 changed files with 2485 additions and 367 deletions

View File

@@ -233,7 +233,7 @@ enum KeyType
KEY_RGUI = 231
};
#define INPUT_COUNT (INPUT_UNDO + 1)
#define INPUT_COUNT (INPUT_REDO + 1)
enum InputType
{
INPUT_PAN,
@@ -248,7 +248,8 @@ enum InputType
INPUT_ROTATE_RIGHT,
INPUT_ZOOM_IN,
INPUT_ZOOM_OUT,
INPUT_UNDO
INPUT_UNDO,
INPUT_REDO
};
static const KeyType INPUT_KEYS[INPUT_COUNT]
@@ -265,7 +266,8 @@ static const KeyType INPUT_KEYS[INPUT_COUNT]
KEY_W,
KEY_1,
KEY_2,
KEY_Z
KEY_Z,
KEY_Y
};
struct Keyboard