mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Sidebar - Redesigned sidebar with customizable categories Profiles - Added the ability to configure custom profile icons Profiles - Added the ability to activate multiple profiles for modules at once Profiles - Added the ability to create profiles for no modules Profiles - Added the ability to suspend a profile or an entire category Profiles - Added profile activation conditions Profiles - Added file-based importing/exporting Profile editor - Condensed UI, removed tabs Profile editor - Disable condition operators until a left-side is picked
58 lines
2.9 KiB
XML
58 lines
2.9 KiB
XML
<Window x:Class="Artemis.UI.Screens.TrayView"
|
|
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:tb="http://www.hardcodet.net/taskbar"
|
|
xmlns:s="https://github.com/canton7/Stylet"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d">
|
|
<tb:TaskbarIcon IconSource="{Binding Icon}"
|
|
MenuActivation="LeftOrRightClick"
|
|
PopupActivation="DoubleClick"
|
|
DoubleClickCommand="{s:Action TrayBringToForeground}">
|
|
|
|
<tb:TaskbarIcon.TrayToolTip>
|
|
<Border Background="{DynamicResource MaterialDesignToolTipBackground}" CornerRadius="2" Padding="5">
|
|
<TextBlock Foreground="{DynamicResource MaterialDesignPaper}">
|
|
Artemis
|
|
</TextBlock>
|
|
</Border>
|
|
</tb:TaskbarIcon.TrayToolTip>
|
|
<tb:TaskbarIcon.ContextMenu>
|
|
<ContextMenu>
|
|
<MenuItem Header="Home" Command="{s:Action TrayActivateSidebarItem}" CommandParameter="Home">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="Home" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<MenuItem Header="Workshop" Command="{s:Action TrayActivateSidebarItem}" CommandParameter="Workshop">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="TestTube" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<MenuItem Header="Surface Editor" Command="{s:Action TrayActivateSidebarItem}" CommandParameter="Surface Editor">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="Edit" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<MenuItem Header="Settings" Command="{s:Action TrayActivateSidebarItem}" CommandParameter="Settings">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="Settings" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<Separator />
|
|
<MenuItem Header="Debugger" Command="{s:Action TrayOpenDebugger}">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="Matrix" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<MenuItem Header="Exit" Command="{s:Action TrayExit}">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="Close" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
</ContextMenu>
|
|
</tb:TaskbarIcon.ContextMenu>
|
|
</tb:TaskbarIcon>
|
|
</Window> |