diff options
| author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-04-16 17:25:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-16 15:25:20 +0000 |
| commit | 69b6ef7a4ae36994c293e423e1203096c294744c (patch) | |
| tree | 3e8de70aee70ae0d28fd2684bea6e6606142d9cf /Ryujinx.Ava/UI/Views | |
| parent | 40e87c634ece65da3f740fcfbb6acb43e5cd71b3 (diff) | |
[GUI] Add network interface dropdown (#4597)
* Add network adapter dropdown from LDN build
* Ava: Add NetworkInterfaces to SettingsNetworkTab
* Add headless network interface option
* Add network interface dropdown to Avalonia
* Fix handling network interfaces without a gateway address
* gtk: Actually save selected network interface to config
* Increment config version
Diffstat (limited to 'Ryujinx.Ava/UI/Views')
| -rw-r--r-- | Ryujinx.Ava/UI/Views/Settings/SettingsNetworkView.axaml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Ryujinx.Ava/UI/Views/Settings/SettingsNetworkView.axaml b/Ryujinx.Ava/UI/Views/Settings/SettingsNetworkView.axaml index 8efd367d..ab8a7f6d 100644 --- a/Ryujinx.Ava/UI/Views/Settings/SettingsNetworkView.axaml +++ b/Ryujinx.Ava/UI/Views/Settings/SettingsNetworkView.axaml @@ -1,4 +1,4 @@ -<UserControl +<UserControl x:Class="Ryujinx.Ava.UI.Views.Settings.SettingsNetworkView" xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" @@ -29,7 +29,18 @@ <TextBlock Text="{locale:Locale SettingsTabSystemEnableInternetAccess}" ToolTip.Tip="{locale:Locale EnableInternetAccessTooltip}" /> </CheckBox> + <StackPanel Margin="10,0,0,0" Orientation="Horizontal"> + <TextBlock VerticalAlignment="Center" + Text="{locale:Locale SettingsTabNetworkInterface}" + ToolTip.Tip="{locale:Locale NetworkInterfaceTooltip}" + Width="200" /> + <ComboBox SelectedIndex="{Binding NetworkInterfaceIndex}" + ToolTip.Tip="{locale:Locale NetworkInterfaceTooltip}" + HorizontalContentAlignment="Left" + Items="{Binding NetworkInterfaceList}" + Width="250" /> + </StackPanel> </StackPanel> </Border> </ScrollViewer> -</UserControl>
\ No newline at end of file +</UserControl> |
