CI / Build and test (push) Successful in 8m19s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 7s
Release / Build, test and publish (push) Successful in 12m9s
CI / PostgreSQL 16 integration (push) Successful in 7m49s
CI / PostgreSQL 17 integration (push) Successful in 7m19s
CI / Docker image (push) Successful in 46s
Release / Server image (push) Successful in 1m14s
Owner review 1 R5 + R6. Camera rotation, mirror, flip, straighten and crop handles locked to the output; an Exposure Look group; Export output size ("proportions win"); settings format 2 with older-node gates. Also fixes project text and hashes differing between Windows and Linux.
Closes #19
Closes #20
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
33 lines
2.5 KiB
XML
33 lines
2.5 KiB
XML
<Window x:Class="Chronos.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:Chronos.Ui.Controls;assembly=Chronos.Ui"
|
|
xmlns:v="clr-namespace:Chronos.Ui.Visuals;assembly=Chronos.Ui"
|
|
xmlns:l="clr-namespace:Chronos.Ui.Localization;assembly=Chronos.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:,,,/Chronos;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}" ToolTip="{l:Loc Tooltips.Editor.Preview.View}"
|
|
AutomationProperties.Name="{l:Loc Editor.Preview}">
|
|
<v:PreviewViewport.ToolsContent>
|
|
<!-- The tools' 6 px bottom margin is for a second line in the editor; one line takes it back. -->
|
|
<StackPanel Orientation="Horizontal" Margin="0,0,0,-6">
|
|
<ToggleButton Style="{StaticResource ToggleButton.PreviewTool}" IsChecked="{Binding IsCompare}" ui:ButtonIcon.Glyph="{StaticResource Icon.Compare}"
|
|
Content="{l:Loc Editor.Preview.Compare}" ToolTip="{l:Loc Tooltips.Editor.Preview.Compare}" />
|
|
<ToggleButton Style="{StaticResource ToggleButton.PreviewTool}" IsChecked="True" ui:ButtonIcon.Glyph="{StaticResource Icon.Info}" Checked="OnShotData"
|
|
Unchecked="OnShotData" Content="{l:Loc Editor.Preview.ShotData}" ToolTip="{l:Loc Tooltips.Editor.Preview.ShotData}" />
|
|
<Button Style="{StaticResource Button.PreviewToolIcon}" 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>
|