diff --git a/src/Artemis.UI/App.xaml b/src/Artemis.UI/App.xaml
index bcd49c34f..ae724e222 100644
--- a/src/Artemis.UI/App.xaml
+++ b/src/Artemis.UI/App.xaml
@@ -24,6 +24,9 @@
+
+
+
diff --git a/src/Artemis.UI/Screens/Home/HomeView.xaml b/src/Artemis.UI/Screens/Home/HomeView.xaml
index 71cd26300..23ffe9d24 100644
--- a/src/Artemis.UI/Screens/Home/HomeView.xaml
+++ b/src/Artemis.UI/Screens/Home/HomeView.xaml
@@ -70,9 +70,8 @@
-
-
+ If you need help, have some feedback or have any other questions feel free to contact us through any of the
+ following channels.
+ CommandParameter="https://github.com/Artemis-RGB/Artemis">
GitHub
@@ -94,11 +93,11 @@
+ x:Name="WebsiteButton" Command="{s:Action OpenUrl}"
+ CommandParameter="https://artemis-rgb.com">
-
- Twitter
+
+ Website
-
-
+ This project is completely open source. If you like it and want to say thanks you could hit the GitHub Star button,
+ I like numbers. You could even make plugins, there's a full documentation on the website
Donate
-
-
-
+
+ Feel like you want to make a donation? It would be gratefully received. Click the button to donate via PayPal.
diff --git a/src/Artemis.UI/Screens/RootView.xaml b/src/Artemis.UI/Screens/RootView.xaml
index 42594df85..b59cd308e 100644
--- a/src/Artemis.UI/Screens/RootView.xaml
+++ b/src/Artemis.UI/Screens/RootView.xaml
@@ -65,7 +65,13 @@
Title="{Binding ActiveItem.DisplayName}"
ShowNavigationDrawerButton="True"
DockPanel.Dock="Top">
-
+
+
+
_windowSize;
private bool _activeItemReady;
private bool _lostFocus;
private ISnackbarMessageQueue _mainMessageQueue;
private string _windowTitle;
+ private string _frameTime;
public RootViewModel(
IEventAggregator eventAggregator,
@@ -52,7 +53,7 @@ namespace Artemis.UI.Screens
_builtInRegistrationService = builtInRegistrationService;
_snackbarMessageQueue = snackbarMessageQueue;
- _titleUpdateTimer = new Timer(500);
+ _frameTimeUpdateTimer = new Timer(500);
_colorScheme = settingsService.GetSetting("UI.ColorScheme", ApplicationColorScheme.Automatic);
_windowSize = settingsService.GetSetting("UI.RootWindowSize");
@@ -62,6 +63,9 @@ namespace Artemis.UI.Screens
ActiveItem = SidebarViewModel.SelectedItem;
ActiveItemReady = true;
+
+ var versionAttribute = typeof(RootViewModel).Assembly.GetCustomAttribute();
+ WindowTitle = $"Artemis {versionAttribute?.InformationalVersion}";
}
public SidebarViewModel SidebarViewModel { get; }
@@ -84,6 +88,12 @@ namespace Artemis.UI.Screens
set => SetAndNotify(ref _windowTitle, value);
}
+ public string FrameTime
+ {
+ get => _frameTime;
+ set => SetAndNotify(ref _frameTime, value);
+ }
+
public void WindowDeactivated()
{
var windowState = ((Window) View).WindowState;
@@ -129,12 +139,12 @@ namespace Artemis.UI.Screens
}
- private void UpdateWindowTitle()
+ private void UpdateFrameTime()
{
- var versionAttribute = typeof(RootViewModel).Assembly.GetCustomAttribute();
- WindowTitle = $"Artemis {versionAttribute?.InformationalVersion} - Frame time: {_coreService.FrameTime.TotalMilliseconds:F2} ms";
+
+ FrameTime = $"Frame time: {_coreService.FrameTime.TotalMilliseconds:F2} ms";
}
-
+
private void SidebarViewModelOnPropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == nameof(SidebarViewModel.SelectedItem) && ActiveItem != SidebarViewModel.SelectedItem)
@@ -184,9 +194,9 @@ namespace Artemis.UI.Screens
extensionsPaletteHelper.SetLightDark(colorScheme == ApplicationColorScheme.Dark);
}
- private void OnTitleUpdateTimerOnElapsed(object sender, ElapsedEventArgs args)
+ private void OnFrameTimeUpdateTimerOnElapsed(object sender, ElapsedEventArgs args)
{
- UpdateWindowTitle();
+ UpdateFrameTime();
}
private void ThemeWatcherOnThemeChanged(object sender, WindowsThemeEventArgs e)
@@ -218,18 +228,18 @@ namespace Artemis.UI.Screens
protected override void OnActivate()
{
MainMessageQueue = _snackbarMessageQueue;
- UpdateWindowTitle();
+ UpdateFrameTime();
_builtInRegistrationService.RegisterBuiltInDataModelDisplays();
_builtInRegistrationService.RegisterBuiltInDataModelInputs();
_builtInRegistrationService.RegisterBuiltInPropertyEditors();
- _titleUpdateTimer.Elapsed += OnTitleUpdateTimerOnElapsed;
+ _frameTimeUpdateTimer.Elapsed += OnFrameTimeUpdateTimerOnElapsed;
_colorScheme.SettingChanged += ColorSchemeOnSettingChanged;
_themeWatcher.ThemeChanged += ThemeWatcherOnThemeChanged;
SidebarViewModel.PropertyChanged += SidebarViewModelOnPropertyChanged;
- _titleUpdateTimer.Start();
+ _frameTimeUpdateTimer.Start();
base.OnActivate();
}
@@ -241,14 +251,14 @@ namespace Artemis.UI.Screens
Keyboard.ClearFocus();
MainMessageQueue = null;
- _titleUpdateTimer.Stop();
+ _frameTimeUpdateTimer.Stop();
var window = (MaterialWindow) View;
_windowSize.Value ??= new WindowSize();
_windowSize.Value.ApplyFromWindow(window);
_windowSize.Save();
- _titleUpdateTimer.Elapsed -= OnTitleUpdateTimerOnElapsed;
+ _frameTimeUpdateTimer.Elapsed -= OnFrameTimeUpdateTimerOnElapsed;
_colorScheme.SettingChanged -= ColorSchemeOnSettingChanged;
_themeWatcher.ThemeChanged -= ThemeWatcherOnThemeChanged;
SidebarViewModel.PropertyChanged -= SidebarViewModelOnPropertyChanged;
diff --git a/src/Artemis.UI/Screens/Settings/Debug/Tabs/RenderDebugView.xaml b/src/Artemis.UI/Screens/Settings/Debug/Tabs/RenderDebugView.xaml
index 45b829da1..4e9519682 100644
--- a/src/Artemis.UI/Screens/Settings/Debug/Tabs/RenderDebugView.xaml
+++ b/src/Artemis.UI/Screens/Settings/Debug/Tabs/RenderDebugView.xaml
@@ -7,13 +7,18 @@
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800" d:DataContext="{d:DesignInstance local:RenderDebugViewModel}">
-
-
+
+
+
+
+
+
+
In this window you can view the inner workings of Artemis.
Please note that having this window open can have a performance impact on your system.
-
+
@@ -28,8 +33,8 @@
-
-
+
+
-
+
\ No newline at end of file
diff --git a/src/Artemis.UI/Screens/Settings/Tabs/Plugins/PluginSettingsViewModel.cs b/src/Artemis.UI/Screens/Settings/Tabs/Plugins/PluginSettingsViewModel.cs
index ab58491c8..f35cf5a68 100644
--- a/src/Artemis.UI/Screens/Settings/Tabs/Plugins/PluginSettingsViewModel.cs
+++ b/src/Artemis.UI/Screens/Settings/Tabs/Plugins/PluginSettingsViewModel.cs
@@ -199,6 +199,7 @@ namespace Artemis.UI.Screens.Settings.Tabs.Plugins
_pluginService.DisablePlugin(Plugin);
NotifyOfPropertyChange(nameof(IsEnabled));
+ NotifyOfPropertyChange(nameof(CanOpenSettings));
NotifyOfPropertyChange(nameof(RequiresRestart));
NotifyOfPropertyChange(nameof(DisplayLoadFailed));
}
diff --git a/src/Artemis.UI/Screens/SurfaceEditor/Visualization/SurfaceDeviceView.xaml b/src/Artemis.UI/Screens/SurfaceEditor/Visualization/SurfaceDeviceView.xaml
index 30d11658f..263c6ef50 100644
--- a/src/Artemis.UI/Screens/SurfaceEditor/Visualization/SurfaceDeviceView.xaml
+++ b/src/Artemis.UI/Screens/SurfaceEditor/Visualization/SurfaceDeviceView.xaml
@@ -25,13 +25,15 @@
+ Visibility="{Binding Device.RgbDevice.DeviceInfo.Image, ConverterParameter=Inverted, Converter={StaticResource NullToVisibilityConverter}}"
+ IsHitTestVisible="False"/>
+ TextAlignment="Center"
+ Visibility="{Binding Device.RgbDevice.DeviceInfo.Image, ConverterParameter=Inverted, Converter={StaticResource NullToVisibilityConverter}}"
+ IsHitTestVisible="False"/>
diff --git a/src/Plugins/Artemis.Plugins.Devices.Debug/Views/DebugConfigurationView.xaml b/src/Plugins/Artemis.Plugins.Devices.Debug/Views/DebugConfigurationView.xaml
index 8036e0ce6..369b42f2b 100644
--- a/src/Plugins/Artemis.Plugins.Devices.Debug/Views/DebugConfigurationView.xaml
+++ b/src/Plugins/Artemis.Plugins.Devices.Debug/Views/DebugConfigurationView.xaml
@@ -9,15 +9,19 @@
d:DesignHeight="450" d:DesignWidth="800">
+
-
+
Enter absolute paths to the device layout and choose the image layout you wish to test.
Please note that currently RGB.NET does not support changing devices on runtime and so any changes below won't be applied until you restart Artemis.
-
+
+
-
+
CANCEL
diff --git a/src/Plugins/Artemis.Plugins.Modules.Overlay/OverlayModule.cs b/src/Plugins/Artemis.Plugins.Modules.Overlay/OverlayModule.cs
index 15902d85b..a338d68d0 100644
--- a/src/Plugins/Artemis.Plugins.Modules.Overlay/OverlayModule.cs
+++ b/src/Plugins/Artemis.Plugins.Modules.Overlay/OverlayModule.cs
@@ -1,6 +1,4 @@
-using System;
-using System.IO;
-using Artemis.Core;
+using Artemis.Core;
using Artemis.Core.Modules;
using SkiaSharp;
@@ -15,20 +13,6 @@ namespace Artemis.Plugins.Modules.Overlay
DisplayName = "Overlay";
DisplayIcon = "ArrangeBringToFront";
DefaultPriorityCategory = ModulePriorityCategory.Overlay;
- UpdateDuringActivationOverride = false;
-
- ActivationRequirements.Add(new ProcessActivationRequirement("taskmgr"));
- ActivationRequirements.Add(new ProcessActivationRequirement("calc"));
- ActivationRequirements.Add(new ProcessActivationRequirement("mspaint")
- {
- Location = Path.Combine(Directory.GetParent(Environment.GetFolderPath(Environment.SpecialFolder.System)).FullName, "System32")
- });
-
- AddTimedUpdate(TimeSpan.FromSeconds(5), DelayedUpdate);
- }
-
- private void DelayedUpdate(double obj)
- {
}
// This is the end of your plugin life cycle.