-
-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move ServerNotifier stuff to NotifyIconWrapper
- Loading branch information
1 parent
4705bec
commit 5f9f63d
Showing
5 changed files
with
94 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
23 changes: 8 additions & 15 deletions
23
Bloxstrap/UI/Elements/NotifyIconMenu.xaml → ...I/Elements/ContextMenu/MenuContainer.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,28 @@ | ||
<ui:UiWindow x:Class="Bloxstrap.UI.Elements.NotifyIconMenu" | ||
<ui:UiWindow x:Class="Bloxstrap.UI.Elements.ContextMenu.MenuContainer" | ||
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:ui="http://schemas.lepo.co/wpfui/2022/xaml" | ||
xmlns:local="clr-namespace:Bloxstrap.UI.Elements" | ||
xmlns:local="clr-namespace:Bloxstrap.UI.Elements" | ||
mc:Ignorable="d" | ||
Title="NotifyIconMenu" | ||
Title="ContextMenuContainer" | ||
Background="{ui:ThemeResource ApplicationBackgroundBrush}" | ||
MinWidth="0" | ||
MinHeight="0" | ||
Width="0" | ||
Height="0" | ||
ShowInTaskbar="False" | ||
WindowStyle="None" | ||
ResizeMode="NoResize" | ||
Loaded="Window_Loaded"> | ||
<ui:UiWindow.ContextMenu> | ||
<ContextMenu> | ||
<MenuItem Header="_Bold" | ||
IsCheckable="True"/> | ||
<MenuItem Header="_Italic" | ||
IsCheckable="True" /> | ||
<MenuItem x:Name="VersionMenuItem" IsEnabled="False" /> | ||
<Separator /> | ||
<MenuItem Header="I_ncrease Font Size" /> | ||
<MenuItem Header="_Decrease Font Size" /> | ||
<MenuItem x:Name="TestMenuItem" Header="test" IsCheckable="True" Click="TestMenuItem_Click" /> | ||
<MenuItem x:Name="RichPresenceMenuItem" Header="Discord Rich Presence" IsCheckable="True" Visibility="Collapsed" Click="RichPresenceMenuItem_Click" /> | ||
<MenuItem x:Name="ServerDetailsMenuItem" Header="See server details" Visibility="Collapsed" Click="ServerDetailsMenuItem_Click" /> | ||
<MenuItem x:Name="TestMenuItem" Header="Test" IsCheckable="True" Click="TestMenuItem_Click" /> | ||
</ContextMenu> | ||
</ui:UiWindow.ContextMenu> | ||
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> | ||
<!--<ProgressBar IsIndeterminate="True" />--> | ||
<TextBlock Margin="16" Text="if this stops spinning ur SCREWED!!!!!!!!!" /> | ||
<ui:ProgressRing Margin="16" IsIndeterminate="True" /> | ||
</StackPanel> | ||
</ui:UiWindow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters