mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-28 10:07:11 +02:00
Controller overlay changed from Window to UserControl
This commit is contained in:
parent
1e86aa9764
commit
d7929a7f0e
5 changed files with 45 additions and 58 deletions
|
@ -1,50 +0,0 @@
|
|||
<window:StyleableAppWindow
|
||||
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:window="clr-namespace:Ryujinx.Ava.UI.Windows"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="400"
|
||||
d:DesignHeight="300"
|
||||
x:Class="Ryujinx.Ava.UI.Windows.ControllerOverlayWindow"
|
||||
Title="Controller Overlay"
|
||||
Focusable="False"
|
||||
Topmost="True"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Width="400"
|
||||
Height="250"
|
||||
SizeToContent="Height">
|
||||
|
||||
<Border Background="#E0000000"
|
||||
CornerRadius="12"
|
||||
Padding="24"
|
||||
BorderBrush="#40FFFFFF"
|
||||
BorderThickness="1">
|
||||
<StackPanel Spacing="16">
|
||||
<StackPanel Orientation="Horizontal"
|
||||
HorizontalAlignment="Center"
|
||||
Spacing="8">
|
||||
<TextBlock Text="🎮"
|
||||
FontSize="18"
|
||||
VerticalAlignment="Center"/>
|
||||
<TextBlock Text="Controller Bindings"
|
||||
FontSize="18"
|
||||
FontWeight="Bold"
|
||||
Foreground="White"
|
||||
VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Name="PlayerBindings" Spacing="10">
|
||||
<!-- Player bindings will be added programmatically -->
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Text="This overlay will disappear in a few seconds"
|
||||
FontSize="11"
|
||||
Foreground="#AAAAAA"
|
||||
HorizontalAlignment="Center"
|
||||
Margin="0,8,0,0"
|
||||
FontStyle="Italic"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</window:StyleableAppWindow>
|
Loading…
Add table
Add a link
Reference in a new issue