Files
MesenCE/UI/Controls/SoftwareRendererView.axaml
SourMesen 40335ce735 UI: Update to Avalonia 12, .NET 10 and replace ReactiveUI with MVVM community toolkit (#142)
Also fixes DX11.0 support (for Win7 PCs that aren't fully updated), which stopped working after the recent variable refresh rate changes
2026-07-03 16:04:42 +09:00

43 lines
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"
TextOptions.TextRenderingMode="Alias"
/>
<c:SimpleImageViewer
Name="ScriptHud"
Source="{Binding ScriptHudSurface}"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
TextOptions.TextRenderingMode="Alias"
/>
</Panel>
</UserControl>