feat(app): sequence editor view with preview tools, filmstrip, section tabs and Export panel

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 17:26:54 +00:00
1 parent f6ad822fbb
commit 37703b13f9
16 files changed
+1606 -8

No files matched your search

+196
View File
@@ -4,8 +4,204 @@
<resheader name="version"><value>2.0</value></resheader>
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<data name="Editor.Analyse" xml:space="preserve"><value>Analyse</value></data>
<data name="Editor.Analyse.Queued" xml:space="preserve"><value>Analysis queued</value></data>
<data name="Editor.Aspect.Ratio" xml:space="preserve"><value>{0}</value><comment>invariant</comment></data>
<data name="Editor.Aspect.Source" xml:space="preserve"><value>Source</value></data>
<data name="Editor.Back" xml:space="preserve"><value>Back</value></data>
<data name="Editor.Camera.AddKey" xml:space="preserve"><value>Add keyframe</value></data>
<data name="Editor.Camera.Aspect" xml:space="preserve"><value>Aspect</value></data>
<data name="Editor.Camera.CenterX" xml:space="preserve"><value>Horizontal centre</value></data>
<data name="Editor.Camera.CenterY" xml:space="preserve"><value>Vertical centre</value></data>
<data name="Editor.Camera.Curve" xml:space="preserve"><value>Keyframes</value></data>
<data name="Editor.Camera.KeyOf" xml:space="preserve"><value>Keyframe {0} of {1} · {2}</value></data>
<data name="Editor.Camera.Keys.one" xml:space="preserve"><value>{0} keyframe</value></data>
<data name="Editor.Camera.Keys.other" xml:space="preserve"><value>{0} keyframes</value></data>
<data name="Editor.Camera.OffsetX" xml:space="preserve"><value>Horizontal placement</value></data>
<data name="Editor.Camera.OffsetY" xml:space="preserve"><value>Vertical placement</value></data>
<data name="Editor.Camera.RemoveKey" xml:space="preserve"><value>Remove keyframe</value></data>
<data name="Editor.Camera.Zoom" xml:space="preserve"><value>Zoom</value></data>
<data name="Editor.Chart.Clouds" xml:space="preserve"><value>cloud cover %</value></data>
<data name="Editor.Chart.Measured" xml:space="preserve"><value>measured luminance</value></data>
<data name="Editor.Chart.NotAnalysed" xml:space="preserve"><value>Not analysed yet</value></data>
<data name="Editor.Chart.PathX" xml:space="preserve"><value>horizontal path</value></data>
<data name="Editor.Chart.PathY" xml:space="preserve"><value>vertical path</value></data>
<data name="Editor.Chart.Sky" xml:space="preserve"><value>sky region</value></data>
<data name="Editor.Chart.Stars" xml:space="preserve"><value>stars per Mpx</value></data>
<data name="Editor.Chart.Steps" xml:space="preserve"><value>exposure steps as received</value></data>
<data name="Editor.Chart.Target" xml:space="preserve"><value>target curve</value></data>
<data name="Editor.Empty" xml:space="preserve"><value>Pick a sequence in the Library</value></data>
<data name="Editor.Error.Missing" xml:space="preserve"><value>This sequence is no longer in the archive.</value><comment>long</comment></data>
<data name="Editor.Error.NoEngine" xml:space="preserve"><value>Jobs cannot run until the archive index is open.</value><comment>long</comment></data>
<data name="Editor.Error.Project" xml:space="preserve"><value>The settings of this sequence cannot be read.</value><comment>long</comment></data>
<data name="Editor.Export.About" xml:space="preserve"><value>about {0}</value></data>
<data name="Editor.Export.AddToQueue" xml:space="preserve"><value>Add to queue</value></data>
<data name="Editor.Export.Batch" xml:space="preserve"><value>Batch…</value></data>
<data name="Editor.Export.Bpp" xml:space="preserve"><value>{0} bpp</value><comment>invariant</comment></data>
<data name="Editor.Export.Browse" xml:space="preserve"><value>Choose folder…</value></data>
<data name="Editor.Export.Codec" xml:space="preserve"><value>Codec</value></data>
<data name="Editor.Export.Colour" xml:space="preserve"><value>Colour</value></data>
<data name="Editor.Export.Container" xml:space="preserve"><value>Container</value></data>
<data name="Editor.Export.Depth" xml:space="preserve"><value>Rec.709 {0}-bit</value><comment>invariant</comment></data>
<data name="Editor.Export.Encoder" xml:space="preserve"><value>Encoder</value></data>
<data name="Editor.Export.EncoderAuto" xml:space="preserve"><value>Auto</value></data>
<data name="Editor.Export.FileName" xml:space="preserve"><value>File name</value></data>
<data name="Editor.Export.Fps" xml:space="preserve"><value>{0} fps</value><comment>invariant</comment></data>
<data name="Editor.Export.FrameRate" xml:space="preserve"><value>Frame rate</value></data>
<data name="Editor.Export.Hardware" xml:space="preserve"><value>hardware</value></data>
<data name="Editor.Export.Height" xml:space="preserve"><value>Height</value></data>
<data name="Editor.Export.History.one" xml:space="preserve"><value>Previous renders: {0} · last {1}</value><comment>long</comment></data>
<data name="Editor.Export.History.other" xml:space="preserve"><value>Previous renders: {0} · last {1}</value><comment>long</comment></data>
<data name="Editor.Export.HistoryLink" xml:space="preserve"><value>history</value></data>
<data name="Editor.Export.InBatch" xml:space="preserve"><value>In batch</value></data>
<data name="Editor.Export.Mbps" xml:space="preserve"><value>{0} Mb/s</value><comment>invariant</comment></data>
<data name="Editor.Export.NoHistory" xml:space="preserve"><value>No renders yet</value></data>
<data name="Editor.Export.Output" xml:space="preserve"><value>Output · {0}</value></data>
<data name="Editor.Export.Preset" xml:space="preserve"><value>Export preset</value></data>
<data name="Editor.Export.Quality" xml:space="preserve"><value>Quality</value></data>
<data name="Editor.Export.QualityValue" xml:space="preserve"><value>Quality {0}</value></data>
<data name="Editor.Export.Recommended" xml:space="preserve"><value>Recommended</value></data>
<data name="Editor.Export.RenderNow" xml:space="preserve"><value>Render now</value></data>
<data name="Editor.Export.Resolution" xml:space="preserve"><value>Resolution</value></data>
<data name="Editor.Export.Result" xml:space="preserve"><value>Result</value></data>
<data name="Editor.Export.SaveTo" xml:space="preserve"><value>Save to</value></data>
<data name="Editor.Export.SequenceFolder" xml:space="preserve"><value>Sequence exports/</value></data>
<data name="Editor.Export.Size" xml:space="preserve"><value>Estimated size</value></data>
<data name="Editor.Export.Software" xml:space="preserve"><value>software</value></data>
<data name="Editor.Export.Time" xml:space="preserve"><value>Estimated time</value></data>
<data name="Editor.Export.Unavailable" xml:space="preserve"><value>No encoder here</value></data>
<data name="Editor.Export.Width" xml:space="preserve"><value>Width</value></data>
<data name="Editor.Exposure.Deflicker" xml:space="preserve"><value>Deflicker</value></data>
<data name="Editor.Exposure.FlickerChange" xml:space="preserve"><value>flicker {0} %</value></data>
<data name="Editor.Exposure.HolyGrail" xml:space="preserve"><value>Holy grail</value></data>
<data name="Editor.Exposure.MaxStep" xml:space="preserve"><value>max step {0} EV</value></data>
<data name="Editor.Exposure.Offset" xml:space="preserve"><value>Exposure offset</value></data>
<data name="Editor.Exposure.Regions" xml:space="preserve"><value>Regions</value></data>
<data name="Editor.Exposure.Strength" xml:space="preserve"><value>Strength</value></data>
<data name="Editor.Exposure.Temperature" xml:space="preserve"><value>Colour temperature</value></data>
<data name="Editor.Exposure.Transitions" xml:space="preserve"><value>Transitions</value></data>
<data name="Editor.Exposure.WhiteBalance" xml:space="preserve"><value>White balance smoothing</value></data>
<data name="Editor.Exposure.Window" xml:space="preserve"><value>Deflicker window</value></data>
<data name="Editor.Filmstrip" xml:space="preserve"><value>Filmstrip</value></data>
<data name="Editor.Flow.Balanced" xml:space="preserve"><value>Balanced</value></data>
<data name="Editor.Flow.Best" xml:space="preserve"><value>Best</value></data>
<data name="Editor.Flow.Draft" xml:space="preserve"><value>Draft</value></data>
<data name="Editor.Frames.Column.Aperture" xml:space="preserve"><value>f</value><comment>invariant</comment></data>
<data name="Editor.Frames.Column.Exposure" xml:space="preserve"><value>Exposure</value></data>
<data name="Editor.Frames.Column.Flags" xml:space="preserve"><value>Flags</value></data>
<data name="Editor.Frames.Column.Iso" xml:space="preserve"><value>ISO</value><comment>invariant</comment></data>
<data name="Editor.Frames.Column.Number" xml:space="preserve"><value>#</value><comment>invariant</comment></data>
<data name="Editor.Frames.Column.Size" xml:space="preserve"><value>Size</value></data>
<data name="Editor.Frames.Column.Tier" xml:space="preserve"><value>Decode</value></data>
<data name="Editor.Frames.Column.Time" xml:space="preserve"><value>Time</value></data>
<data name="Editor.Frames.Exclude" xml:space="preserve"><value>Exclude</value></data>
<data name="Editor.Frames.ExcludeFrame" xml:space="preserve"><value>Exclude frame</value></data>
<data name="Editor.Frames.Excluded" xml:space="preserve"><value>excluded</value></data>
<data name="Editor.Frames.ExcludedLabel" xml:space="preserve"><value>Excluded</value></data>
<data name="Editor.Frames.ExcludedNone" xml:space="preserve"><value>None</value></data>
<data name="Editor.Frames.Flag.Black" xml:space="preserve"><value>black</value></data>
<data name="Editor.Frames.Flag.Corrupt" xml:space="preserve"><value>corrupt</value></data>
<data name="Editor.Frames.Flag.Duplicate" xml:space="preserve"><value>duplicate</value></data>
<data name="Editor.Frames.Flag.Missing" xml:space="preserve"><value>missing</value></data>
<data name="Editor.Frames.Flag.Undecodable" xml:space="preserve"><value>unreadable</value></data>
<data name="Editor.Frames.Flag.White" xml:space="preserve"><value>white</value></data>
<data name="Editor.Frames.Hero" xml:space="preserve"><value>hero</value></data>
<data name="Editor.Frames.HeroLabel" xml:space="preserve"><value>Hero frame</value></data>
<data name="Editor.Frames.HeroNone" xml:space="preserve"><value>Not set</value></data>
<data name="Editor.Frames.HeroValue" xml:space="preserve"><value>Frame {0}</value></data>
<data name="Editor.Frames.Include" xml:space="preserve"><value>Include</value></data>
<data name="Editor.Frames.IncludeFrame" xml:space="preserve"><value>Include frame</value></data>
<data name="Editor.Frames.NoWarnings" xml:space="preserve"><value>No warnings</value></data>
<data name="Editor.Frames.PreviewOnly" xml:space="preserve"><value>{0} preview</value></data>
<data name="Editor.Frames.SetHero" xml:space="preserve"><value>Set hero</value></data>
<data name="Editor.Frames.Warnings" xml:space="preserve"><value>Warnings</value></data>
<data name="Editor.Loading" xml:space="preserve"><value>Opening sequence</value></data>
<data name="Editor.Marker.Keyframe" xml:space="preserve"><value>Keyframe</value></data>
<data name="Editor.Marker.Step" xml:space="preserve"><value>Exposure step {0} EV</value></data>
<data name="Editor.Marker.StepIgnored" xml:space="preserve"><value>Step {0} EV not received</value></data>
<data name="Editor.Motion.Blur" xml:space="preserve"><value>Motion blur</value></data>
<data name="Editor.Motion.CropValue" xml:space="preserve"><value>crop {0} %</value></data>
<data name="Editor.Motion.Flow" xml:space="preserve"><value>Flow quality</value></data>
<data name="Editor.Motion.PanValue" xml:space="preserve"><value>pan {0} px/frame</value></data>
<data name="Editor.Motion.ShakeValue" xml:space="preserve"><value>shake {0} px</value></data>
<data name="Editor.Motion.Shutter" xml:space="preserve"><value>Shutter angle</value></data>
<data name="Editor.Motion.Smoothing" xml:space="preserve"><value>Path smoothing</value></data>
<data name="Editor.Motion.Stabilize" xml:space="preserve"><value>Stabilise</value></data>
<data name="Editor.Optimise.Change" xml:space="preserve"><value>{0}: {1} → {2}</value><comment>invariant</comment></data>
<data name="Editor.Optimise.Done.one" xml:space="preserve"><value>{0} setting changed</value></data>
<data name="Editor.Optimise.Done.other" xml:space="preserve"><value>{0} settings changed</value></data>
<data name="Editor.Optimise.Nothing" xml:space="preserve"><value>Nothing to change</value></data>
<data name="Editor.OptimiseAll" xml:space="preserve"><value>Optimise all</value></data>
<data name="Editor.OptimiseSection" xml:space="preserve"><value>Optimise section</value></data>
<data name="Editor.Preview" xml:space="preserve"><value>Preview</value></data>
<data name="Editor.Preview.ActualSize" xml:space="preserve"><value>1:1</value><comment>invariant</comment></data>
<data name="Editor.Preview.Clip" xml:space="preserve"><value>Preview 10 s</value></data>
<data name="Editor.Preview.Compare" xml:space="preserve"><value>Compare</value></data>
<data name="Editor.Preview.CropMask" xml:space="preserve"><value>Crop mask</value></data>
<data name="Editor.Preview.ExitFullScreen" xml:space="preserve"><value>Exit full screen</value></data>
<data name="Editor.Preview.FullScreen" xml:space="preserve"><value>Full screen</value></data>
<data name="Editor.Preview.OutputSize" xml:space="preserve"><value>output {0}</value></data>
<data name="Editor.Preview.OutputTime" xml:space="preserve"><value>{0} of {1}</value></data>
<data name="Editor.Preview.Play" xml:space="preserve"><value>Play</value></data>
<data name="Editor.Preview.Regions" xml:space="preserve"><value>Regions</value></data>
<data name="Editor.Preview.ShotData" xml:space="preserve"><value>Shot data</value></data>
<data name="Editor.Preview.Vectors" xml:space="preserve"><value>Vectors</value></data>
<data name="Editor.Preview.Wipe" xml:space="preserve"><value>original | corrected</value></data>
<data name="Editor.Regions.Auto" xml:space="preserve"><value>Auto</value></data>
<data name="Editor.Regions.Horizon" xml:space="preserve"><value>Horizon</value></data>
<data name="Editor.Regions.Luminance" xml:space="preserve"><value>Luminance</value></data>
<data name="Editor.Render" xml:space="preserve"><value>Render · {0}</value></data>
<data name="Editor.Render.Queued" xml:space="preserve"><value>Render queued</value></data>
<data name="Editor.RenderButton" xml:space="preserve"><value>Render</value></data>
<data name="Editor.Reset" xml:space="preserve"><value>Reset</value></data>
<data name="Editor.ResetToAuto" xml:space="preserve"><value>Back to Auto</value></data>
<data name="Editor.Sections" xml:space="preserve"><value>Sections</value></data>
<data name="Editor.Shot.Aperture" xml:space="preserve"><value>f/{0}</value><comment>invariant</comment></data>
<data name="Editor.Shot.Focal" xml:space="preserve"><value>{0} mm</value><comment>invariant</comment></data>
<data name="Editor.Shot.Iso" xml:space="preserve"><value>ISO {0}</value><comment>invariant</comment></data>
<data name="Editor.Shot.Shutter" xml:space="preserve"><value>{0} s</value><comment>invariant</comment></data>
<data name="Editor.Stack.Length" xml:space="preserve"><value>Length</value></data>
<data name="Editor.Stack.Mean" xml:space="preserve"><value>Mean</value></data>
<data name="Editor.Stack.Median" xml:space="preserve"><value>Median</value></data>
<data name="Editor.Stack.Mode" xml:space="preserve"><value>Stacking</value></data>
<data name="Editor.Stack.NoStarField" xml:space="preserve"><value>No star field found</value></data>
<data name="Editor.Stack.StarField" xml:space="preserve"><value>Star field found</value></data>
<data name="Editor.Stack.StarTrails" xml:space="preserve"><value>Star trails</value></data>
<data name="Editor.Summary.Frames.one" xml:space="preserve"><value>{0:N0} frame</value></data>
<data name="Editor.Summary.Frames.other" xml:space="preserve"><value>{0:N0} frames</value></data>
<data name="Editor.Summary.Interval" xml:space="preserve"><value>{0} s interval</value></data>
<data name="Editor.Summary.Warnings.one" xml:space="preserve"><value>{0} warning</value></data>
<data name="Editor.Summary.Warnings.other" xml:space="preserve"><value>{0} warnings</value></data>
<data name="Editor.Tab.Camera" xml:space="preserve"><value>Camera</value></data>
<data name="Editor.Tab.Export" xml:space="preserve"><value>Export</value></data>
<data name="Editor.Tab.Exposure" xml:space="preserve"><value>Exposure</value></data>
<data name="Editor.Tab.Frames" xml:space="preserve"><value>Frames</value></data>
<data name="Editor.Tab.Motion" xml:space="preserve"><value>Motion</value></data>
<data name="Editor.Tab.Stack" xml:space="preserve"><value>Stack</value></data>
<data name="Editor.Tab.Time" xml:space="preserve"><value>Time</value></data>
<data name="Editor.Time.Curve" xml:space="preserve"><value>Speed curve</value></data>
<data name="Editor.Time.Fit" xml:space="preserve"><value>Fit to duration</value></data>
<data name="Editor.Time.Mode" xml:space="preserve"><value>Timing</value></data>
<data name="Editor.Time.Output" xml:space="preserve"><value>output {0} %</value></data>
<data name="Editor.Time.Plan.one" xml:space="preserve"><value>{0:N0} frame → {1} · {2} fps</value><comment>long</comment></data>
<data name="Editor.Time.Plan.other" xml:space="preserve"><value>{0:N0} frames → {1} · {2} fps</value><comment>long</comment></data>
<data name="Editor.Time.Rate" xml:space="preserve"><value>Playback rate</value></data>
<data name="Editor.Time.Source" xml:space="preserve"><value>source {0} %</value></data>
<data name="Editor.Timing.Adaptive" xml:space="preserve"><value>Adaptive</value></data>
<data name="Editor.Timing.Constant" xml:space="preserve"><value>Constant</value></data>
<data name="Editor.Timing.Interpolated" xml:space="preserve"><value>Interpolated</value></data>
<data name="Editor.Timing.Remapped" xml:space="preserve"><value>Remapped</value></data>
<data name="Editor.Value.Centred" xml:space="preserve"><value>Centred</value></data>
<data name="Editor.Value.Ev" xml:space="preserve"><value>{0} EV</value><comment>invariant</comment></data>
<data name="Editor.Value.Fps" xml:space="preserve"><value>{0} fps</value><comment>invariant</comment></data>
<data name="Editor.Value.Frames.one" xml:space="preserve"><value>{0:N0} frame</value></data>
<data name="Editor.Value.Frames.other" xml:space="preserve"><value>{0:N0} frames</value></data>
<data name="Editor.Value.Kelvin" xml:space="preserve"><value>{0}–{1} K</value><comment>invariant</comment></data>
<data name="Editor.Value.None" xml:space="preserve"><value>None</value></data>
<data name="Editor.Value.Number" xml:space="preserve"><value>{0}</value><comment>invariant</comment></data>
<data name="Editor.Value.Off" xml:space="preserve"><value>Off</value></data>
<data name="Editor.Value.On" xml:space="preserve"><value>On</value></data>
<data name="Editor.Value.Pixels" xml:space="preserve"><value>{0} px</value><comment>invariant</comment></data>
<data name="Editor.Value.Text" xml:space="preserve"><value>{0}</value><comment>invariant</comment></data>
<data name="Editor.Value.Zoom" xml:space="preserve"><value>{0}×</value><comment>invariant</comment></data>
</root>
+16
View File
@@ -4,6 +4,22 @@
<resheader name="version"><value>2.0</value></resheader>
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<data name="Export.Codec.Apng" xml:space="preserve"><value>APNG</value><comment>invariant</comment></data>
<data name="Export.Codec.Av1" xml:space="preserve"><value>AV1</value><comment>invariant</comment></data>
<data name="Export.Codec.Gif" xml:space="preserve"><value>GIF</value><comment>invariant</comment></data>
<data name="Export.Codec.H264" xml:space="preserve"><value>H.264 High</value><comment>invariant</comment></data>
<data name="Export.Codec.Hevc" xml:space="preserve"><value>HEVC Main</value><comment>invariant</comment></data>
<data name="Export.Codec.HevcMain10" xml:space="preserve"><value>HEVC Main10</value><comment>invariant</comment></data>
<data name="Export.Codec.JpegSequence" xml:space="preserve"><value>JPEG</value><comment>invariant</comment></data>
<data name="Export.Codec.LinearDngSequence" xml:space="preserve"><value>Linear DNG</value></data>
<data name="Export.Codec.Mjpeg" xml:space="preserve"><value>MJPEG</value><comment>invariant</comment></data>
<data name="Export.Codec.PngSequence" xml:space="preserve"><value>PNG</value><comment>invariant</comment></data>
<data name="Export.Codec.Tiff16Sequence" xml:space="preserve"><value>TIFF 16-bit</value><comment>invariant</comment></data>
<data name="Export.Container.Apng" xml:space="preserve"><value>APNG</value><comment>invariant</comment></data>
<data name="Export.Container.Avi" xml:space="preserve"><value>AVI</value><comment>invariant</comment></data>
<data name="Export.Container.Gif" xml:space="preserve"><value>GIF</value><comment>invariant</comment></data>
<data name="Export.Container.ImageSequence" xml:space="preserve"><value>Image sequence</value></data>
<data name="Export.Container.Mp4" xml:space="preserve"><value>MP4</value><comment>invariant</comment></data>
<data name="Export.Encoder.BitDepthAdjusted" xml:space="preserve"><value>{0}-bit output is not available with this encoder; encoding at {1}-bit.</value><comment>long; {0} requested bit depth; {1} bit depth used</comment></data>
<data name="Export.Encoder.BitRateCapped" xml:space="preserve"><value>Bit rate capped at {1} bit/s, the maximum of level {0}.</value><comment>long; {0} codec level name; {1} maximum bit rate in bit/s</comment></data>
<data name="Export.Encoder.FallbackToH264" xml:space="preserve"><value>No {0} encoder on this PC; H.264 is used instead.</value><comment>long; {0} codec name</comment></data>
+91
View File
@@ -15,6 +15,97 @@
<data name="Tooltips.Common.Dismiss" xml:space="preserve"><value>Dismiss</value></data>
<data name="Tooltips.Common.OpenLogs" xml:space="preserve"><value>Open the folder with the log files</value></data>
<data name="Tooltips.Common.ResetToAuto" xml:space="preserve"><value>Return to the advisor's value</value></data>
<data name="Tooltips.Editor.Analyse" xml:space="preserve"><value>Read every frame again and refresh the analysis; runs as a background job</value></data>
<data name="Tooltips.Editor.Auto.Default" xml:space="preserve"><value>Auto: no advice yet, the engine’s default applies; Analyse lets the advisor decide</value></data>
<data name="Tooltips.Editor.Back" xml:space="preserve"><value>Back to Library</value></data>
<data name="Tooltips.Editor.Busy" xml:space="preserve"><value>An analysis or render of this sequence is running; settings wait until it ends</value></data>
<data name="Tooltips.Editor.Camera.AddKey" xml:space="preserve"><value>Add a keyframe at the current frame</value></data>
<data name="Tooltips.Editor.Camera.Aspect" xml:space="preserve"><value>Output aspect ratio; a preset with a fixed size uses its own</value></data>
<data name="Tooltips.Editor.Camera.CenterX" xml:space="preserve"><value>Horizontal centre of the selected keyframe’s view</value></data>
<data name="Tooltips.Editor.Camera.CenterY" xml:space="preserve"><value>Vertical centre of the selected keyframe’s view</value></data>
<data name="Tooltips.Editor.Camera.Keys" xml:space="preserve"><value>Virtual-camera keyframes: zoom and framing at chosen frames, eased in between</value></data>
<data name="Tooltips.Editor.Camera.OffsetX" xml:space="preserve"><value>Moves the crop left or right inside the frame</value></data>
<data name="Tooltips.Editor.Camera.OffsetY" xml:space="preserve"><value>Moves the crop up or down inside the frame</value></data>
<data name="Tooltips.Editor.Camera.RemoveKey" xml:space="preserve"><value>Remove the selected keyframe</value></data>
<data name="Tooltips.Editor.Camera.Zoom" xml:space="preserve"><value>Zoom of the selected keyframe; 1 shows the whole crop, more zooms in and softens</value></data>
<data name="Tooltips.Editor.Export.AddToQueue" xml:space="preserve"><value>Add this render to the queue and keep editing</value></data>
<data name="Tooltips.Editor.Export.ApplyPreset" xml:space="preserve"><value>Apply this sequence preset to every section · {0}</value></data>
<data name="Tooltips.Editor.Export.Batch" xml:space="preserve"><value>Queue every ticked preset as one job; the sequence is prepared once</value></data>
<data name="Tooltips.Editor.Export.BitRate" xml:space="preserve"><value>Average bit rate; more keeps detail and gradients, files grow</value></data>
<data name="Tooltips.Editor.Export.Codec" xml:space="preserve"><value>Video or image codec; 10-bit HEVC keeps sky gradients clean</value></data>
<data name="Tooltips.Editor.Export.Colour" xml:space="preserve"><value>Rec.709 colour; 10-bit avoids banding in skies, HDR is not offered</value></data>
<data name="Tooltips.Editor.Export.Container" xml:space="preserve"><value>MP4, AVI, GIF, APNG or a folder of images; the codec list follows</value></data>
<data name="Tooltips.Editor.Export.Encoder" xml:space="preserve"><value>Encoder on this PC; Auto prefers hardware</value></data>
<data name="Tooltips.Editor.Export.Folder" xml:space="preserve"><value>Where renders go: {0}</value></data>
<data name="Tooltips.Editor.Export.FrameRate" xml:space="preserve"><value>Frames per second of the video file</value></data>
<data name="Tooltips.Editor.Export.FrameRateAuto" xml:space="preserve"><value>Auto: the preset’s {0} fps</value></data>
<data name="Tooltips.Editor.Export.FrameRateReset" xml:space="preserve"><value>Return to the preset’s frame rate</value></data>
<data name="Tooltips.Editor.Export.Height" xml:space="preserve"><value>Output height in pixels; empty follows the width · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Editor.Export.History" xml:space="preserve"><value>Open Jobs to see the renders of this sequence</value></data>
<data name="Tooltips.Editor.Export.InBatch" xml:space="preserve"><value>Include this preset when Batch queues the render</value></data>
<data name="Tooltips.Editor.Export.Name" xml:space="preserve"><value>Tokens: {date} {title} {preset} {codec} {width} {height} {fps} · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Editor.Export.Preset" xml:space="preserve"><value>Render with {0}; editing a value makes it Custom</value></data>
<data name="Tooltips.Editor.Export.Quality" xml:space="preserve"><value>Image quality; 95 looks lossless, lower makes smaller files</value></data>
<data name="Tooltips.Editor.Export.Recommended" xml:space="preserve"><value>Advisor pick: {0}</value></data>
<data name="Tooltips.Editor.Export.SizeInvalid" xml:space="preserve"><value>Enter a size between 16 and 16384 pixels</value></data>
<data name="Tooltips.Editor.Export.Width" xml:space="preserve"><value>Output width in pixels; empty uses the preset or the source · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Editor.Exposure.Deflicker" xml:space="preserve"><value>Removes frame-to-frame brightness flicker; off keeps the camera’s own exposure</value></data>
<data name="Tooltips.Editor.Exposure.HolyGrail" xml:space="preserve"><value>Turns ISO, shutter and aperture steps into smooth ramps; off keeps the jumps</value></data>
<data name="Tooltips.Editor.Exposure.Offset" xml:space="preserve"><value>Brightens or darkens the whole video after correction, in stops</value></data>
<data name="Tooltips.Editor.Exposure.Regions" xml:space="preserve"><value>Sky and landscape get their own curve; off treats the frame as one</value></data>
<data name="Tooltips.Editor.Exposure.Strength" xml:space="preserve"><value>How much of the measured flicker is removed; 1.0 removes it all</value></data>
<data name="Tooltips.Editor.Exposure.Temperature" xml:space="preserve"><value>Colour temperature range measured over the sequence</value></data>
<data name="Tooltips.Editor.Exposure.Transitions" xml:space="preserve"><value>Frames over which each ISO, shutter or aperture step is spread; 0 keeps the steps</value></data>
<data name="Tooltips.Editor.Exposure.WhiteBalance" xml:space="preserve"><value>Smooths the colour ratios so auto white balance stops flickering while the sunset drift stays</value></data>
<data name="Tooltips.Editor.Exposure.Window" xml:space="preserve"><value>Frames used to estimate the flicker-free curve; too short leaves flicker, too long flattens real light changes</value></data>
<data name="Tooltips.Editor.Frames.Exclude" xml:space="preserve"><value>Leave this frame out of every render; the photo is not deleted</value></data>
<data name="Tooltips.Editor.Frames.Finding" xml:space="preserve"><value>Show the first frame concerned</value></data>
<data name="Tooltips.Editor.Frames.Hero" xml:space="preserve"><value>Use the frame as the sequence thumbnail</value></data>
<data name="Tooltips.Editor.Frames.Include" xml:space="preserve"><value>Use this frame in renders again</value></data>
<data name="Tooltips.Editor.Frames.Table" xml:space="preserve"><value>Click a row to show the frame</value></data>
<data name="Tooltips.Editor.Motion.Blur" xml:space="preserve"><value>Adds blur along the motion like a slower shutter; costs optical flow on every frame</value></data>
<data name="Tooltips.Editor.Motion.Flow" xml:space="preserve"><value>Optical flow precision for blur and synthesised frames; Best is the slowest</value></data>
<data name="Tooltips.Editor.Motion.Shutter" xml:space="preserve"><value>Target shutter angle; 180° is the film look, more smears moving things</value></data>
<data name="Tooltips.Editor.Motion.Smoothing" xml:space="preserve"><value>Frames over which the camera path is smoothed; too high crops more on deliberate pans</value></data>
<data name="Tooltips.Editor.Motion.Stabilize" xml:space="preserve"><value>Removes camera shake by cropping slightly; the crop grows with the shake</value></data>
<data name="Tooltips.Editor.NotApplicable.BlurOff" xml:space="preserve"><value>Not applicable: motion blur is off</value></data>
<data name="Tooltips.Editor.NotApplicable.DeflickerOff" xml:space="preserve"><value>Not applicable: deflicker is off</value></data>
<data name="Tooltips.Editor.NotApplicable.HolyGrailOff" xml:space="preserve"><value>Not applicable: holy grail is off</value></data>
<data name="Tooltips.Editor.NotApplicable.Kelvin" xml:space="preserve"><value>Not applicable: the frames sit off the daylight locus (night or mixed light)</value></data>
<data name="Tooltips.Editor.NotApplicable.Lossless" xml:space="preserve"><value>Not applicable: this format is lossless</value></data>
<data name="Tooltips.Editor.NotApplicable.NeedsAnalysis" xml:space="preserve"><value>Needs the deep analysis: press Analyse</value></data>
<data name="Tooltips.Editor.NotApplicable.NoFlow" xml:space="preserve"><value>Not applicable: used only by motion blur and interpolated timing</value></data>
<data name="Tooltips.Editor.NotApplicable.StabilizeOff" xml:space="preserve"><value>Not applicable: stabilisation is off</value></data>
<data name="Tooltips.Editor.NotApplicable.StackOff" xml:space="preserve"><value>Not applicable: stacking is off</value></data>
<data name="Tooltips.Editor.OptimiseAll" xml:space="preserve"><value>Let the advisor set every section from the analysis and list what changed</value></data>
<data name="Tooltips.Editor.OptimiseNone" xml:space="preserve"><value>The advisor never stacks on its own: a median erases moving stars</value></data>
<data name="Tooltips.Editor.OptimiseSection" xml:space="preserve"><value>Apply the advisor’s heavier choices for this section and list what changed · Ctrl+Z undoes</value></data>
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pause · Space</value></data>
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Play the frames · Space; arrows step one frame</value></data>
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Show pixels at 1:1 without interpolation · Ctrl+1; Ctrl+0 fits</value></data>
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Play ten seconds of the video’s frames with the current settings</value></data>
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Wipe compare: original on the left, corrected on the right; drag the line</value></data>
<data name="Tooltips.Editor.Preview.CropMask" xml:space="preserve"><value>Show the whole frame and darken what the output will cut</value></data>
<data name="Tooltips.Editor.Preview.ExitFullScreen" xml:space="preserve"><value>Close full screen · Esc</value></data>
<data name="Tooltips.Editor.Preview.FullScreen" xml:space="preserve"><value>Full screen at native resolution · Esc closes</value></data>
<data name="Tooltips.Editor.Preview.Regions" xml:space="preserve"><value>Show the sky and landscape boundary used by region deflicker</value></data>
<data name="Tooltips.Editor.Preview.ShotData" xml:space="preserve"><value>Show or hide the shot data</value></data>
<data name="Tooltips.Editor.Preview.Vectors" xml:space="preserve"><value>Overlay the motion to the next frame measured by the engine</value></data>
<data name="Tooltips.Editor.Render" xml:space="preserve"><value>Render with the selected preset; progress in the job bar · Ctrl+R</value></data>
<data name="Tooltips.Editor.RenderChoice" xml:space="preserve"><value>Choose another preset</value></data>
<data name="Tooltips.Editor.ResetSection" xml:space="preserve"><value>Return every control of this section to Auto · Ctrl+Z undoes</value></data>
<data name="Tooltips.Editor.Stack.Length" xml:space="preserve"><value>Frames combined into each output frame; trails and smoothing grow with it</value></data>
<data name="Tooltips.Editor.Stack.Mode" xml:space="preserve"><value>Median and mean remove noise and moving things; star trails keep the brightest pixels</value></data>
<data name="Tooltips.Editor.Tab.Camera" xml:space="preserve"><value>Crop, aspect, virtual camera moves</value></data>
<data name="Tooltips.Editor.Tab.Export" xml:space="preserve"><value>Presets, output, batch, history</value></data>
<data name="Tooltips.Editor.Tab.Exposure" xml:space="preserve"><value>Deflicker, regions, day-night transitions, white balance</value></data>
<data name="Tooltips.Editor.Tab.Frames" xml:space="preserve"><value>Frame table, warnings, exclusions</value></data>
<data name="Tooltips.Editor.Tab.Motion" xml:space="preserve"><value>Motion blur, optical flow, stabilisation</value></data>
<data name="Tooltips.Editor.Tab.Stack" xml:space="preserve"><value>Median and star-trail stacking</value></data>
<data name="Tooltips.Editor.Tab.Time" xml:space="preserve"><value>Frame rate, timing mode, speed curve</value></data>
<data name="Tooltips.Editor.Time.Fit" xml:space="preserve"><value>Scales the timing so the video lasts this long; off keeps the playback rate</value></data>
<data name="Tooltips.Editor.Time.Mode" xml:space="preserve"><value>Constant: one frame per photo; Adaptive: follows capture time; Interpolated: fills gaps; Remapped: follows the curve</value></data>
<data name="Tooltips.Editor.Time.Rate" xml:space="preserve"><value>Photos shown per second of video; more plays the sequence faster</value></data>
<data name="Tooltips.Jobs.Cancel" xml:space="preserve"><value>Stop this job; Retry continues later from its last checkpoint</value></data>
<data name="Tooltips.Jobs.ClearDone" xml:space="preserve"><value>Hide finished jobs from the list; they stay in the history</value></data>
<data name="Tooltips.Jobs.Filter.All" xml:space="preserve"><value>Every job</value></data>
+175
View File
@@ -4,8 +4,183 @@
<resheader name="version"><value>2.0</value></resheader>
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<data name="Editor.Analyse" xml:space="preserve"><value>Analizza</value></data>
<data name="Editor.Analyse.Queued" xml:space="preserve"><value>Analisi in coda</value></data>
<data name="Editor.Aspect.Source" xml:space="preserve"><value>Sorgente</value></data>
<data name="Editor.Back" xml:space="preserve"><value>Indietro</value></data>
<data name="Editor.Camera.AddKey" xml:space="preserve"><value>Aggiungi chiave</value></data>
<data name="Editor.Camera.Aspect" xml:space="preserve"><value>Formato</value></data>
<data name="Editor.Camera.CenterX" xml:space="preserve"><value>Centro orizzontale</value></data>
<data name="Editor.Camera.CenterY" xml:space="preserve"><value>Centro verticale</value></data>
<data name="Editor.Camera.Curve" xml:space="preserve"><value>Fotogrammi chiave</value></data>
<data name="Editor.Camera.KeyOf" xml:space="preserve"><value>Chiave {0} di {1} · {2}</value></data>
<data name="Editor.Camera.Keys.one" xml:space="preserve"><value>{0} chiave</value></data>
<data name="Editor.Camera.Keys.other" xml:space="preserve"><value>{0} chiavi</value></data>
<data name="Editor.Camera.OffsetX" xml:space="preserve"><value>Posizione orizzontale</value></data>
<data name="Editor.Camera.OffsetY" xml:space="preserve"><value>Posizione verticale</value></data>
<data name="Editor.Camera.RemoveKey" xml:space="preserve"><value>Rimuovi chiave</value></data>
<data name="Editor.Camera.Zoom" xml:space="preserve"><value>Zoom</value></data>
<data name="Editor.Chart.Clouds" xml:space="preserve"><value>copertura nuvolosa %</value></data>
<data name="Editor.Chart.Measured" xml:space="preserve"><value>luminanza misurata</value></data>
<data name="Editor.Chart.NotAnalysed" xml:space="preserve"><value>Non ancora analizzata</value></data>
<data name="Editor.Chart.PathX" xml:space="preserve"><value>percorso orizzontale</value></data>
<data name="Editor.Chart.PathY" xml:space="preserve"><value>percorso verticale</value></data>
<data name="Editor.Chart.Sky" xml:space="preserve"><value>regione del cielo</value></data>
<data name="Editor.Chart.Stars" xml:space="preserve"><value>stelle per Mpx</value></data>
<data name="Editor.Chart.Steps" xml:space="preserve"><value>salti di esposizione ricevuti</value></data>
<data name="Editor.Chart.Target" xml:space="preserve"><value>curva obiettivo</value></data>
<data name="Editor.Empty" xml:space="preserve"><value>Scegli una sequenza in Libreria</value></data>
<data name="Editor.Error.Missing" xml:space="preserve"><value>Questa sequenza non è più nell’archivio.</value></data>
<data name="Editor.Error.NoEngine" xml:space="preserve"><value>I lavori non possono partire finché l’indice dell’archivio non è aperto.</value></data>
<data name="Editor.Error.Project" xml:space="preserve"><value>Le impostazioni di questa sequenza non sono leggibili.</value></data>
<data name="Editor.Export.About" xml:space="preserve"><value>circa {0}</value></data>
<data name="Editor.Export.AddToQueue" xml:space="preserve"><value>Metti in coda</value></data>
<data name="Editor.Export.Batch" xml:space="preserve"><value>In serie…</value></data>
<data name="Editor.Export.Browse" xml:space="preserve"><value>Scegli cartella…</value></data>
<data name="Editor.Export.Codec" xml:space="preserve"><value>Codec</value></data>
<data name="Editor.Export.Colour" xml:space="preserve"><value>Colore</value></data>
<data name="Editor.Export.Container" xml:space="preserve"><value>Contenitore</value></data>
<data name="Editor.Export.Encoder" xml:space="preserve"><value>Encoder</value></data>
<data name="Editor.Export.EncoderAuto" xml:space="preserve"><value>Auto</value></data>
<data name="Editor.Export.FileName" xml:space="preserve"><value>Nome file</value></data>
<data name="Editor.Export.FrameRate" xml:space="preserve"><value>Fotogrammi al secondo</value></data>
<data name="Editor.Export.Hardware" xml:space="preserve"><value>hardware</value></data>
<data name="Editor.Export.Height" xml:space="preserve"><value>Altezza</value></data>
<data name="Editor.Export.History.one" xml:space="preserve"><value>Render precedenti: {0} · ultimo {1}</value></data>
<data name="Editor.Export.History.other" xml:space="preserve"><value>Render precedenti: {0} · ultimo {1}</value></data>
<data name="Editor.Export.HistoryLink" xml:space="preserve"><value>cronologia</value></data>
<data name="Editor.Export.InBatch" xml:space="preserve"><value>In serie</value></data>
<data name="Editor.Export.NoHistory" xml:space="preserve"><value>Ancora nessun render</value></data>
<data name="Editor.Export.Output" xml:space="preserve"><value>Uscita · {0}</value></data>
<data name="Editor.Export.Preset" xml:space="preserve"><value>Preset di esportazione</value></data>
<data name="Editor.Export.Quality" xml:space="preserve"><value>Qualità</value></data>
<data name="Editor.Export.QualityValue" xml:space="preserve"><value>Qualità {0}</value></data>
<data name="Editor.Export.Recommended" xml:space="preserve"><value>Consigliato</value></data>
<data name="Editor.Export.RenderNow" xml:space="preserve"><value>Renderizza ora</value></data>
<data name="Editor.Export.Resolution" xml:space="preserve"><value>Risoluzione</value></data>
<data name="Editor.Export.Result" xml:space="preserve"><value>Risultato</value></data>
<data name="Editor.Export.SaveTo" xml:space="preserve"><value>Salva in</value></data>
<data name="Editor.Export.SequenceFolder" xml:space="preserve"><value>exports/ della sequenza</value></data>
<data name="Editor.Export.Size" xml:space="preserve"><value>Dimensione stimata</value></data>
<data name="Editor.Export.Software" xml:space="preserve"><value>software</value></data>
<data name="Editor.Export.Time" xml:space="preserve"><value>Tempo stimato</value></data>
<data name="Editor.Export.Unavailable" xml:space="preserve"><value>Nessun encoder qui</value></data>
<data name="Editor.Export.Width" xml:space="preserve"><value>Larghezza</value></data>
<data name="Editor.Exposure.Deflicker" xml:space="preserve"><value>Deflicker</value></data>
<data name="Editor.Exposure.FlickerChange" xml:space="preserve"><value>flicker {0} %</value></data>
<data name="Editor.Exposure.HolyGrail" xml:space="preserve"><value>Holy grail</value></data>
<data name="Editor.Exposure.MaxStep" xml:space="preserve"><value>salto max {0} EV</value></data>
<data name="Editor.Exposure.Offset" xml:space="preserve"><value>Compensazione</value></data>
<data name="Editor.Exposure.Regions" xml:space="preserve"><value>Regioni</value></data>
<data name="Editor.Exposure.Strength" xml:space="preserve"><value>Intensità</value></data>
<data name="Editor.Exposure.Temperature" xml:space="preserve"><value>Temperatura colore</value></data>
<data name="Editor.Exposure.Transitions" xml:space="preserve"><value>Transizioni</value></data>
<data name="Editor.Exposure.WhiteBalance" xml:space="preserve"><value>Bilanciamento del bianco</value></data>
<data name="Editor.Exposure.Window" xml:space="preserve"><value>Finestra deflicker</value></data>
<data name="Editor.Filmstrip" xml:space="preserve"><value>Pellicola</value></data>
<data name="Editor.Flow.Balanced" xml:space="preserve"><value>Bilanciata</value></data>
<data name="Editor.Flow.Best" xml:space="preserve"><value>Massima</value></data>
<data name="Editor.Flow.Draft" xml:space="preserve"><value>Bozza</value></data>
<data name="Editor.Frames.Column.Exposure" xml:space="preserve"><value>Esposizione</value></data>
<data name="Editor.Frames.Column.Flags" xml:space="preserve"><value>Note</value></data>
<data name="Editor.Frames.Column.Size" xml:space="preserve"><value>Dimensioni</value></data>
<data name="Editor.Frames.Column.Tier" xml:space="preserve"><value>Decodifica</value></data>
<data name="Editor.Frames.Column.Time" xml:space="preserve"><value>Ora</value></data>
<data name="Editor.Frames.Exclude" xml:space="preserve"><value>Escludi</value></data>
<data name="Editor.Frames.ExcludeFrame" xml:space="preserve"><value>Escludi fotogramma</value></data>
<data name="Editor.Frames.Excluded" xml:space="preserve"><value>escluso</value></data>
<data name="Editor.Frames.ExcludedLabel" xml:space="preserve"><value>Esclusi</value></data>
<data name="Editor.Frames.ExcludedNone" xml:space="preserve"><value>Nessuno</value></data>
<data name="Editor.Frames.Flag.Black" xml:space="preserve"><value>nero</value></data>
<data name="Editor.Frames.Flag.Corrupt" xml:space="preserve"><value>danneggiato</value></data>
<data name="Editor.Frames.Flag.Duplicate" xml:space="preserve"><value>duplicato</value></data>
<data name="Editor.Frames.Flag.Missing" xml:space="preserve"><value>mancante</value></data>
<data name="Editor.Frames.Flag.Undecodable" xml:space="preserve"><value>illeggibile</value></data>
<data name="Editor.Frames.Flag.White" xml:space="preserve"><value>bianco</value></data>
<data name="Editor.Frames.Hero" xml:space="preserve"><value>copertina</value></data>
<data name="Editor.Frames.HeroLabel" xml:space="preserve"><value>Copertina</value></data>
<data name="Editor.Frames.HeroNone" xml:space="preserve"><value>Non impostata</value></data>
<data name="Editor.Frames.HeroValue" xml:space="preserve"><value>Fotogramma {0}</value></data>
<data name="Editor.Frames.Include" xml:space="preserve"><value>Includi</value></data>
<data name="Editor.Frames.IncludeFrame" xml:space="preserve"><value>Includi fotogramma</value></data>
<data name="Editor.Frames.NoWarnings" xml:space="preserve"><value>Nessun avviso</value></data>
<data name="Editor.Frames.PreviewOnly" xml:space="preserve"><value>anteprima {0}</value></data>
<data name="Editor.Frames.SetHero" xml:space="preserve"><value>Imposta copertina</value></data>
<data name="Editor.Frames.Warnings" xml:space="preserve"><value>Avvisi</value></data>
<data name="Editor.Loading" xml:space="preserve"><value>Apertura sequenza</value></data>
<data name="Editor.Marker.Keyframe" xml:space="preserve"><value>Fotogramma chiave</value></data>
<data name="Editor.Marker.Step" xml:space="preserve"><value>Salto di esposizione {0} EV</value></data>
<data name="Editor.Marker.StepIgnored" xml:space="preserve"><value>Salto {0} EV non ricevuto</value></data>
<data name="Editor.Motion.Blur" xml:space="preserve"><value>Mosso</value></data>
<data name="Editor.Motion.CropValue" xml:space="preserve"><value>ritaglio {0} %</value></data>
<data name="Editor.Motion.Flow" xml:space="preserve"><value>Qualità del flusso</value></data>
<data name="Editor.Motion.PanValue" xml:space="preserve"><value>panoramica {0} px/fotogr.</value></data>
<data name="Editor.Motion.ShakeValue" xml:space="preserve"><value>tremolio {0} px</value></data>
<data name="Editor.Motion.Shutter" xml:space="preserve"><value>Angolo otturatore</value></data>
<data name="Editor.Motion.Smoothing" xml:space="preserve"><value>Smussatura percorso</value></data>
<data name="Editor.Motion.Stabilize" xml:space="preserve"><value>Stabilizza</value></data>
<data name="Editor.Optimise.Done.one" xml:space="preserve"><value>{0} impostazione cambiata</value></data>
<data name="Editor.Optimise.Done.other" xml:space="preserve"><value>{0} impostazioni cambiate</value></data>
<data name="Editor.Optimise.Nothing" xml:space="preserve"><value>Niente da cambiare</value></data>
<data name="Editor.OptimiseAll" xml:space="preserve"><value>Ottimizza tutto</value></data>
<data name="Editor.OptimiseSection" xml:space="preserve"><value>Ottimizza sezione</value></data>
<data name="Editor.Preview" xml:space="preserve"><value>Anteprima</value></data>
<data name="Editor.Preview.Clip" xml:space="preserve"><value>Anteprima 10 s</value></data>
<data name="Editor.Preview.Compare" xml:space="preserve"><value>Confronta</value></data>
<data name="Editor.Preview.CropMask" xml:space="preserve"><value>Maschera ritaglio</value></data>
<data name="Editor.Preview.ExitFullScreen" xml:space="preserve"><value>Esci da schermo intero</value></data>
<data name="Editor.Preview.FullScreen" xml:space="preserve"><value>Schermo intero</value></data>
<data name="Editor.Preview.OutputSize" xml:space="preserve"><value>uscita {0}</value></data>
<data name="Editor.Preview.OutputTime" xml:space="preserve"><value>{0} di {1}</value></data>
<data name="Editor.Preview.Play" xml:space="preserve"><value>Riproduci</value></data>
<data name="Editor.Preview.Regions" xml:space="preserve"><value>Regioni</value></data>
<data name="Editor.Preview.ShotData" xml:space="preserve"><value>Dati di scatto</value></data>
<data name="Editor.Preview.Vectors" xml:space="preserve"><value>Vettori</value></data>
<data name="Editor.Preview.Wipe" xml:space="preserve"><value>originale | corretto</value></data>
<data name="Editor.Regions.Auto" xml:space="preserve"><value>Auto</value></data>
<data name="Editor.Regions.Horizon" xml:space="preserve"><value>Orizzonte</value></data>
<data name="Editor.Regions.Luminance" xml:space="preserve"><value>Luminanza</value></data>
<data name="Editor.Render" xml:space="preserve"><value>Renderizza · {0}</value></data>
<data name="Editor.Render.Queued" xml:space="preserve"><value>Render in coda</value></data>
<data name="Editor.RenderButton" xml:space="preserve"><value>Renderizza</value></data>
<data name="Editor.Reset" xml:space="preserve"><value>Ripristina</value></data>
<data name="Editor.ResetToAuto" xml:space="preserve"><value>Torna ad Auto</value></data>
<data name="Editor.Sections" xml:space="preserve"><value>Sezioni</value></data>
<data name="Editor.Stack.Length" xml:space="preserve"><value>Lunghezza</value></data>
<data name="Editor.Stack.Mean" xml:space="preserve"><value>Media</value></data>
<data name="Editor.Stack.Median" xml:space="preserve"><value>Mediana</value></data>
<data name="Editor.Stack.Mode" xml:space="preserve"><value>Stacking</value></data>
<data name="Editor.Stack.NoStarField" xml:space="preserve"><value>Nessun campo stellare</value></data>
<data name="Editor.Stack.StarField" xml:space="preserve"><value>Campo stellare trovato</value></data>
<data name="Editor.Stack.StarTrails" xml:space="preserve"><value>Scie stellari</value></data>
<data name="Editor.Summary.Frames.one" xml:space="preserve"><value>{0:N0} fotogramma</value></data>
<data name="Editor.Summary.Frames.other" xml:space="preserve"><value>{0:N0} fotogrammi</value></data>
<data name="Editor.Summary.Interval" xml:space="preserve"><value>intervallo {0} s</value></data>
<data name="Editor.Summary.Warnings.one" xml:space="preserve"><value>{0} avviso</value></data>
<data name="Editor.Summary.Warnings.other" xml:space="preserve"><value>{0} avvisi</value></data>
<data name="Editor.Tab.Camera" xml:space="preserve"><value>Inquadratura</value></data>
<data name="Editor.Tab.Export" xml:space="preserve"><value>Esporta</value></data>
<data name="Editor.Tab.Exposure" xml:space="preserve"><value>Esposizione</value></data>
<data name="Editor.Tab.Frames" xml:space="preserve"><value>Fotogrammi</value></data>
<data name="Editor.Tab.Motion" xml:space="preserve"><value>Movimento</value></data>
<data name="Editor.Tab.Stack" xml:space="preserve"><value>Stacking</value></data>
<data name="Editor.Tab.Time" xml:space="preserve"><value>Tempo</value></data>
<data name="Editor.Time.Curve" xml:space="preserve"><value>Curva di velocità</value></data>
<data name="Editor.Time.Fit" xml:space="preserve"><value>Adatta alla durata</value></data>
<data name="Editor.Time.Mode" xml:space="preserve"><value>Tempi</value></data>
<data name="Editor.Time.Output" xml:space="preserve"><value>uscita {0} %</value></data>
<data name="Editor.Time.Plan.one" xml:space="preserve"><value>{0:N0} fotogramma → {1} · {2} fps</value></data>
<data name="Editor.Time.Plan.other" xml:space="preserve"><value>{0:N0} fotogrammi → {1} · {2} fps</value></data>
<data name="Editor.Time.Rate" xml:space="preserve"><value>Velocità</value></data>
<data name="Editor.Time.Source" xml:space="preserve"><value>sorgente {0} %</value></data>
<data name="Editor.Timing.Adaptive" xml:space="preserve"><value>Adattivo</value></data>
<data name="Editor.Timing.Constant" xml:space="preserve"><value>Costante</value></data>
<data name="Editor.Timing.Interpolated" xml:space="preserve"><value>Interpolato</value></data>
<data name="Editor.Timing.Remapped" xml:space="preserve"><value>Su curva</value></data>
<data name="Editor.Value.Centred" xml:space="preserve"><value>Centrato</value></data>
<data name="Editor.Value.Frames.one" xml:space="preserve"><value>{0:N0} fotogramma</value></data>
<data name="Editor.Value.Frames.other" xml:space="preserve"><value>{0:N0} fotogrammi</value></data>
<data name="Editor.Value.None" xml:space="preserve"><value>Nessuno</value></data>
<data name="Editor.Value.Off" xml:space="preserve"><value>Disattivo</value></data>
<data name="Editor.Value.On" xml:space="preserve"><value>Attivo</value></data>
</root>
+2
View File
@@ -4,6 +4,8 @@
<resheader name="version"><value>2.0</value></resheader>
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<data name="Export.Codec.LinearDngSequence" xml:space="preserve"><value>DNG lineare</value></data>
<data name="Export.Container.ImageSequence" xml:space="preserve"><value>Sequenza di immagini</value></data>
<data name="Export.Encoder.BitDepthAdjusted" xml:space="preserve"><value>Uscita a {0} bit non disponibile con questo encoder; codifica a {1} bit.</value></data>
<data name="Export.Encoder.BitRateCapped" xml:space="preserve"><value>Bit rate limitato a {1} bit/s, il massimo del livello {0}.</value></data>
<data name="Export.Encoder.FallbackToH264" xml:space="preserve"><value>Nessun encoder {0} su questo PC; viene usato H.264.</value></data>
+91
View File
@@ -15,6 +15,97 @@
<data name="Tooltips.Common.Dismiss" xml:space="preserve"><value>Chiudi</value></data>
<data name="Tooltips.Common.OpenLogs" xml:space="preserve"><value>Apri la cartella dei file di log</value></data>
<data name="Tooltips.Common.ResetToAuto" xml:space="preserve"><value>Torna al valore consigliato</value></data>
<data name="Tooltips.Editor.Analyse" xml:space="preserve"><value>Rilegge ogni fotogramma e aggiorna l’analisi; gira come lavoro in background</value></data>
<data name="Tooltips.Editor.Auto.Default" xml:space="preserve"><value>Auto: ancora nessun consiglio, vale il valore predefinito; Analizza lascia decidere al consulente</value></data>
<data name="Tooltips.Editor.Back" xml:space="preserve"><value>Torna alla Libreria</value></data>
<data name="Tooltips.Editor.Busy" xml:space="preserve"><value>È in corso un’analisi o un render di questa sequenza; le impostazioni attendono la fine</value></data>
<data name="Tooltips.Editor.Camera.AddKey" xml:space="preserve"><value>Aggiunge una chiave al fotogramma corrente</value></data>
<data name="Tooltips.Editor.Camera.Aspect" xml:space="preserve"><value>Formato dell’uscita; un preset con dimensioni fisse usa il proprio</value></data>
<data name="Tooltips.Editor.Camera.CenterX" xml:space="preserve"><value>Centro orizzontale dell’inquadratura della chiave scelta</value></data>
<data name="Tooltips.Editor.Camera.CenterY" xml:space="preserve"><value>Centro verticale dell’inquadratura della chiave scelta</value></data>
<data name="Tooltips.Editor.Camera.Keys" xml:space="preserve"><value>Chiavi della camera virtuale: zoom e inquadratura in fotogrammi scelti, raccordati tra loro</value></data>
<data name="Tooltips.Editor.Camera.OffsetX" xml:space="preserve"><value>Sposta il ritaglio a sinistra o a destra nel fotogramma</value></data>
<data name="Tooltips.Editor.Camera.OffsetY" xml:space="preserve"><value>Sposta il ritaglio in alto o in basso nel fotogramma</value></data>
<data name="Tooltips.Editor.Camera.RemoveKey" xml:space="preserve"><value>Rimuove la chiave selezionata</value></data>
<data name="Tooltips.Editor.Camera.Zoom" xml:space="preserve"><value>Zoom della chiave scelta; 1 mostra tutto il ritaglio, di più ingrandisce e ammorbidisce</value></data>
<data name="Tooltips.Editor.Export.AddToQueue" xml:space="preserve"><value>Mette in coda questo render e continui a modificare</value></data>
<data name="Tooltips.Editor.Export.ApplyPreset" xml:space="preserve"><value>Applica questo preset di sequenza a tutte le sezioni · {0}</value></data>
<data name="Tooltips.Editor.Export.Batch" xml:space="preserve"><value>Mette in coda i preset spuntati come un unico lavoro; la sequenza si prepara una volta</value></data>
<data name="Tooltips.Editor.Export.BitRate" xml:space="preserve"><value>Bit rate medio; di più conserva dettagli e sfumature, i file crescono</value></data>
<data name="Tooltips.Editor.Export.Codec" xml:space="preserve"><value>Codec video o immagine; HEVC a 10 bit mantiene pulite le sfumature del cielo</value></data>
<data name="Tooltips.Editor.Export.Colour" xml:space="preserve"><value>Colore Rec.709; 10 bit evitano il banding nel cielo, l’HDR non è disponibile</value></data>
<data name="Tooltips.Editor.Export.Container" xml:space="preserve"><value>MP4, AVI, GIF, APNG o una cartella di immagini; l’elenco dei codec si adegua</value></data>
<data name="Tooltips.Editor.Export.Encoder" xml:space="preserve"><value>Encoder di questo PC; Auto preferisce l’hardware</value></data>
<data name="Tooltips.Editor.Export.Folder" xml:space="preserve"><value>Dove vanno i render: {0}</value></data>
<data name="Tooltips.Editor.Export.FrameRate" xml:space="preserve"><value>Fotogrammi al secondo del file video</value></data>
<data name="Tooltips.Editor.Export.FrameRateAuto" xml:space="preserve"><value>Auto: i {0} fps del preset</value></data>
<data name="Tooltips.Editor.Export.FrameRateReset" xml:space="preserve"><value>Torna ai fotogrammi al secondo del preset</value></data>
<data name="Tooltips.Editor.Export.Height" xml:space="preserve"><value>Altezza in pixel; vuoto segue la larghezza · Invio applica, Esc annulla</value></data>
<data name="Tooltips.Editor.Export.History" xml:space="preserve"><value>Apre Lavori per vedere i render di questa sequenza</value></data>
<data name="Tooltips.Editor.Export.InBatch" xml:space="preserve"><value>Include questo preset quando In serie mette in coda il render</value></data>
<data name="Tooltips.Editor.Export.Name" xml:space="preserve"><value>Segnaposto: {date} {title} {preset} {codec} {width} {height} {fps} · Invio applica, Esc annulla</value></data>
<data name="Tooltips.Editor.Export.Preset" xml:space="preserve"><value>Renderizza con {0}; modificare un valore lo rende Personalizzato</value></data>
<data name="Tooltips.Editor.Export.Quality" xml:space="preserve"><value>Qualità dell’immagine; 95 sembra senza perdite, meno fa file più piccoli</value></data>
<data name="Tooltips.Editor.Export.Recommended" xml:space="preserve"><value>Scelta del consulente: {0}</value></data>
<data name="Tooltips.Editor.Export.SizeInvalid" xml:space="preserve"><value>Inserisci una dimensione tra 16 e 16384 pixel</value></data>
<data name="Tooltips.Editor.Export.Width" xml:space="preserve"><value>Larghezza in pixel; vuoto usa il preset o la sorgente · Invio applica, Esc annulla</value></data>
<data name="Tooltips.Editor.Exposure.Deflicker" xml:space="preserve"><value>Elimina lo sfarfallio di luminosità tra fotogrammi; spento lascia l’esposizione della fotocamera</value></data>
<data name="Tooltips.Editor.Exposure.HolyGrail" xml:space="preserve"><value>Trasforma i salti di ISO, tempo e diaframma in rampe morbide; spento li lascia</value></data>
<data name="Tooltips.Editor.Exposure.Offset" xml:space="preserve"><value>Schiarisce o scurisce tutto il video dopo la correzione, in stop</value></data>
<data name="Tooltips.Editor.Exposure.Regions" xml:space="preserve"><value>Cielo e paesaggio hanno una curva ciascuno; spento tratta il fotogramma come uno</value></data>
<data name="Tooltips.Editor.Exposure.Strength" xml:space="preserve"><value>Quanto dello sfarfallio misurato viene tolto; 1,0 lo toglie tutto</value></data>
<data name="Tooltips.Editor.Exposure.Temperature" xml:space="preserve"><value>Intervallo di temperatura colore misurato nella sequenza</value></data>
<data name="Tooltips.Editor.Exposure.Transitions" xml:space="preserve"><value>Fotogrammi su cui si distribuisce ogni salto di ISO, tempo o diaframma; 0 lascia i salti</value></data>
<data name="Tooltips.Editor.Exposure.WhiteBalance" xml:space="preserve"><value>Smussa i rapporti di colore: il bilanciamento automatico smette di sfarfallare e la deriva del tramonto resta</value></data>
<data name="Tooltips.Editor.Exposure.Window" xml:space="preserve"><value>Fotogrammi usati per stimare la curva senza sfarfallio; troppo corta lo lascia, troppo lunga appiattisce i veri cambi di luce</value></data>
<data name="Tooltips.Editor.Frames.Exclude" xml:space="preserve"><value>Lascia fuori questo fotogramma da ogni render; la foto non viene eliminata</value></data>
<data name="Tooltips.Editor.Frames.Finding" xml:space="preserve"><value>Mostra il primo fotogramma interessato</value></data>
<data name="Tooltips.Editor.Frames.Hero" xml:space="preserve"><value>Usa il fotogramma come copertina della sequenza</value></data>
<data name="Tooltips.Editor.Frames.Include" xml:space="preserve"><value>Usa di nuovo questo fotogramma nei render</value></data>
<data name="Tooltips.Editor.Frames.Table" xml:space="preserve"><value>Fai clic su una riga per mostrare il fotogramma</value></data>
<data name="Tooltips.Editor.Motion.Blur" xml:space="preserve"><value>Aggiunge mosso lungo il movimento come un tempo più lungo; richiede il flusso ottico su ogni fotogramma</value></data>
<data name="Tooltips.Editor.Motion.Flow" xml:space="preserve"><value>Precisione del flusso ottico per mosso e fotogrammi sintetici; Massima è la più lenta</value></data>
<data name="Tooltips.Editor.Motion.Shutter" xml:space="preserve"><value>Angolo otturatore obiettivo; 180° è l’aspetto cinema, di più impasta ciò che si muove</value></data>
<data name="Tooltips.Editor.Motion.Smoothing" xml:space="preserve"><value>Fotogrammi su cui si smussa il percorso della camera; troppi ritagliano di più nelle panoramiche volute</value></data>
<data name="Tooltips.Editor.Motion.Stabilize" xml:space="preserve"><value>Elimina il tremolio con un leggero ritaglio; il ritaglio cresce col tremolio</value></data>
<data name="Tooltips.Editor.NotApplicable.BlurOff" xml:space="preserve"><value>Non applicabile: il mosso è spento</value></data>
<data name="Tooltips.Editor.NotApplicable.DeflickerOff" xml:space="preserve"><value>Non applicabile: il deflicker è spento</value></data>
<data name="Tooltips.Editor.NotApplicable.HolyGrailOff" xml:space="preserve"><value>Non applicabile: l’holy grail è spento</value></data>
<data name="Tooltips.Editor.NotApplicable.Kelvin" xml:space="preserve"><value>Non applicabile: i fotogrammi sono fuori dal luogo della luce diurna (notte o luce mista)</value></data>
<data name="Tooltips.Editor.NotApplicable.Lossless" xml:space="preserve"><value>Non applicabile: questo formato è senza perdite</value></data>
<data name="Tooltips.Editor.NotApplicable.NeedsAnalysis" xml:space="preserve"><value>Serve l’analisi approfondita: premi Analizza</value></data>
<data name="Tooltips.Editor.NotApplicable.NoFlow" xml:space="preserve"><value>Non applicabile: serve solo al mosso e ai tempi interpolati</value></data>
<data name="Tooltips.Editor.NotApplicable.StabilizeOff" xml:space="preserve"><value>Non applicabile: la stabilizzazione è spenta</value></data>
<data name="Tooltips.Editor.NotApplicable.StackOff" xml:space="preserve"><value>Non applicabile: lo stacking è spento</value></data>
<data name="Tooltips.Editor.OptimiseAll" xml:space="preserve"><value>Lascia che il consulente imposti ogni sezione dall’analisi ed elenchi cosa è cambiato</value></data>
<data name="Tooltips.Editor.OptimiseNone" xml:space="preserve"><value>Il consulente non fa mai stacking da solo: una mediana cancella le stelle in movimento</value></data>
<data name="Tooltips.Editor.OptimiseSection" xml:space="preserve"><value>Applica le scelte più incisive del consulente per questa sezione ed elenca cosa è cambiato · Ctrl+Z annulla</value></data>
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pausa · Spazio</value></data>
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Riproduce i fotogrammi · Spazio; le frecce avanzano di uno</value></data>
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Mostra i pixel 1:1 senza interpolazione · Ctrl+1; Ctrl+0 adatta</value></data>
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Riproduce dieci secondi dei fotogrammi del video con le impostazioni attuali</value></data>
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Confronto a tendina: originale a sinistra, corretto a destra; trascina la linea</value></data>
<data name="Tooltips.Editor.Preview.CropMask" xml:space="preserve"><value>Mostra tutto il fotogramma e scurisce ciò che l’uscita taglierà</value></data>
<data name="Tooltips.Editor.Preview.ExitFullScreen" xml:space="preserve"><value>Chiudi schermo intero · Esc</value></data>
<data name="Tooltips.Editor.Preview.FullScreen" xml:space="preserve"><value>Schermo intero alla risoluzione nativa · Esc chiude</value></data>
<data name="Tooltips.Editor.Preview.Regions" xml:space="preserve"><value>Mostra il confine tra cielo e paesaggio usato dal deflicker per regioni</value></data>
<data name="Tooltips.Editor.Preview.ShotData" xml:space="preserve"><value>Mostra o nasconde i dati di scatto</value></data>
<data name="Tooltips.Editor.Preview.Vectors" xml:space="preserve"><value>Sovrappone il movimento verso il fotogramma successivo misurato dal motore</value></data>
<data name="Tooltips.Editor.Render" xml:space="preserve"><value>Renderizza con il preset scelto; avanzamento nella barra dei lavori · Ctrl+R</value></data>
<data name="Tooltips.Editor.RenderChoice" xml:space="preserve"><value>Scegli un altro preset</value></data>
<data name="Tooltips.Editor.ResetSection" xml:space="preserve"><value>Riporta in Auto ogni controllo di questa sezione · Ctrl+Z annulla</value></data>
<data name="Tooltips.Editor.Stack.Length" xml:space="preserve"><value>Fotogrammi combinati in ogni fotogramma d’uscita; scie e levigatura crescono con esso</value></data>
<data name="Tooltips.Editor.Stack.Mode" xml:space="preserve"><value>Mediana e media tolgono rumore e ciò che si muove; le scie stellari tengono i pixel più luminosi</value></data>
<data name="Tooltips.Editor.Tab.Camera" xml:space="preserve"><value>Ritaglio, formato, movimenti della camera virtuale</value></data>
<data name="Tooltips.Editor.Tab.Export" xml:space="preserve"><value>Preset, uscita, serie, cronologia</value></data>
<data name="Tooltips.Editor.Tab.Exposure" xml:space="preserve"><value>Deflicker, regioni, transizioni giorno-notte, bilanciamento del bianco</value></data>
<data name="Tooltips.Editor.Tab.Frames" xml:space="preserve"><value>Tabella dei fotogrammi, avvisi, esclusioni</value></data>
<data name="Tooltips.Editor.Tab.Motion" xml:space="preserve"><value>Mosso, flusso ottico, stabilizzazione</value></data>
<data name="Tooltips.Editor.Tab.Stack" xml:space="preserve"><value>Stacking a mediana e scie stellari</value></data>
<data name="Tooltips.Editor.Tab.Time" xml:space="preserve"><value>Velocità, modo dei tempi, curva di velocità</value></data>
<data name="Tooltips.Editor.Time.Fit" xml:space="preserve"><value>Scala i tempi perché il video duri così; spento mantiene la velocità</value></data>
<data name="Tooltips.Editor.Time.Mode" xml:space="preserve"><value>Costante: un fotogramma per foto; Adattivo: segue l’ora di scatto; Interpolato: riempie i vuoti; Su curva: segue la curva</value></data>
<data name="Tooltips.Editor.Time.Rate" xml:space="preserve"><value>Foto mostrate per secondo di video; di più accelera la sequenza</value></data>
<data name="Tooltips.Jobs.Cancel" xml:space="preserve"><value>Ferma questa attività; Riprova la continua più tardi dall'ultimo punto di ripresa</value></data>
<data name="Tooltips.Jobs.ClearDone" xml:space="preserve"><value>Nasconde le attività concluse dall'elenco; restano nella cronologia</value></data>
<data name="Tooltips.Jobs.Filter.All" xml:space="preserve"><value>Tutte le attività</value></data>
+13 -4
View File
@@ -41,6 +41,7 @@ public sealed class CameraTab : EditorTab
];
AddKeyCommand = new RelayCommand(AddKey, () => !Editor.IsBusy && Keys.All(k => k.Frame != Editor.CurrentIndex));
RemoveKeyCommand = new RelayCommand(RemoveKey, () => !Editor.IsBusy && SelectedKey >= 0);
CommitCurveCommand = new RelayCommand(CommitCurve);
Refresh();
}
@@ -95,12 +96,16 @@ public sealed class CameraTab : EditorTab
public ICommand RemoveKeyCommand { get; }
private IReadOnlyList<CameraKey> Keys => Editor.Session.Project.Camera.Keyframes;
/// <summary>Run by the curve editor after each finished edit.</summary>
public ICommand CommitCurveCommand { get; }
/// <summary>Keyframes in frame order (the order of <see cref="KeyPoints"/>).</summary>
private List<CameraKey> Keys => [.. Editor.Session.Project.Camera.Keyframes.OrderBy(k => k.Frame)];
public override void Refresh()
{
base.Refresh();
var points = Keys.OrderBy(k => k.Frame).Select(ToPoint).ToList();
var points = Keys.Select(ToPoint).ToList();
if (!points.SequenceEqual(KeyPoints))
{
KeyPoints.Clear();
@@ -113,7 +118,7 @@ public sealed class CameraTab : EditorTab
/// <summary>The curve editor finished an edit (add, move, delete): the points become the keyframes, keeping each one's framing.</summary>
public void CommitCurve()
{
var old = Keys.OrderBy(k => k.Frame).ToList();
var old = Keys;
var keys = new List<CameraKey>();
foreach (var point in KeyPoints.OrderBy(p => p.X))
{
@@ -136,7 +141,7 @@ public sealed class CameraTab : EditorTab
var frame = Editor.CurrentIndex;
var key = new CameraKey(frame, 0.5, 0.5, 1, 0);
Editor.Session.Edit(p => p with { Camera = p.Camera with { Keyframes = [.. p.Camera.Keyframes.Append(key).OrderBy(k => k.Frame)] } });
SelectedKey = Keys.Select((k, i) => (k, i)).First(t => t.k.Frame == frame).i;
SelectedKey = Keys.FindIndex(k => k.Frame == frame);
}
private void RemoveKey()
@@ -195,6 +200,7 @@ public sealed class TimeTab : EditorTab
(p, v) => p with { Timing = p.Timing with { FitToSeconds = v > 0 ? v : null } },
v => v > 0 ? Formatting.Duration(TimeSpan.FromSeconds(v)) : Loc.L("Editor.Value.Off")),
];
CommitCurveCommand = new RelayCommand(CommitCurve);
Refresh();
}
@@ -204,6 +210,9 @@ public sealed class TimeTab : EditorTab
/// <summary>The monotone spline through <see cref="RemapPoints"/>.</summary>
public Func<double, double>? Evaluator { get => _evaluator; private set => Set(ref _evaluator, value); }
/// <summary>Run by the curve editor after each finished edit.</summary>
public ICommand CommitCurveCommand { get; }
/// <summary>"3,600 frames → 2 min 30 s · 24 fps".</summary>
public string? PlanText { get => _planText; private set => Set(ref _planText, value); }
+28
View File
@@ -0,0 +1,28 @@
using System.Windows;
using System.Windows.Input;
using Titano.Ui.Visuals;
namespace Titano.App.Editor;
/// <summary>Runs a command after every finished edit of a <see cref="CurveEditor"/> (add, move, delete, nudge).</summary>
public static class CurveCommit
{
public static readonly DependencyProperty CommandProperty = DependencyProperty.RegisterAttached(
"Command", typeof(ICommand), typeof(CurveCommit), new PropertyMetadata(null, OnCommandChanged));
public static ICommand? GetCommand(DependencyObject d) => (ICommand?)d.GetValue(CommandProperty);
public static void SetCommand(DependencyObject d, ICommand? value) => d.SetValue(CommandProperty, value);
private static void OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
if (d is not CurveEditor editor) return;
editor.EditCompleted -= OnEditCompleted;
if (e.NewValue is not null) editor.EditCompleted += OnEditCompleted;
}
private static void OnEditCompleted(object sender, RoutedEventArgs e)
{
if (GetCommand((DependencyObject)sender) is { } command && command.CanExecute(null)) command.Execute(null);
}
}
+178
View File
@@ -0,0 +1,178 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:Titano.Ui.Controls;assembly=Titano.Ui"
xmlns:v="clr-namespace:Titano.Ui.Visuals;assembly=Titano.Ui"
xmlns:l="clr-namespace:Titano.Ui.Localization;assembly=Titano.Ui"
xmlns:e="clr-namespace:Titano.App.Editor">
<!--
The measuring tool of each editor section, below the tab strip (BRIEF §12.3): luminance, camera path and sky charts,
the frame table, the keyframe and time-remap curve editors, and the Export tab's preset cards. Clicking a chart seeks
the preview.
-->
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Titano;component/Editor/EditorStyles.xaml" />
</ResourceDictionary.MergedDictionaries>
<DataTemplate x:Key="Template.Chart">
<Border Style="{StaticResource Border.Panel}" Padding="10" Margin="0,10,0,0">
<v:SeriesChart Series="{Binding Series}" Legend="{Binding Legend}" Summary="{Binding Summary}" YLabelFormatter="{Binding YFormatter}"
CurrentIndex="{Binding Editor.CurrentIndex, Mode=TwoWay}" AutomationProperties.Name="{Binding Header}" />
</Border>
</DataTemplate>
<DataTemplate DataType="{x:Type e:ExposureTab}">
<Border Style="{StaticResource Border.Panel}" Padding="10" Margin="0,10,0,0">
<v:SeriesChart Series="{Binding Series}" Legend="{Binding Legend}" Markers="{Binding Markers}" Summary="{Binding Summary}" YLabelFormatter="{Binding YFormatter}"
CurrentIndex="{Binding Editor.CurrentIndex, Mode=TwoWay}" AutomationProperties.Name="{Binding Header}" />
</Border>
</DataTemplate>
<DataTemplate DataType="{x:Type e:MotionTab}">
<ContentPresenter Content="{Binding}" ContentTemplate="{StaticResource Template.Chart}" />
</DataTemplate>
<DataTemplate DataType="{x:Type e:StackTab}">
<ContentPresenter Content="{Binding}" ContentTemplate="{StaticResource Template.Chart}" />
</DataTemplate>
<!-- Frames: virtualised table; row actions show on hover or selection (DESIGN §4 tables). -->
<DataTemplate DataType="{x:Type e:FramesTab}">
<Border Style="{StaticResource Border.Panel}" Margin="0,10,0,0">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Border BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,0,0,1" Padding="14,6,24,6">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.7*" MinWidth="40" />
<ColumnDefinition Width="*" MinWidth="56" />
<ColumnDefinition Width="0.9*" MinWidth="52" />
<ColumnDefinition Width="0.6*" MinWidth="36" />
<ColumnDefinition Width="0.6*" MinWidth="36" />
<ColumnDefinition Width="1.1*" MinWidth="64" />
<ColumnDefinition Width="0.9*" MinWidth="44" />
<ColumnDefinition Width="1.6*" MinWidth="60" />
<ColumnDefinition Width="Auto" MinWidth="118" />
</Grid.ColumnDefinitions>
<TextBlock Style="{StaticResource Text.Header}" Text="{l:Loc Editor.Frames.Column.Number}" />
<TextBlock Grid.Column="1" Style="{StaticResource Text.Header}" Text="{l:Loc Editor.Frames.Column.Time}" TextAlignment="Right" />
<TextBlock Grid.Column="2" Style="{StaticResource Text.Header}" Text="{l:Loc Editor.Frames.Column.Exposure}" TextAlignment="Right" />
<TextBlock Grid.Column="3" Style="{StaticResource Text.Header}" Text="{l:Loc Editor.Frames.Column.Iso}" TextAlignment="Right" />
<TextBlock Grid.Column="4" Style="{StaticResource Text.Header}" Text="{l:Loc Editor.Frames.Column.Aperture}" TextAlignment="Right" />
<TextBlock Grid.Column="5" Style="{StaticResource Text.Header}" Text="{l:Loc Editor.Frames.Column.Size}" TextAlignment="Right" />
<TextBlock Grid.Column="6" Style="{StaticResource Text.Header}" Text="{l:Loc Editor.Frames.Column.Tier}" Margin="10,0,0,0" />
<TextBlock Grid.Column="7" Style="{StaticResource Text.Header}" Text="{l:Loc Editor.Frames.Column.Flags}" Margin="10,0,0,0" />
</Grid>
</Border>
<ListBox Grid.Row="1" ItemsSource="{Binding Frames}" SelectedItem="{Binding Selected}" ItemContainerStyle="{StaticResource ListBoxItem.Row}"
VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ToolTip="{l:Loc Tooltips.Editor.Frames.Table}" AutomationProperties.Name="{Binding Header}" BorderThickness="0" Background="Transparent">
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type e:FrameRow}">
<Grid Height="34">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.7*" MinWidth="40" />
<ColumnDefinition Width="*" MinWidth="56" />
<ColumnDefinition Width="0.9*" MinWidth="52" />
<ColumnDefinition Width="0.6*" MinWidth="36" />
<ColumnDefinition Width="0.6*" MinWidth="36" />
<ColumnDefinition Width="1.1*" MinWidth="64" />
<ColumnDefinition Width="0.9*" MinWidth="44" />
<ColumnDefinition Width="1.6*" MinWidth="60" />
<ColumnDefinition Width="Auto" MinWidth="118" />
</Grid.ColumnDefinitions>
<TextBlock Style="{StaticResource Text.Cell}" Text="{Binding Number}" />
<TextBlock Grid.Column="1" Style="{StaticResource Text.CellNumber}" Text="{Binding Time}" />
<TextBlock Grid.Column="2" Style="{StaticResource Text.CellNumber}" Text="{Binding Exposure}" />
<TextBlock Grid.Column="3" Style="{StaticResource Text.CellNumber}" Text="{Binding Iso}" />
<TextBlock Grid.Column="4" Style="{StaticResource Text.CellNumber}" Text="{Binding Aperture}" />
<TextBlock Grid.Column="5" Style="{StaticResource Text.CellNumber}" Text="{Binding Size}" />
<TextBlock Grid.Column="6" Style="{StaticResource Text.Cell}" Text="{Binding Tier}" Margin="10,0,0,0" />
<TextBlock x:Name="Flags" Grid.Column="7" Style="{StaticResource Text.Cell}" Text="{Binding Flags}" Margin="10,0,0,0" Foreground="{DynamicResource Brush.TextMuted}" />
<StackPanel x:Name="Actions" Grid.Column="8" Orientation="Horizontal" HorizontalAlignment="Right" Visibility="Hidden">
<Button Style="{StaticResource Button.Row}" Content="{Binding ExcludeText}" ToolTip="{Binding ExcludeToolTip}"
Command="{Binding DataContext.ToggleExcludeCommand, RelativeSource={RelativeSource AncestorType=ListBox}}" CommandParameter="{Binding}" />
<Button Style="{StaticResource Button.Row}" Width="26" MinWidth="26" Padding="0" Margin="0" ui:ButtonIcon.Glyph="{StaticResource Icon.Hero}"
ToolTip="{l:Loc Tooltips.Editor.Frames.Hero}" AutomationProperties.Name="{l:Loc Editor.Frames.SetHero}"
Command="{Binding DataContext.SetHeroCommand, RelativeSource={RelativeSource AncestorType=ListBox}}" CommandParameter="{Binding}" />
</StackPanel>
</Grid>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding IsMouseOver, RelativeSource={RelativeSource AncestorType=ListBoxItem}}" Value="True">
<Setter TargetName="Actions" Property="Visibility" Value="Visible" />
</DataTrigger>
<DataTrigger Binding="{Binding IsSelected, RelativeSource={RelativeSource AncestorType=ListBoxItem}}" Value="True">
<Setter TargetName="Actions" Property="Visibility" Value="Visible" />
</DataTrigger>
<DataTrigger Binding="{Binding IsExcluded}" Value="True">
<Setter TargetName="Flags" Property="Foreground" Value="{DynamicResource Brush.Warning}" />
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
</Border>
</DataTemplate>
<!-- Camera: zoom keyframes over the sequence (◆ on the filmstrip). -->
<DataTemplate DataType="{x:Type e:CameraTab}">
<Border Style="{StaticResource Border.Panel}" Padding="10" Margin="0,10,0,0">
<v:CurveEditor Points="{Binding KeyPoints}" Mode="Keyframes" SelectedIndex="{Binding SelectedKey, Mode=TwoWay}" PlayheadPosition="{Binding Playhead}"
XLabelFormatter="{Binding XFormatter}" YLabelFormatter="{Binding YFormatter}" e:CurveCommit.Command="{Binding CommitCurveCommand}"
IsEnabled="{Binding Editor.IsEditable}" AutomationProperties.Name="{l:Loc Editor.Camera.Curve}" />
</Border>
</DataTemplate>
<!-- Time: the remap curve (output time → source position) with the plan in numbers. -->
<DataTemplate DataType="{x:Type e:TimeTab}">
<Border Style="{StaticResource Border.Panel}" Padding="10" Margin="0,10,0,0">
<DockPanel>
<TextBlock DockPanel.Dock="Top" Text="{Binding PlanText}" Style="{StaticResource Text.Secondary}" FontSize="{StaticResource Size.Chip}" Margin="0,0,0,6"
TextTrimming="CharacterEllipsis" Typography.NumeralAlignment="Tabular" />
<v:CurveEditor Points="{Binding RemapPoints}" Mode="TimeRemap" Evaluator="{Binding Evaluator}" ShowDiagonal="True" PlayheadPosition="{Binding Playhead}"
XLabelFormatter="{Binding XFormatter}" YLabelFormatter="{Binding YFormatter}" e:CurveCommit.Command="{Binding CommitCurveCommand}"
IsEnabled="{Binding Editor.IsEditable}" AutomationProperties.Name="{l:Loc Editor.Time.Curve}" />
</DockPanel>
</Border>
</DataTemplate>
<!-- Export: preset cards, four per row (Export.html). -->
<DataTemplate DataType="{x:Type e:ExportTab}">
<ScrollViewer Margin="0,10,0,0" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" Focusable="False">
<ItemsControl ItemsSource="{Binding Cards}" Focusable="False" IsEnabled="{Binding Editor.IsEditable}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<UniformGrid Columns="4" />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate DataType="{x:Type e:PresetCard}">
<Button Style="{StaticResource Button.PresetCard}" Command="{Binding SelectCommand}" CommandParameter="{Binding}" ToolTip="{Binding ToolTip}"
AutomationProperties.Name="{Binding Name}">
<DockPanel>
<DockPanel DockPanel.Dock="Top" LastChildFill="False">
<CheckBox DockPanel.Dock="Right" IsChecked="{Binding IsInBatch}" Visibility="{Binding CanBatch, Converter={StaticResource BoolToVisibility}}"
ToolTip="{l:Loc Tooltips.Editor.Export.InBatch}" AutomationProperties.Name="{l:Loc Editor.Export.InBatch}" Margin="6,0,0,0" />
<TextBlock Text="{Binding Name}" FontWeight="SemiBold" TextTrimming="CharacterEllipsis" MaxWidth="150" VerticalAlignment="Center" />
<Border Style="{StaticResource Border.Recommended}" Visibility="{Binding IsRecommended, Converter={StaticResource BoolToVisibility}}">
<TextBlock Text="{l:Loc Editor.Export.Recommended}" FontSize="{StaticResource Size.Chip}" Foreground="{DynamicResource Brush.Accent}" />
</Border>
</DockPanel>
<TextBlock DockPanel.Dock="Bottom" Text="{Binding Estimate}" FontSize="{StaticResource Size.Secondary}" TextTrimming="CharacterEllipsis"
Typography.NumeralAlignment="Tabular" />
<StackPanel Margin="0,4,0,0">
<TextBlock Text="{Binding Format}" FontSize="{StaticResource Size.Secondary}" Foreground="{DynamicResource Brush.TextMuted}" TextTrimming="CharacterEllipsis" />
<TextBlock Text="{Binding Encoding}" FontSize="{StaticResource Size.Secondary}" Foreground="{DynamicResource Brush.TextMuted}" TextTrimming="CharacterEllipsis"
Margin="0,4,0,0" />
</StackPanel>
</DockPanel>
</Button>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
</DataTemplate>
</ResourceDictionary>
+427
View File
@@ -0,0 +1,427 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:Titano.Ui.Controls;assembly=Titano.Ui"
xmlns:l="clr-namespace:Titano.Ui.Localization;assembly=Titano.Ui"
xmlns:shell="clr-namespace:Titano.App.Shell"
xmlns:e="clr-namespace:Titano.App.Editor">
<!--
The settings column of each editor section (BRIEF §12.3, Editor.html aside, Export.html Output panel): the setting
rows by type, the common section frame (title, rows, Optimise section, Reset) and the panels with their own content.
-->
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Titano;component/Editor/EditorStyles.xaml" />
</ResourceDictionary.MergedDictionaries>
<!-- ===================== Setting rows ===================== -->
<DataTemplate DataType="{x:Type e:AutoNumberRow}">
<ui:AutoSlider Header="{Binding Header}" Value="{Binding Value}" IsAuto="{Binding IsAuto}" AutoValue="{Binding AutoValue}" AutoReason="{Binding AutoReason}"
IsApplicable="{Binding IsApplicable, Mode=OneWay}" NotApplicableReason="{Binding NotApplicableReason}" Minimum="{Binding Minimum}"
Maximum="{Binding Maximum}" SmallChange="{Binding Step}" TickFrequency="{Binding Step}" IsSnapToTickEnabled="True" ValueFormat="{Binding Format}"
SliderToolTip="{Binding ToolTip}" ToolTip="{Binding ToolTip}" AutomationProperties.Name="{Binding Header}" />
</DataTemplate>
<DataTemplate DataType="{x:Type e:AutoSwitchRow}">
<Grid Margin="0,0,0,12" MinHeight="26">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding Header}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding ToolTip}" />
<Border x:Name="Pill" Grid.Column="1" Style="{StaticResource Pill.Auto}" Margin="8,0" VerticalAlignment="Center" ToolTip="{Binding AutoReason}">
<TextBlock Text="{Binding AutoText}" FontSize="{StaticResource Size.Chip}" Foreground="{DynamicResource Brush.Accent}" VerticalAlignment="Center" />
</Border>
<Button x:Name="Reset" Grid.Column="1" Style="{StaticResource Button.IconSubtle}" Width="26" Height="26" Margin="8,0" Visibility="Collapsed"
ui:ButtonIcon.Glyph="{StaticResource Icon.Reset}" Command="{Binding ResetCommand}" ToolTip="{l:Loc Tooltips.Common.ResetToAuto}"
AutomationProperties.Name="{l:Loc Editor.ResetToAuto}" />
<CheckBox Grid.Column="2" Style="{StaticResource CheckBox.Switch}" IsChecked="{Binding IsOn}" VerticalAlignment="Center" ToolTip="{Binding ToolTip}"
AutomationProperties.Name="{Binding Header}" />
</Grid>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding IsAuto}" Value="False">
<Setter TargetName="Pill" Property="Visibility" Value="Collapsed" />
<Setter TargetName="Reset" Property="Visibility" Value="Visible" />
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
<DataTemplate DataType="{x:Type e:AutoChoiceRow}">
<StackPanel Margin="0,0,0,12">
<Grid MinHeight="26">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding Header}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding ToolTip}" />
<Border x:Name="Pill" Grid.Column="1" Style="{StaticResource Pill.Auto}" Margin="8,0,0,0" VerticalAlignment="Center" ToolTip="{Binding AutoReason}">
<TextBlock Text="{Binding AutoText}" FontSize="{StaticResource Size.Chip}" Foreground="{DynamicResource Brush.Accent}" VerticalAlignment="Center" />
</Border>
<Button x:Name="Reset" Grid.Column="1" Style="{StaticResource Button.IconSubtle}" Width="26" Height="26" Margin="8,0,0,0" Visibility="Collapsed"
ui:ButtonIcon.Glyph="{StaticResource Icon.Reset}" Command="{Binding ResetCommand}" ToolTip="{l:Loc Tooltips.Common.ResetToAuto}"
AutomationProperties.Name="{l:Loc Editor.ResetToAuto}" />
<TextBlock x:Name="NotApplicable" Grid.Column="1" Style="{StaticResource Text.NotApplicable}" Text="{l:Loc Common.NotApplicable}"
ToolTip="{Binding NotApplicableReason}" Visibility="Collapsed" />
</Grid>
<ComboBox x:Name="Choices" Margin="0,6,0,0" ItemsSource="{Binding Options}" SelectedItem="{Binding Selected}" DisplayMemberPath="Label"
ToolTip="{Binding ToolTip}" AutomationProperties.Name="{Binding Header}" />
</StackPanel>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding IsAuto}" Value="False">
<Setter TargetName="Pill" Property="Visibility" Value="Collapsed" />
<Setter TargetName="Reset" Property="Visibility" Value="Visible" />
</DataTrigger>
<DataTrigger Binding="{Binding IsApplicable}" Value="False">
<Setter TargetName="Pill" Property="Visibility" Value="Collapsed" />
<Setter TargetName="Reset" Property="Visibility" Value="Collapsed" />
<Setter TargetName="NotApplicable" Property="Visibility" Value="Visible" />
<Setter TargetName="Choices" Property="IsEnabled" Value="False" />
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
<DataTemplate DataType="{x:Type e:NumberRow}">
<StackPanel Margin="0,0,0,12">
<Grid MinHeight="24">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding Header}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding ToolTip}" />
<TextBlock x:Name="Value" Grid.Column="1" Style="{StaticResource Text.RowValue}" Text="{Binding DisplayValue}" Margin="8,0,0,0" />
<TextBlock x:Name="NotApplicable" Grid.Column="1" Style="{StaticResource Text.NotApplicable}" Text="{l:Loc Common.NotApplicable}"
ToolTip="{Binding NotApplicableReason}" Visibility="Collapsed" Margin="8,0,0,0" />
</Grid>
<Slider x:Name="Slider" Margin="0,6,0,0" Minimum="{Binding Minimum}" Maximum="{Binding Maximum}" SmallChange="{Binding Step}" LargeChange="{Binding Step}"
TickFrequency="{Binding Step}" IsSnapToTickEnabled="True" Value="{Binding Value}" ToolTip="{Binding ToolTip}" AutomationProperties.Name="{Binding Header}" />
</StackPanel>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding IsApplicable}" Value="False">
<Setter TargetName="Value" Property="Visibility" Value="Collapsed" />
<Setter TargetName="NotApplicable" Property="Visibility" Value="Visible" />
<Setter TargetName="Slider" Property="IsEnabled" Value="False" />
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
<DataTemplate DataType="{x:Type e:ChoiceRow}">
<Grid Margin="0,0,0,12" MinHeight="32">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" MinWidth="120" />
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding Header}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding ToolTip}" />
<ComboBox Grid.Column="1" ItemsSource="{Binding Options}" SelectedItem="{Binding Selected}" DisplayMemberPath="Label" ToolTip="{Binding ToolTip}"
AutomationProperties.Name="{Binding Header}" />
</Grid>
</DataTemplate>
<DataTemplate DataType="{x:Type e:InfoRow}">
<Grid Margin="0,0,0,12" MinHeight="24">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding Header}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding ToolTip}" />
<TextBlock x:Name="Value" Grid.Column="1" Style="{StaticResource Text.RowValue}" Text="{Binding Value}" Margin="8,0,0,0" ToolTip="{Binding ToolTip}" />
<TextBlock x:Name="NotApplicable" Grid.Column="1" Style="{StaticResource Text.NotApplicable}" Text="{l:Loc Common.NotApplicable}"
ToolTip="{Binding NotApplicableReason}" Visibility="Collapsed" Margin="8,0,0,0" />
</Grid>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding IsApplicable}" Value="False">
<Setter TargetName="Value" Property="Visibility" Value="Collapsed" />
<Setter TargetName="NotApplicable" Property="Visibility" Value="Visible" />
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
<!-- ===================== Section frame: title, rows, extra content, Optimise section · Reset ===================== -->
<ControlTemplate x:Key="Template.SectionPanel" TargetType="ContentControl">
<Border Style="{StaticResource Border.EditorPanel}">
<DockPanel>
<TextBlock DockPanel.Dock="Top" Text="{Binding Header}" Style="{StaticResource Text.Section}" Margin="0,0,0,14" />
<Grid DockPanel.Dock="Bottom" Margin="0,12,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Button Content="{l:Loc Editor.OptimiseSection}" Command="{Binding OptimiseCommand}" ToolTip="{Binding OptimiseToolTip}" ToolTipService.ShowOnDisabled="True" />
<Button Grid.Column="1" Style="{StaticResource Button.Subtle}" Content="{l:Loc Editor.Reset}" Margin="8,0,0,0" Command="{Binding ResetCommand}"
ToolTip="{l:Loc Tooltips.Editor.ResetSection}" Visibility="{Binding CanReset, Converter={StaticResource BoolToVisibility}}" />
</Grid>
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" Focusable="False">
<StackPanel IsEnabled="{Binding Editor.IsEditable}" ToolTip="{Binding Editor.BusyToolTip}" ToolTipService.ShowOnDisabled="True">
<ItemsControl ItemsSource="{Binding Rows}" Focusable="False" />
<ContentPresenter />
</StackPanel>
</ScrollViewer>
</DockPanel>
</Border>
</ControlTemplate>
<DataTemplate DataType="{x:Type e:ExposureTab}">
<ContentControl Template="{StaticResource Template.SectionPanel}" Focusable="False" />
</DataTemplate>
<DataTemplate DataType="{x:Type e:MotionTab}">
<ContentControl Template="{StaticResource Template.SectionPanel}" Focusable="False" />
</DataTemplate>
<DataTemplate DataType="{x:Type e:TimeTab}">
<ContentControl Template="{StaticResource Template.SectionPanel}" Focusable="False" />
</DataTemplate>
<DataTemplate DataType="{x:Type e:StackTab}">
<ContentControl Template="{StaticResource Template.SectionPanel}" Focusable="False" />
</DataTemplate>
<!-- Camera: rows, then the selected keyframe's framing. -->
<DataTemplate DataType="{x:Type e:CameraTab}">
<ContentControl Template="{StaticResource Template.SectionPanel}" Focusable="False">
<StackPanel Margin="0,4,0,0">
<Grid MinHeight="26" Margin="0,0,0,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding KeyText}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" Style="{StaticResource Text.Secondary}"
ToolTip="{l:Loc Tooltips.Editor.Camera.Keys}" />
<Button Grid.Column="1" Style="{StaticResource Button.Icon}" Width="28" Height="28" MinWidth="28" Margin="8,0,0,0" ui:ButtonIcon.Glyph="{StaticResource Icon.Plus}"
Command="{Binding AddKeyCommand}" ToolTip="{l:Loc Tooltips.Editor.Camera.AddKey}" AutomationProperties.Name="{l:Loc Editor.Camera.AddKey}" />
<Button Grid.Column="2" Style="{StaticResource Button.Icon}" Width="28" Height="28" MinWidth="28" Margin="6,0,0,0" ui:ButtonIcon.Glyph="{StaticResource Icon.Minus}"
Command="{Binding RemoveKeyCommand}" ToolTip="{l:Loc Tooltips.Editor.Camera.RemoveKey}" AutomationProperties.Name="{l:Loc Editor.Camera.RemoveKey}" />
</Grid>
<StackPanel Visibility="{Binding HasSelectedKey, Converter={StaticResource BoolToVisibility}}">
<Grid MinHeight="24">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Text="{l:Loc Editor.Camera.Zoom}" VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Style="{StaticResource Text.RowValue}" Text="{Binding SelectedZoomText}" />
</Grid>
<Slider Margin="0,6,0,12" Minimum="1" Maximum="4" SmallChange="0.05" LargeChange="0.25" Value="{Binding SelectedZoom}"
ToolTip="{l:Loc Tooltips.Editor.Camera.Zoom}" AutomationProperties.Name="{l:Loc Editor.Camera.Zoom}" />
<TextBlock Text="{l:Loc Editor.Camera.CenterX}" />
<Slider Margin="0,6,0,12" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" Value="{Binding SelectedCenterX}"
ToolTip="{l:Loc Tooltips.Editor.Camera.CenterX}" AutomationProperties.Name="{l:Loc Editor.Camera.CenterX}" />
<TextBlock Text="{l:Loc Editor.Camera.CenterY}" />
<Slider Margin="0,6,0,0" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" Value="{Binding SelectedCenterY}"
ToolTip="{l:Loc Tooltips.Editor.Camera.CenterY}" AutomationProperties.Name="{l:Loc Editor.Camera.CenterY}" />
</StackPanel>
</StackPanel>
</ContentControl>
</DataTemplate>
<!-- Frames: hero, exclusions of the current frame, warnings of the analyses. -->
<DataTemplate DataType="{x:Type e:FramesTab}">
<ContentControl Template="{StaticResource Template.SectionPanel}" Focusable="False">
<StackPanel>
<Grid MinHeight="32" Margin="0,0,0,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Text="{l:Loc Editor.Frames.HeroLabel}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" />
<TextBlock Grid.Column="1" Style="{StaticResource Text.RowValue}" Text="{Binding HeroText}" Margin="8,0" />
<Button Grid.Column="2" Style="{StaticResource Button.Icon}" ui:ButtonIcon.Glyph="{StaticResource Icon.Hero}" Command="{Binding SetHeroCommand}"
ToolTip="{l:Loc Tooltips.Editor.Frames.Hero}" AutomationProperties.Name="{l:Loc Editor.Frames.SetHero}" />
</Grid>
<Grid MinHeight="32" Margin="0,0,0,14">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center">
<TextBlock Text="{l:Loc Editor.Frames.ExcludedLabel}" TextTrimming="CharacterEllipsis" />
<TextBlock Text="{Binding ExcludedText}" Style="{StaticResource Text.Secondary}" TextTrimming="CharacterEllipsis" />
</StackPanel>
<Button Grid.Column="1" Content="{Binding CurrentExcludeText}" Command="{Binding ToggleExcludeCommand}" ToolTip="{Binding CurrentExcludeToolTip}" Margin="8,0,0,0" />
</Grid>
<TextBlock Text="{l:Loc Editor.Frames.Warnings}" Style="{StaticResource Text.Section}" Margin="0,0,0,8" />
<TextBlock Text="{l:Loc Editor.Frames.NoWarnings}" Style="{StaticResource Text.Secondary}"
Visibility="{Binding HasFindings, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" />
<ItemsControl ItemsSource="{Binding Findings}" Focusable="False">
<ItemsControl.ItemTemplate>
<DataTemplate DataType="{x:Type e:FindingItem}">
<Button Style="{StaticResource Button.Finding}" Command="{Binding DataContext.SeekCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}"
CommandParameter="{Binding}" ToolTip="{l:Loc Tooltips.Editor.Frames.Finding}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<ui:StatusGlyph Kind="{Binding Kind}" VerticalAlignment="Top" Margin="0,1,6,0" />
<TextBlock Grid.Column="1" Text="{Binding Text}" TextWrapping="Wrap" FontSize="{StaticResource Size.Secondary}" />
</Grid>
</Button>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
</ContentControl>
</DataTemplate>
<!-- Export: the Output panel (Export.html aside). -->
<DataTemplate DataType="{x:Type e:ExportTab}">
<Border Style="{StaticResource Border.EditorPanel}">
<DockPanel>
<TextBlock DockPanel.Dock="Top" Text="{Binding Title}" Style="{StaticResource Text.Section}" Margin="0,0,0,12" TextTrimming="CharacterEllipsis" />
<StackPanel DockPanel.Dock="Bottom" Margin="0,12,0,0">
<Grid Margin="0,0,0,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Button Content="{l:Loc Editor.Export.AddToQueue}" Command="{Binding AddToQueueCommand}" ToolTip="{l:Loc Tooltips.Editor.Export.AddToQueue}"
ToolTipService.ShowOnDisabled="True" />
<Button Grid.Column="1" Content="{l:Loc Editor.Export.Batch}" Margin="8,0,0,0" Command="{Binding BatchCommand}" ToolTip="{l:Loc Tooltips.Editor.Export.Batch}"
ToolTipService.ShowOnDisabled="True" />
</Grid>
<Button Style="{StaticResource Button.Primary}" Height="36" Content="{l:Loc Editor.Export.RenderNow}" Command="{Binding RenderNowCommand}"
ToolTip="{Binding Editor.RenderToolTip}" ToolTipService.ShowOnDisabled="True" />
<DockPanel Margin="0,8,0,0">
<Button DockPanel.Dock="Right" Style="{StaticResource Button.Link}" Content="{l:Loc Editor.Export.HistoryLink}" Command="{Binding HistoryCommand}"
ToolTip="{l:Loc Tooltips.Editor.Export.History}" Margin="6,0,0,0" />
<TextBlock Text="{Binding HistoryText}" Style="{StaticResource Text.Faint}" FontSize="{StaticResource Size.Chip}" TextTrimming="CharacterEllipsis" VerticalAlignment="Center" />
</DockPanel>
</StackPanel>
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" Focusable="False">
<StackPanel IsEnabled="{Binding Editor.IsEditable}" ToolTip="{Binding Editor.BusyToolTip}" ToolTipService.ShowOnDisabled="True">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" MinWidth="88" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock Style="{StaticResource Text.Label}" Text="{l:Loc Editor.Export.Container}" />
<ComboBox Grid.Column="1" Margin="0,0,0,8" ItemsSource="{Binding Containers}" SelectedItem="{Binding SelectedContainer}" DisplayMemberPath="Label"
ToolTip="{l:Loc Tooltips.Editor.Export.Container}" AutomationProperties.Name="{l:Loc Editor.Export.Container}" />
<TextBlock Grid.Row="1" Style="{StaticResource Text.Label}" Text="{l:Loc Editor.Export.Codec}" />
<ComboBox Grid.Row="1" Grid.Column="1" Margin="0,0,0,8" ItemsSource="{Binding CodecChoices}" SelectedItem="{Binding SelectedCodec}" DisplayMemberPath="Label"
ToolTip="{l:Loc Tooltips.Editor.Export.Codec}" AutomationProperties.Name="{l:Loc Editor.Export.Codec}" />
<TextBlock Grid.Row="2" Style="{StaticResource Text.Label}" Text="{l:Loc Editor.Export.Resolution}" />
<Grid Grid.Row="2" Grid.Column="1" Margin="0,0,0,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" MinWidth="56" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" MinWidth="56" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBox Style="{StaticResource TextBox.Number}" Width="NaN" Text="{Binding Width.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}"
shell:EditBehavior.Field="{Binding Width}" ToolTip="{Binding Width.ToolTip}" AutomationProperties.Name="{l:Loc Editor.Export.Width}" />
<TextBlock Grid.Column="1" Text="×" Foreground="{DynamicResource Brush.TextFaint}" VerticalAlignment="Center" Margin="6,0" />
<TextBox Grid.Column="2" Style="{StaticResource TextBox.Number}" Width="NaN" Text="{Binding Height.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}"
shell:EditBehavior.Field="{Binding Height}" ToolTip="{Binding Height.ToolTip}" AutomationProperties.Name="{l:Loc Editor.Export.Height}" />
<TextBlock Grid.Column="3" Text="{Binding AspectText}" Style="{StaticResource Text.Hint}" FontSize="{StaticResource Size.Secondary}" Margin="6,0,0,0" />
</Grid>
<TextBlock Grid.Row="3" Style="{StaticResource Text.Label}" Text="{l:Loc Editor.Export.FrameRate}" />
<Grid Grid.Row="3" Grid.Column="1" Margin="0,0,0,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<ComboBox ItemsSource="{Binding FrameRates}" SelectedItem="{Binding SelectedFrameRate}" DisplayMemberPath="Label"
ToolTip="{l:Loc Tooltips.Editor.Export.FrameRate}" AutomationProperties.Name="{l:Loc Editor.Export.FrameRate}" />
<Border Grid.Column="1" Style="{StaticResource Pill.Auto}" Margin="8,0,0,0" ToolTip="{Binding FrameRateAutoToolTip}"
Visibility="{Binding IsFrameRateAuto, Converter={StaticResource BoolToVisibility}}">
<TextBlock Text="{l:Loc Common.Auto}" FontSize="{StaticResource Size.Chip}" Foreground="{DynamicResource Brush.Accent}" VerticalAlignment="Center" />
</Border>
<Button Grid.Column="1" Style="{StaticResource Button.IconSubtle}" Width="26" Height="26" Margin="8,0,0,0" ui:ButtonIcon.Glyph="{StaticResource Icon.Reset}"
Command="{Binding ResetFrameRateCommand}" ToolTip="{l:Loc Tooltips.Editor.Export.FrameRateReset}" AutomationProperties.Name="{l:Loc Editor.ResetToAuto}"
Visibility="{Binding IsFrameRateAuto, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" />
</Grid>
<TextBlock Grid.Row="4" Style="{StaticResource Text.Label}" Text="{l:Loc Editor.Export.Quality}" />
<Grid Grid.Row="4" Grid.Column="1" Margin="0,0,0,8" MinHeight="32">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" MinWidth="64" />
</Grid.ColumnDefinitions>
<Slider Minimum="1" Maximum="{Binding QualityMaximum}" SmallChange="1" LargeChange="5" IsSnapToTickEnabled="True" TickFrequency="1" Value="{Binding Quality}"
IsEnabled="{Binding IsQualityApplicable}" ToolTip="{Binding QualityToolTip}" AutomationProperties.Name="{l:Loc Editor.Export.Quality}"
VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Style="{StaticResource Text.RowValue}" Text="{Binding QualityText}" Margin="8,0,0,0"
Visibility="{Binding IsQualityApplicable, Converter={StaticResource BoolToVisibility}}" />
<TextBlock Grid.Column="1" Style="{StaticResource Text.NotApplicable}" Text="{l:Loc Common.NotApplicable}" ToolTip="{Binding QualityNotApplicable}" Margin="8,0,0,0"
Visibility="{Binding IsQualityApplicable, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" />
</Grid>
<TextBlock Grid.Row="5" Style="{StaticResource Text.Label}" Text="{l:Loc Editor.Export.Encoder}" />
<Grid Grid.Row="5" Grid.Column="1" Margin="0,0,0,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<ComboBox ItemsSource="{Binding Encoders}" SelectedItem="{Binding SelectedEncoder}" DisplayMemberPath="Label"
ToolTip="{l:Loc Tooltips.Editor.Export.Encoder}" AutomationProperties.Name="{l:Loc Editor.Export.Encoder}" />
<TextBlock x:Name="Kind" Grid.Column="1" Text="{Binding EncoderKind}" FontSize="{StaticResource Size.Secondary}" Foreground="{DynamicResource Brush.TextMuted}"
VerticalAlignment="Center" Margin="8,0,0,0" />
</Grid>
<TextBlock Grid.Row="6" Style="{StaticResource Text.Label}" Text="{l:Loc Editor.Export.Colour}" />
<ComboBox Grid.Row="6" Grid.Column="1" Margin="0,0,0,8" ItemsSource="{Binding Depths}" SelectedItem="{Binding SelectedDepth}" DisplayMemberPath="Label"
IsEnabled="{Binding CanChooseDepth}" ToolTip="{l:Loc Tooltips.Editor.Export.Colour}" ToolTipService.ShowOnDisabled="True"
AutomationProperties.Name="{l:Loc Editor.Export.Colour}" />
<TextBlock Grid.Row="7" Style="{StaticResource Text.Label}" Text="{l:Loc Editor.Export.FileName}" />
<TextBox Grid.Row="7" Grid.Column="1" Margin="0,0,0,8" Text="{Binding NameTemplate.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}"
shell:EditBehavior.Field="{Binding NameTemplate}" ToolTip="{Binding NameTemplate.ToolTip}" AutomationProperties.Name="{l:Loc Editor.Export.FileName}" />
<TextBlock Grid.Row="8" Style="{StaticResource Text.Label}" Text="{l:Loc Editor.Export.SaveTo}" />
<ComboBox Grid.Row="8" Grid.Column="1" ItemsSource="{Binding SaveChoices}" SelectedItem="{Binding SelectedSave}" DisplayMemberPath="Label"
ToolTip="{Binding SaveToolTip}" AutomationProperties.Name="{l:Loc Editor.Export.SaveTo}" />
</Grid>
<Border Style="{StaticResource Border.Card}" Margin="0,12,0,0" Padding="12,10">
<StackPanel>
<DockPanel>
<TextBlock DockPanel.Dock="Right" Text="{Binding EstimatedSize}" Style="{StaticResource Text.Number}" FontSize="{StaticResource Size.Secondary}" />
<TextBlock Text="{l:Loc Editor.Export.Size}" Style="{StaticResource Text.Secondary}" />
</DockPanel>
<DockPanel Margin="0,4,0,0">
<TextBlock DockPanel.Dock="Right" Text="{Binding EstimatedTime}" FontSize="{StaticResource Size.Secondary}" TextTrimming="CharacterEllipsis" MaxWidth="180" />
<TextBlock Text="{l:Loc Editor.Export.Time}" Style="{StaticResource Text.Secondary}" />
</DockPanel>
<DockPanel Margin="0,4,0,0">
<TextBlock DockPanel.Dock="Right" Text="{Binding ResultName}" FontSize="{StaticResource Size.Secondary}" TextTrimming="CharacterEllipsis" MaxWidth="180"
ToolTip="{Binding ResultName}" />
<TextBlock Text="{l:Loc Editor.Export.Result}" Style="{StaticResource Text.Secondary}" />
</DockPanel>
</StackPanel>
</Border>
<ItemsControl ItemsSource="{Binding Notices}" Margin="0,8,0,0" Focusable="False">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid Margin="0,4,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<ui:Icon Glyph="{StaticResource Icon.Warning}" Foreground="{DynamicResource Brush.Warning}" VerticalAlignment="Top" Margin="0,1,6,0" />
<TextBlock Grid.Column="1" Text="{Binding}" TextWrapping="Wrap" FontSize="{StaticResource Size.Secondary}" Foreground="{DynamicResource Brush.TextMuted}" />
</Grid>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
</ScrollViewer>
</DockPanel>
</Border>
</DataTemplate>
</ResourceDictionary>
+113
View File
@@ -0,0 +1,113 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:Titano.Ui.Controls;assembly=Titano.Ui">
<!--
Styles of the sequence editor (Editor.html, Export.html) on the kit of Titano.Ui and the client styles. Brushes are
DynamicResource; sizes and the kit's styles StaticResource.
-->
<!-- Preview height against the measuring area: the editor favours the picture, the Export tab its preset cards. -->
<GridLength x:Key="Editor.Grid.Preview">17*</GridLength>
<GridLength x:Key="Editor.Grid.Measure">10*</GridLength>
<GridLength x:Key="Editor.Grid.ExportPreview">9*</GridLength>
<GridLength x:Key="Editor.Grid.ExportMeasure">12*</GridLength>
<GridLength x:Key="Editor.Grid.Panel">320</GridLength>
<!-- Tools over the preview: 30 px, chrome fill, accent when on (Editor.html). -->
<Style x:Key="ToggleButton.PreviewTool" TargetType="ToggleButton" BasedOn="{StaticResource {x:Type ToggleButton}}">
<Setter Property="Width" Value="30" />
<Setter Property="MinWidth" Value="30" />
<Setter Property="Height" Value="30" />
<Setter Property="Padding" Value="0" />
<Setter Property="Margin" Value="0,0,6,0" />
<Setter Property="Background" Value="{DynamicResource Brush.Chrome}" />
<Setter Property="ui:ControlState.HoverBackground" Value="{DynamicResource Brush.Card}" />
<Setter Property="ToolTipService.ShowOnDisabled" Value="True" />
</Style>
<Style x:Key="Button.PreviewTool" TargetType="Button" BasedOn="{StaticResource Button.Base}">
<Setter Property="Width" Value="30" />
<Setter Property="MinWidth" Value="30" />
<Setter Property="Height" Value="30" />
<Setter Property="Padding" Value="0" />
<Setter Property="Margin" Value="0,0,6,0" />
<Setter Property="Background" Value="{DynamicResource Brush.Chrome}" />
<Setter Property="ui:ControlState.HoverBackground" Value="{DynamicResource Brush.Card}" />
</Style>
<!-- Settings column (320 px panel, Editor.html aside). -->
<Style x:Key="Border.EditorPanel" TargetType="Border" BasedOn="{StaticResource Border.Panel}">
<Setter Property="Padding" Value="14" />
</Style>
<!-- Value next to a row label: tabular, right-aligned. -->
<Style x:Key="Text.RowValue" TargetType="TextBlock" BasedOn="{StaticResource Text.Number}">
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="HorizontalAlignment" Value="Right" />
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
</Style>
<!-- "n/a" with the reason in the tooltip (DESIGN §4 sliders). -->
<Style x:Key="Text.NotApplicable" TargetType="TextBlock">
<Setter Property="Foreground" Value="{DynamicResource Brush.TextFaint}" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="HorizontalAlignment" Value="Right" />
</Style>
<!-- Preset card (Export.html): card fill, stroke, radius 8; accent border and glow when selected. -->
<Style x:Key="Button.PresetCard" TargetType="Button">
<Setter Property="FocusVisualStyle" Value="{StaticResource Focus.Ring}" />
<Setter Property="Foreground" Value="{DynamicResource Brush.Text}" />
<Setter Property="Background" Value="{DynamicResource Brush.Card}" />
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Stroke}" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="Height" Value="118" />
<Setter Property="Margin" Value="0,0,10,10" />
<Setter Property="Cursor" Value="Hand" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Grid>
<Border x:Name="Glow" Margin="-3" CornerRadius="11" BorderThickness="3" BorderBrush="{DynamicResource Brush.AccentSelected}" Visibility="Collapsed" />
<Border x:Name="Bd" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1"
CornerRadius="{StaticResource Radius.Card}" Padding="12,10" SnapsToDevicePixels="True">
<ContentPresenter />
</Border>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Bd" Property="BorderBrush" Value="{DynamicResource Brush.StrokeStrong}" />
</Trigger>
<DataTrigger Binding="{Binding IsSelected}" Value="True">
<Setter TargetName="Bd" Property="BorderBrush" Value="{DynamicResource Brush.Accent}" />
<Setter TargetName="Glow" Property="Visibility" Value="Visible" />
</DataTrigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Opacity" Value="0.4" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- "Recommended" chip on a card: accent border and text (DESIGN §4 chips). -->
<Style x:Key="Border.Recommended" TargetType="Border">
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Accent}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="CornerRadius" Value="10" />
<Setter Property="Padding" Value="6,0" />
<Setter Property="Margin" Value="8,0,0,0" />
<Setter Property="VerticalAlignment" Value="Center" />
</Style>
<!-- A finding of the warnings list: glyph and one sentence, click seeks its first frame. -->
<Style x:Key="Button.Finding" TargetType="Button" BasedOn="{StaticResource Button.Subtle}">
<Setter Property="Height" Value="Auto" />
<Setter Property="MinHeight" Value="28" />
<Setter Property="Padding" Value="6,4" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
</Style>
</ResourceDictionary>
+10 -1
View File
@@ -97,7 +97,16 @@ public sealed class FramesTab : EditorTab
public IReadOnlyList<FrameRow> Frames { get => _frames; private set => Set(ref _frames, value); }
public IReadOnlyList<FindingItem> Findings { get => _findings; private set => Set(ref _findings, value); }
public IReadOnlyList<FindingItem> Findings
{
get => _findings;
private set
{
if (Set(ref _findings, value)) OnPropertyChanged(nameof(HasFindings));
}
}
public bool HasFindings => _findings.Count > 0;
/// <summary>The row of the current frame (selecting a row seeks the preview).</summary>
public FrameRow? Selected
@@ -0,0 +1,30 @@
<Window x:Class="Titano.App.Editor.FullScreenPreview"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:Titano.Ui.Controls;assembly=Titano.Ui"
xmlns:v="clr-namespace:Titano.Ui.Visuals;assembly=Titano.Ui"
xmlns:l="clr-namespace:Titano.Ui.Localization;assembly=Titano.Ui"
Title="{Binding Title}" WindowStyle="None" ResizeMode="NoResize" WindowState="Maximized" ShowInTaskbar="False"
Background="{DynamicResource Brush.Preview}" KeyDown="OnKeyDown">
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Titano;component/Editor/EditorStyles.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<!-- Full screen at native resolution (BRIEF §12.3) with collapsible shot data; Esc closes, arrows step, space plays. -->
<v:PreviewViewport x:Name="Viewport" Source="{Binding PreviewImage}" OriginalSource="{Binding OriginalImage}" IsCompareEnabled="{Binding IsCompare}"
WipeLabel="{Binding WipeLabel}" ZoomMode="Actual" InfoText="{Binding InfoText}" AutomationProperties.Name="{l:Loc Editor.Preview}">
<v:PreviewViewport.ToolsContent>
<StackPanel Orientation="Horizontal">
<ToggleButton Style="{StaticResource ToggleButton.PreviewTool}" IsChecked="{Binding IsCompare}" ui:ButtonIcon.Glyph="{StaticResource Icon.Compare}"
ToolTip="{l:Loc Tooltips.Editor.Preview.Compare}" AutomationProperties.Name="{l:Loc Editor.Preview.Compare}" />
<ToggleButton Style="{StaticResource ToggleButton.PreviewTool}" IsChecked="True" ui:ButtonIcon.Glyph="{StaticResource Icon.Info}" Checked="OnShotData"
Unchecked="OnShotData" ToolTip="{l:Loc Tooltips.Editor.Preview.ShotData}" AutomationProperties.Name="{l:Loc Editor.Preview.ShotData}" />
<Button Style="{StaticResource Button.PreviewTool}" ui:ButtonIcon.Glyph="{StaticResource Icon.Close}" Click="OnClose"
ToolTip="{l:Loc Tooltips.Editor.Preview.ExitFullScreen}" AutomationProperties.Name="{l:Loc Editor.Preview.ExitFullScreen}" />
</StackPanel>
</v:PreviewViewport.ToolsContent>
</v:PreviewViewport>
</Window>
@@ -0,0 +1,55 @@
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Input;
using Titano.Ui.Visuals;
namespace Titano.App.Editor;
/// <summary>The preview full screen at native resolution (BRIEF §12.3): the editor keeps rendering into it at screen size.</summary>
public partial class FullScreenPreview : Window
{
private readonly EditorViewModel _editor;
public FullScreenPreview(EditorViewModel editor)
{
_editor = editor;
DataContext = editor;
InitializeComponent();
Loaded += (_, _) =>
{
var scale = PresentationSource.FromVisual(this)?.CompositionTarget?.TransformToDevice.M11 ?? 1;
_editor.PreviewEdge = (int)(double.Max(ActualWidth, ActualHeight) * scale);
};
}
private void OnShotData(object sender, RoutedEventArgs e)
{
if (((ToggleButton)sender).IsChecked == true)
Viewport.SetBinding(PreviewViewport.InfoTextProperty, new Binding(nameof(EditorViewModel.InfoText)));
else
BindingOperations.ClearBinding(Viewport, PreviewViewport.InfoTextProperty);
}
private void OnClose(object sender, RoutedEventArgs e) => Close();
private void OnKeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Escape)
{
Close();
e.Handled = true;
return;
}
ICommand? command = e.Key switch
{
Key.Space => _editor.PlayCommand,
Key.Left => _editor.StepBackCommand,
Key.Right => _editor.StepForwardCommand,
_ => null,
};
if (command is null) return;
command.Execute(null);
e.Handled = true;
}
}
+141 -3
View File
@@ -2,10 +2,148 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:Titano.Ui.Controls;assembly=Titano.Ui"
xmlns:l="clr-namespace:Titano.Ui.Localization;assembly=Titano.Ui">
<Grid Margin="20">
<ui:EmptyState Message="{l:Loc Editor.Empty}">
xmlns:v="clr-namespace:Titano.Ui.Visuals;assembly=Titano.Ui"
xmlns:l="clr-namespace:Titano.Ui.Localization;assembly=Titano.Ui"
KeyDown="OnKeyDown">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Titano;component/Editor/EditorStyles.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid>
<ui:EmptyState Message="{l:Loc Editor.Empty}" Visibility="{Binding IsEmpty, Converter={StaticResource BoolToVisibility}}">
<Button Style="{StaticResource Button.Primary}" Content="{l:Loc Shell.Nav.Library}" Command="{Binding OpenLibraryCommand}" ToolTip="{l:Loc Tooltips.Nav.Library}" />
</ui:EmptyState>
<ProgressBar Width="240" IsIndeterminate="True" VerticalAlignment="Center" Visibility="{Binding IsLoading, Converter={StaticResource BoolToVisibility}}"
AutomationProperties.Name="{l:Loc Editor.Loading}" />
<!-- Editor.html: header, then the preview, filmstrip and section tabs on the left and the section's settings on the right. -->
<Grid x:Name="EditorRoot" DataContext="{Binding Editor}" Margin="16,0,16,12"
Visibility="{Binding Converter={x:Static ui:NullToCollapsedConverter.Instance}}">
<Grid.InputBindings>
<KeyBinding Key="Z" Modifiers="Control" Command="{Binding UndoCommand}" />
<KeyBinding Key="Y" Modifiers="Control" Command="{Binding RedoCommand}" />
<KeyBinding Key="D0" Modifiers="Control" Command="{Binding FitCommand}" />
<KeyBinding Key="D1" Modifiers="Control" Command="{Binding ActualSizeCommand}" />
<KeyBinding Key="R" Modifiers="Control" Command="{Binding RenderCommand}" />
</Grid.InputBindings>
<Grid.RowDefinitions>
<RowDefinition Height="52" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Button Style="{StaticResource Button.IconSubtle}" ui:ButtonIcon.Glyph="{StaticResource Icon.Back}" Command="{Binding BackCommand}"
ToolTip="{l:Loc Tooltips.Editor.Back}" AutomationProperties.Name="{l:Loc Editor.Back}" Margin="-6,0,0,0" />
<TextBlock Grid.Column="1" Text="{Binding Title}" Style="{StaticResource Text.Title}" VerticalAlignment="Center" Margin="6,0,12,0" MaxWidth="320"
TextTrimming="CharacterEllipsis" />
<TextBlock Grid.Column="2" Text="{Binding Summary}" Style="{StaticResource Text.Secondary}" FontSize="{StaticResource Size.Body}" VerticalAlignment="Center"
TextTrimming="CharacterEllipsis" Typography.NumeralAlignment="Tabular" />
<StackPanel Grid.Column="3" Orientation="Horizontal" VerticalAlignment="Center" Margin="12,0,0,0">
<Button Content="{l:Loc Editor.Analyse}" Command="{Binding AnalyseCommand}" ToolTip="{l:Loc Tooltips.Editor.Analyse}" ToolTipService.ShowOnDisabled="True" />
<Button Content="{l:Loc Editor.OptimiseAll}" Command="{Binding OptimiseAllCommand}" ToolTip="{l:Loc Tooltips.Editor.OptimiseAll}"
ToolTipService.ShowOnDisabled="True" Margin="12,0,0,0" />
<v:SplitButton IsPrimary="True" Margin="12,0,0,0" Content="{Binding RenderText}" Command="{Binding RenderCommand}" ItemsSource="{Binding RenderChoices}"
DisplayMemberPath="Label" SelectedItem="{Binding SelectedRenderChoice}" ToolTip="{Binding RenderToolTip}"
DropDownToolTip="{l:Loc Tooltips.Editor.RenderChoice}" AutomationProperties.Name="{l:Loc Editor.RenderButton}" />
</StackPanel>
</Grid>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="{StaticResource Editor.Grid.Panel}" />
</Grid.ColumnDefinitions>
<Grid Margin="0,0,16,0">
<Grid.RowDefinitions>
<RowDefinition MinHeight="160">
<RowDefinition.Style>
<Style TargetType="RowDefinition">
<Setter Property="Height" Value="{StaticResource Editor.Grid.Preview}" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsExportTab}" Value="True">
<Setter Property="Height" Value="{StaticResource Editor.Grid.ExportPreview}" />
</DataTrigger>
</Style.Triggers>
</Style>
</RowDefinition.Style>
</RowDefinition>
<RowDefinition Height="Auto" />
<RowDefinition MinHeight="150">
<RowDefinition.Style>
<Style TargetType="RowDefinition">
<Setter Property="Height" Value="{StaticResource Editor.Grid.Measure}" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsExportTab}" Value="True">
<Setter Property="Height" Value="{StaticResource Editor.Grid.ExportMeasure}" />
</DataTrigger>
</Style.Triggers>
</Style>
</RowDefinition.Style>
</RowDefinition>
</Grid.RowDefinitions>
<v:PreviewViewport x:Name="Preview" Source="{Binding PreviewImage}" OriginalSource="{Binding OriginalImage}" IsCompareEnabled="{Binding IsCompare}"
WipeLabel="{Binding WipeLabel}" ZoomMode="{Binding ZoomMode, Mode=TwoWay}" ShowVectors="{Binding ShowVectors}"
MotionVectors="{Binding MotionVectors}" VectorScale="{Binding VectorScale}" ShowRegions="{Binding ShowRegions}"
RegionBoundary="{Binding RegionBoundary}" ShowCropMask="{Binding ShowCropMask}" CropRect="{Binding CropRect}" InfoText="{Binding InfoText}"
AutomationProperties.Name="{l:Loc Editor.Preview}" SizeChanged="OnPreviewSizeChanged">
<v:PreviewViewport.ToolsContent>
<StackPanel Orientation="Horizontal" DataContext="{Binding DataContext, ElementName=EditorRoot}">
<ToggleButton Style="{StaticResource ToggleButton.PreviewTool}" IsChecked="{Binding IsCompare}" ui:ButtonIcon.Glyph="{StaticResource Icon.Compare}"
ToolTip="{l:Loc Tooltips.Editor.Preview.Compare}" AutomationProperties.Name="{l:Loc Editor.Preview.Compare}" />
<ToggleButton Visibility="{Binding IsExportTab, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" Style="{StaticResource ToggleButton.PreviewTool}" IsChecked="{Binding ShowVectors}" ui:ButtonIcon.Glyph="{StaticResource Icon.Vectors}"
ToolTip="{l:Loc Tooltips.Editor.Preview.Vectors}" AutomationProperties.Name="{l:Loc Editor.Preview.Vectors}" />
<ToggleButton Visibility="{Binding IsExportTab, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" Style="{StaticResource ToggleButton.PreviewTool}" IsChecked="{Binding ShowRegions}" ui:ButtonIcon.Glyph="{StaticResource Icon.Regions}"
ToolTip="{l:Loc Tooltips.Editor.Preview.Regions}" AutomationProperties.Name="{l:Loc Editor.Preview.Regions}" />
<ToggleButton Style="{StaticResource ToggleButton.PreviewTool}" IsChecked="{Binding ShowCropMask}" ui:ButtonIcon.Glyph="{StaticResource Icon.CropMask}"
ToolTip="{l:Loc Tooltips.Editor.Preview.CropMask}" AutomationProperties.Name="{l:Loc Editor.Preview.CropMask}" />
<ToggleButton Visibility="{Binding IsExportTab, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" Style="{StaticResource ToggleButton.PreviewTool}" IsChecked="{Binding IsActualSize}" ui:ButtonIcon.Glyph="{StaticResource Icon.ActualSize}"
ToolTip="{l:Loc Tooltips.Editor.Preview.ActualSize}" AutomationProperties.Name="{l:Loc Editor.Preview.ActualSize}" />
<Button Visibility="{Binding IsExportTab, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" Style="{StaticResource Button.PreviewTool}" ui:ButtonIcon.Glyph="{StaticResource Icon.Fullscreen}" Click="OnFullScreen"
ToolTip="{l:Loc Tooltips.Editor.Preview.FullScreen}" AutomationProperties.Name="{l:Loc Editor.Preview.FullScreen}" />
<Button Visibility="{Binding IsExportTab, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" Style="{StaticResource Button.PreviewTool}" ui:ButtonIcon.Glyph="{StaticResource Icon.Play}" Command="{Binding PlayCommand}"
ToolTip="{Binding PlayToolTip}" AutomationProperties.Name="{l:Loc Editor.Preview.Play}" />
<Button Style="{StaticResource Button.Base}" Height="30" Padding="10,0" Background="{DynamicResource Brush.Chrome}"
ui:ButtonIcon.Glyph="{StaticResource Icon.Play}" Content="{l:Loc Editor.Preview.Clip}" Command="{Binding PreviewClipCommand}"
ToolTip="{l:Loc Tooltips.Editor.Preview.Clip}" Visibility="{Binding IsExportTab, Converter={StaticResource BoolToVisibility}}" />
</StackPanel>
</v:PreviewViewport.ToolsContent>
</v:PreviewViewport>
<v:Filmstrip Grid.Row="1" Margin="0,10,0,0" Source="{Binding Thumbnails}" CurrentIndex="{Binding CurrentIndex, Mode=TwoWay}" Markers="{Binding Markers}"
AutomationProperties.Name="{l:Loc Editor.Filmstrip}" />
<TabControl Grid.Row="2" Margin="0,10,0,0" ItemsSource="{Binding Tabs}" SelectedItem="{Binding SelectedTab}" AutomationProperties.Name="{l:Loc Editor.Sections}">
<TabControl.Resources>
<ResourceDictionary Source="pack://application:,,,/Titano;component/Editor/EditorMeasures.xaml" />
</TabControl.Resources>
<TabControl.ItemContainerStyle>
<Style TargetType="TabItem" BasedOn="{StaticResource {x:Type TabItem}}">
<Setter Property="Header" Value="{Binding Header}" />
<Setter Property="ToolTip" Value="{Binding ToolTip}" />
<Setter Property="AutomationProperties.Name" Value="{Binding Header}" />
</Style>
</TabControl.ItemContainerStyle>
</TabControl>
</Grid>
<ContentControl Grid.Column="1" Content="{Binding SelectedTab}" Focusable="False">
<ContentControl.Resources>
<ResourceDictionary Source="pack://application:,,,/Titano;component/Editor/EditorPanels.xaml" />
</ContentControl.Resources>
</ContentControl>
</Grid>
</Grid>
</Grid>
</UserControl>
@@ -1,8 +1,48 @@
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Media;
using Titano.App.Editor;
namespace Titano.App.Sections;
public partial class SequenceView : UserControl
{
public SequenceView() => InitializeComponent();
private EditorViewModel? Editor => (DataContext as SequenceViewModel)?.Editor;
/// <summary>Space plays or pauses, arrows step a frame (BRIEF §12.3) — unless a text field or a control that uses the key has it.</summary>
private void OnKeyDown(object sender, KeyEventArgs e)
{
if (e.Handled || Editor is not { } editor || Keyboard.Modifiers != ModifierKeys.None || e.OriginalSource is TextBoxBase) return;
var command = e.Key switch
{
Key.Space => editor.PlayCommand,
Key.Left => editor.StepBackCommand,
Key.Right => editor.StepForwardCommand,
_ => null,
};
if (command is null) return;
command.Execute(null);
e.Handled = true;
}
/// <summary>The preview renders at the size it is shown, in device pixels.</summary>
private void OnPreviewSizeChanged(object sender, SizeChangedEventArgs e)
{
if (Editor is not { } editor) return;
var scale = VisualTreeHelper.GetDpi(this).DpiScaleX;
editor.PreviewEdge = (int)(double.Max(e.NewSize.Width, e.NewSize.Height) * scale);
}
private void OnFullScreen(object sender, RoutedEventArgs e)
{
if (Editor is not { } editor) return;
var restore = editor.PreviewEdge;
var window = new FullScreenPreview(editor) { Owner = Window.GetWindow(this) };
window.ShowDialog();
editor.PreviewEdge = restore;
}
}