104 lines
4.4 KiB
XML
104 lines
4.4 KiB
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:views="using:OF_DL.Gui.Views"
|
|
x:Class="OF_DL.Gui.Views.AboutWindow"
|
|
x:DataType="views:AboutWindow"
|
|
Width="760"
|
|
Height="520"
|
|
MinWidth="620"
|
|
MinHeight="440"
|
|
Title="About OF DL"
|
|
Background="{DynamicResource WindowBackgroundBrush}"
|
|
mc:Ignorable="d">
|
|
<Border Margin="14"
|
|
Padding="16"
|
|
Background="{DynamicResource SurfaceBackgroundBrush}"
|
|
BorderBrush="{DynamicResource SurfaceBorderBrush}"
|
|
BorderThickness="1"
|
|
CornerRadius="12">
|
|
<Grid RowDefinitions="Auto,*,Auto">
|
|
<TextBlock Grid.Row="0"
|
|
FontSize="24"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="About OF DL" />
|
|
|
|
<Grid Grid.Row="1"
|
|
Margin="0,14,0,0"
|
|
ColumnDefinitions="Auto,*"
|
|
RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto,Auto">
|
|
<TextBlock Grid.Row="1"
|
|
Grid.Column="0"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="Version:" />
|
|
<TextBlock Grid.Row="1"
|
|
Grid.Column="1"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="{Binding ProgramVersion}" />
|
|
|
|
<TextBlock Grid.Row="2"
|
|
Grid.Column="0"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="Source Code:" />
|
|
<Button Grid.Row="2"
|
|
Grid.Column="1"
|
|
HorizontalAlignment="Left"
|
|
Content="{Binding SourceCodeUrl}"
|
|
Click="OnOpenSourceCodeClick" />
|
|
|
|
<TextBlock Grid.Row="3"
|
|
Grid.Column="0"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="FFmpeg Version:" />
|
|
<TextBlock Grid.Row="3"
|
|
Grid.Column="1"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="{Binding FfmpegVersion}" />
|
|
|
|
<TextBlock Grid.Row="4"
|
|
Grid.Column="0"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="FFprobe Version:" />
|
|
<TextBlock Grid.Row="4"
|
|
Grid.Column="1"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="{Binding FfprobeVersion}" />
|
|
|
|
<TextBlock Grid.Row="5"
|
|
Grid.Column="0"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="FFmpeg License:" />
|
|
<Button Grid.Row="5"
|
|
Grid.Column="1"
|
|
HorizontalAlignment="Left"
|
|
Content="{Binding FfmpegLicenseUrl}"
|
|
Click="OnOpenFfmpegLicenseClick" />
|
|
|
|
<TextBlock Grid.Row="6"
|
|
Grid.Column="0"
|
|
FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextPrimaryBrush}"
|
|
Text="FFprobe License:" />
|
|
<Button Grid.Row="6"
|
|
Grid.Column="1"
|
|
HorizontalAlignment="Left"
|
|
Content="{Binding FfprobeLicenseUrl}"
|
|
Click="OnOpenFfprobeLicenseClick" />
|
|
</Grid>
|
|
|
|
<Button Grid.Row="2"
|
|
Margin="0,18,0,0"
|
|
HorizontalAlignment="Right"
|
|
Content="Close"
|
|
Click="OnCloseClick" />
|
|
</Grid>
|
|
</Border>
|
|
</Window>
|