From 5310862c7b3171b32bfd2c7b92d75382efb4336a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaro=20Mart=C3=ADnez?= Date: Fri, 26 Nov 2021 14:08:53 -0500 Subject: [PATCH] Add menu items: Show Desktop, Cascade/Tile, Undo --- RetroBar/Controls/Clock.xaml | 2 + RetroBar/Controls/Clock.xaml.cs | 5 - RetroBar/Controls/ShowDesktopButton.xaml.cs | 2 +- RetroBar/Controls/TaskButton.xaml | 2 +- RetroBar/PropertiesWindow.xaml | 14 +- RetroBar/PropertiesWindow.xaml.cs | 12 +- RetroBar/Taskbar.xaml | 31 ++++ RetroBar/Taskbar.xaml.cs | 84 +++++------ RetroBar/Utilities/WindowTiler.cs | 150 ++++++++++++++++++++ 9 files changed, 234 insertions(+), 68 deletions(-) create mode 100644 RetroBar/Utilities/WindowTiler.cs diff --git a/RetroBar/Controls/Clock.xaml b/RetroBar/Controls/Clock.xaml index d6fb608a..7c636318 100644 --- a/RetroBar/Controls/Clock.xaml +++ b/RetroBar/Controls/Clock.xaml @@ -3,6 +3,8 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" MouseLeftButtonDown="Clock_OnMouseLeftButtonDown" MouseDoubleClick="Clock_OnMouseDoubleClick" + Loaded="UserControl_Loaded" + Unloaded="UserControl_Unloaded" Template="{DynamicResource ClockTemplateKey}"> - + \ No newline at end of file diff --git a/RetroBar/PropertiesWindow.xaml b/RetroBar/PropertiesWindow.xaml index e6b074f3..29d58309 100644 --- a/RetroBar/PropertiesWindow.xaml +++ b/RetroBar/PropertiesWindow.xaml @@ -178,7 +178,7 @@ + SelectionChanged="CboLanguageSelect_SelectionChanged" /> - @@ -198,7 +198,7 @@ + SelectionChanged="CboEdgeSelect_SelectionChanged" />