Mesen2/UI/Controls/SoftwareRendererView.axaml
Sour d208fdc6a7 UI: Support for NativeAOT
Added Windows & Linux builds using AOT compilation
2024-06-05 20:23:31 +09:00

43 lines
No EOL
1.2 KiB
XML

<UserControl
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:l="using:Mesen.Localization"
xmlns:c="using:Mesen.Controls"
mc:Ignorable="d"
x:Name="root"
x:Class="Mesen.Controls.SoftwareRendererView"
x:DataType="c:SoftwareRendererViewModel"
HorizontalAlignment="Center"
VerticalAlignment="Center"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
Focusable="True"
>
<Panel
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
>
<c:SimpleImageViewer
Name="Frame"
Source="{Binding FrameSurface}"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
/>
<c:SimpleImageViewer
Name="EmuHud"
Source="{Binding EmuHudSurface}"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
RenderOptions.TextRenderingMode="Alias"
/>
<c:SimpleImageViewer
Name="ScriptHud"
Source="{Binding ScriptHudSurface}"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
RenderOptions.TextRenderingMode="Alias"
/>
</Panel>
</UserControl>