Convert Video mostly over to properties

This commit is contained in:
Matt Nadareski
2026-04-03 12:31:24 -04:00
parent 4fecf8b498
commit 2ed0c1f732
31 changed files with 217 additions and 179 deletions

View File

@@ -234,6 +234,8 @@ namespace SabreTools.Data.Extensions
}
else if (self is Display selfDisplay && clone is Display cloneDisplay)
{
cloneDisplay.AspectX = selfDisplay.AspectX;
cloneDisplay.AspectY = selfDisplay.AspectY;
cloneDisplay.DisplayType = selfDisplay.DisplayType;
cloneDisplay.FlipX = selfDisplay.FlipX;
cloneDisplay.HBEnd = selfDisplay.HBEnd;
@@ -365,8 +367,12 @@ namespace SabreTools.Data.Extensions
}
else if (self is Video selfVideo && clone is Video cloneVideo)
{
cloneVideo.AspectX = selfVideo.AspectX;
cloneVideo.AspectY = selfVideo.AspectY;
cloneVideo.Height = selfVideo.Height;
cloneVideo.Refresh = selfVideo.Refresh;
cloneVideo.Screen = selfVideo.Screen;
cloneVideo.Width = selfVideo.Width;
}
// Handle known properties