mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Plugins - Added async support for timed updates Plugins - Added dialog host to plugin settings window Data model visualization - Fixed some null references Data model visualization - Added check to ensure parameterless getters are present
35 lines
2.2 KiB
XML
35 lines
2.2 KiB
XML
<controls:MaterialWindow x:Class="Artemis.UI.Screens.Settings.Tabs.Plugins.PluginSettingsWindowView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
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:local="clr-namespace:Artemis.UI.Screens.Settings.Tabs.Plugins"
|
|
xmlns:controls="clr-namespace:MaterialDesignExtensions.Controls;assembly=MaterialDesignExtensions"
|
|
xmlns:s="https://github.com/canton7/Stylet"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d"
|
|
Title="Plugin configuration"
|
|
Background="{DynamicResource MaterialDesignPaper}"
|
|
FontFamily="pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto"
|
|
UseLayoutRounding="True"
|
|
Width="800"
|
|
Height="800"
|
|
d:DesignHeight="800"
|
|
d:DesignWidth="800"
|
|
d:DataContext="{d:DesignInstance local:PluginSettingsWindowViewModel}"
|
|
Icon="/Resources/Images/Logo/logo-512.png">
|
|
<materialDesign:DialogHost IsTabStop="False"
|
|
Focusable="False"
|
|
Identifier="PluginSettingsDialog"
|
|
DialogTheme="Inherit">
|
|
<DockPanel>
|
|
<controls:AppBar Type="Dense" Title="{Binding ActiveItem.Plugin.PluginInfo.Name}" DockPanel.Dock="Top" Margin="-18 0 0 0" ShowShadow="False">
|
|
<controls:AppBar.AppIcon>
|
|
<materialDesign:PackIcon Kind="{Binding Icon}" Width="20" Height="28" />
|
|
</controls:AppBar.AppIcon>
|
|
</controls:AppBar>
|
|
|
|
<ContentControl s:View.Model="{Binding ActiveItem}" />
|
|
</DockPanel>
|
|
</materialDesign:DialogHost>
|
|
</controls:MaterialWindow> |