UI: Undo/Redo Transformations

Implements undo/redo for transformations of sources, both through
preview and the transformations properties.
This commit is contained in:
Ford Smith 2021-03-22 01:14:37 -04:00 • committed by Ford Smith
commit 3a620c485e
8 changed files with 426 additions and 2 deletions

View file

@ -21,6 +21,8 @@ private:
OBSSignal selectSignal;
OBSSignal deselectSignal;
std::string undo_data;
bool ignoreTransformSignal = false;
bool ignoreItemChange = false;
@ -46,4 +48,5 @@ private slots:
public:
OBSBasicTransform(OBSBasic *parent);
~OBSBasicTransform();
};