UI: Initial Undo/Redo

Starting to develop Undo/Redo. This just implmements the undo/redo stack
and its api.
This commit is contained in:
Ford Smith
2021-03-29 03:06:26 -04:00
committed by Ford Smith
parent eaf992119f
commit eced5a320b
3 changed files with 175 additions and 0 deletions
+28
View File
@@ -262,6 +262,34 @@ Basic.SceneTransitions="Scene Transitions"
Basic.TransitionDuration="Duration"
Basic.TogglePreviewProgramMode="Studio Mode"
# undo
Undo.Undo="Undo"
Undo.Redo="Redo"
Undo.Add="Add '%1'"
Undo.Delete="Delete '%1'"
Undo.Rename="Rename '%1'"
Undo.SceneCollection.Switch="Switch to '%1'"
Undo.Item.Undo="Undo %1"
Undo.Item.Redo="Redo %1"
Undo.Sources.Multi="Delete %1 Sources"
Undo.Filters="Filter Changes on '%1'"
Undo.Transform="Transform source(s) In '%1'"
Undo.Transform.Paste="Paste Transformation in '%1'"
Undo.Transform.Rotate="Rotation In '%1'"
Undo.Transform.Reset="Transform Reset In '%1'"
Undo.Transform.HFlip="Horizontal Flip In '%1'"
Undo.Transform.VFlip="Vertical Flip In '%1'"
Undo.Transform.FitToScren="Fit to Screen In '%1'"
Undo.Transform.StretchToScreen="Stretch to Screen in '%1'"
Undo.Transform.Center="Center to Screen in '%1'"
Undo.Transform.VCenter="Vertical Center to Screen in '%1'"
Undo.Transform.HCenter="Horizontal Center to Screen in '%1'"
Undo.Volume.Change="Volume Change on '%1'"
Undo.Audio="Audio Changes"
Undo.Properties="Property Change on '%1'"
Undo.Scene.Duplicate="Duplicate Scene '%1'"
# transition name dialog
TransitionNameDlg.Text="Please enter the name of the transition"
TransitionNameDlg.Title="Transition Name"