mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-03-13 02:39:39 -05:00
271 lines
11 KiB
XML
271 lines
11 KiB
XML
<UserControl
|
|
x:Class="Ryujinx.Ava.UI.Windows.AboutWindow"
|
|
xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:locale="clr-namespace:Ryujinx.Ava.Common.Locale"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia"
|
|
xmlns:viewModel="clr-namespace:Ryujinx.Ava.UI.ViewModels"
|
|
Width="550"
|
|
Height="260"
|
|
Margin="0,-12,0,0"
|
|
d:DesignHeight="260"
|
|
d:DesignWidth="550"
|
|
x:DataType="viewModel:AboutWindowViewModel"
|
|
Focusable="True"
|
|
mc:Ignorable="d">
|
|
<Design.DataContext>
|
|
<viewModel:AboutWindowViewModel />
|
|
</Design.DataContext>
|
|
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid
|
|
Grid.Column="0"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Stretch">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
<StackPanel
|
|
Grid.Row="0"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Stretch"
|
|
Spacing="10">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel
|
|
Grid.Column="1"
|
|
Orientation="Horizontal"
|
|
HorizontalAlignment="Center"
|
|
Spacing="10">
|
|
<Image
|
|
Height="80"
|
|
Source="resm:Ryujinx.UI.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.UI.Common"
|
|
HorizontalAlignment="Center"
|
|
IsHitTestVisible="True" />
|
|
<WrapPanel
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
Orientation="Vertical">
|
|
<TextBlock
|
|
FontSize="28"
|
|
FontWeight="Bold"
|
|
Text="Ryujinx"
|
|
TextAlignment="Start"
|
|
Width="110"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
<TextBlock
|
|
FontSize="11"
|
|
Text="(REE-YOU-JINX)"
|
|
TextAlignment="Start"
|
|
Width="110"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</WrapPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
<TextBlock
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
FontSize="10"
|
|
LineHeight="12"
|
|
Text="{Binding Version}"
|
|
TextAlignment="Center" />
|
|
<Button
|
|
Padding="5"
|
|
HorizontalAlignment="Center"
|
|
Background="Transparent"
|
|
Click="Button_OnClick"
|
|
Tag="https://github.com/Ryujinx/Ryujinx/wiki/Changelog#ryujinx-changelog">
|
|
<TextBlock
|
|
FontSize="10"
|
|
Text="{locale:Locale AboutChangelogButton}"
|
|
TextAlignment="Center"
|
|
ToolTip.Tip="{locale:Locale AboutChangelogButtonTooltipMessage}" />
|
|
</Button>
|
|
</StackPanel>
|
|
<StackPanel
|
|
Grid.Row="2"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Stretch"
|
|
Spacing="10">
|
|
<TextBlock
|
|
Width="200"
|
|
HorizontalAlignment="Center"
|
|
FontSize="10"
|
|
LineHeight="12"
|
|
Text="{locale:Locale AboutDisclaimerMessage}"
|
|
TextAlignment="Center"
|
|
TextWrapping="Wrap" />
|
|
<TextBlock
|
|
Name="AmiiboLabel"
|
|
Width="200"
|
|
HorizontalAlignment="Center"
|
|
FontSize="10"
|
|
LineHeight="12"
|
|
PointerPressed="AmiiboLabel_OnPointerPressed"
|
|
Text="{locale:Locale AboutAmiiboDisclaimerMessage}"
|
|
TextAlignment="Center"
|
|
TextWrapping="Wrap" />
|
|
<StackPanel
|
|
HorizontalAlignment="Center"
|
|
Orientation="Horizontal"
|
|
Spacing="10">
|
|
<Button
|
|
MinWidth="30"
|
|
MinHeight="30"
|
|
MaxWidth="30"
|
|
MaxHeight="30"
|
|
Padding="8"
|
|
Background="Transparent"
|
|
Click="Button_OnClick"
|
|
CornerRadius="15"
|
|
Tag="https://example.com/"
|
|
ToolTip.Tip="{locale:Locale AboutPatreonUrlTooltipMessage}">
|
|
<Image Source="{Binding PatreonLogo}" />
|
|
</Button>
|
|
<Button
|
|
MinWidth="30"
|
|
MinHeight="30"
|
|
MaxWidth="30"
|
|
MaxHeight="30"
|
|
Padding="8"
|
|
Background="Transparent"
|
|
Click="Button_OnClick"
|
|
CornerRadius="15"
|
|
Tag="https://github.com/Ryujinx/Ryujinx"
|
|
ToolTip.Tip="{locale:Locale AboutGithubUrlTooltipMessage}">
|
|
<Image Source="{Binding GithubLogo}" />
|
|
</Button>
|
|
<Button
|
|
MinWidth="30"
|
|
MinHeight="30"
|
|
MaxWidth="30"
|
|
MaxHeight="30"
|
|
Padding="8"
|
|
Background="Transparent"
|
|
Click="Button_OnClick"
|
|
CornerRadius="15"
|
|
Tag="https://discordapp.com/invite/N2FmfVc"
|
|
ToolTip.Tip="{locale:Locale AboutDiscordUrlTooltipMessage}">
|
|
<Image Source="{Binding DiscordLogo}" />
|
|
</Button>
|
|
<Button
|
|
MinWidth="30"
|
|
MinHeight="30"
|
|
MaxWidth="30"
|
|
MaxHeight="30"
|
|
Padding="8"
|
|
Background="Transparent"
|
|
Click="Button_OnClick"
|
|
CornerRadius="15"
|
|
Tag="https://twitter.com/RyujinxEmu"
|
|
ToolTip.Tip="{locale:Locale AboutTwitterUrlTooltipMessage}">
|
|
<Image Source="{Binding TwitterLogo}" />
|
|
</Button>
|
|
<Button
|
|
MinWidth="30"
|
|
MinHeight="30"
|
|
MaxWidth="30"
|
|
MaxHeight="30"
|
|
Padding="8"
|
|
Background="Transparent"
|
|
Click="Button_OnClick"
|
|
CornerRadius="15"
|
|
Tag="https://www.ryujinx.org"
|
|
ToolTip.Tip="{locale:Locale AboutUrlTooltipMessage}">
|
|
<ui:SymbolIcon Foreground="{DynamicResource ThemeForegroundColor}" Symbol="Link" />
|
|
</Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
<Border
|
|
Grid.Column="1"
|
|
Width="1"
|
|
Margin="20,0"
|
|
VerticalAlignment="Stretch"
|
|
BorderBrush="{DynamicResource ThemeControlBorderColor}"
|
|
BorderThickness="1,0,0,0" />
|
|
<Grid
|
|
Grid.Column="2"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Stretch">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
<StackPanel
|
|
Grid.Row="0"
|
|
Margin="0,10,0,0"
|
|
Spacing="2">
|
|
<TextBlock
|
|
FontSize="15"
|
|
FontWeight="Bold"
|
|
Text="{locale:Locale AboutRyujinxAboutTitle}" />
|
|
<TextBlock
|
|
FontSize="10"
|
|
Text="{locale:Locale AboutRyujinxAboutContent}"
|
|
TextWrapping="Wrap" />
|
|
</StackPanel>
|
|
<StackPanel
|
|
Grid.Row="1"
|
|
Margin="0,10,0,0"
|
|
Spacing="2">
|
|
<TextBlock
|
|
FontSize="15"
|
|
FontWeight="Bold"
|
|
Text="{locale:Locale AboutRyujinxMaintainersTitle}" />
|
|
<TextBlock
|
|
FontSize="10"
|
|
Text="{Binding Developers}"
|
|
TextWrapping="Wrap" />
|
|
<Button
|
|
Padding="5"
|
|
HorizontalAlignment="Left"
|
|
Background="Transparent"
|
|
Click="Button_OnClick"
|
|
Tag="https://github.com/Ryujinx/Ryujinx/graphs/contributors?type=a">
|
|
<TextBlock
|
|
FontSize="10"
|
|
Text="{locale:Locale AboutRyujinxContributorsButtonHeader}"
|
|
TextAlignment="End"
|
|
ToolTip.Tip="{locale:Locale AboutRyujinxMaintainersContentTooltipMessage}" />
|
|
</Button>
|
|
</StackPanel>
|
|
<StackPanel
|
|
Grid.Row="2"
|
|
Margin="0,10,0,0"
|
|
Spacing="2">
|
|
<TextBlock
|
|
FontSize="15"
|
|
FontWeight="Bold"
|
|
Text="{locale:Locale AboutRyujinxSupprtersTitle}" />
|
|
<ScrollViewer
|
|
Height="70"
|
|
HorizontalScrollBarVisibility="Disabled"
|
|
VerticalScrollBarVisibility="Visible">
|
|
<TextBlock
|
|
Name="SupportersTextBlock"
|
|
VerticalAlignment="Top"
|
|
FontSize="10"
|
|
Text="{Binding Supporters}"
|
|
TextWrapping="Wrap" />
|
|
</ScrollViewer>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|