mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Modules - Ordering WIP
This commit is contained in:
1 parent
d62d389d9f
commit
bfb122e95a
21 files changed
+535
-45
No files matched your search
@@ -10,7 +10,7 @@ namespace Artemis.UI.Screens.Settings.Tabs.Modules
|
||||
{
|
||||
private readonly IPluginService _pluginService;
|
||||
|
||||
public ModuleOrderTabViewModel(IPluginService pluginService)
|
||||
public ModuleOrderTabViewModel(IPluginService pluginService, IModuleService moduleService)
|
||||
{
|
||||
DisplayName = "MODULE PRIORITY";
|
||||
|
||||
@@ -18,12 +18,17 @@ namespace Artemis.UI.Screens.Settings.Tabs.Modules
|
||||
NormalModules = new BindableCollection<Core.Plugins.Modules.Module>();
|
||||
ApplicationModules = new BindableCollection<Core.Plugins.Modules.Module>();
|
||||
OverlayModules = new BindableCollection<Core.Plugins.Modules.Module>();
|
||||
|
||||
ModulesDropHandler = new ModulesDropHandler(moduleService, NormalModules, ApplicationModules, OverlayModules);
|
||||
}
|
||||
|
||||
public BindableCollection<Core.Plugins.Modules.Module> NormalModules { get; set; }
|
||||
public BindableCollection<Core.Plugins.Modules.Module> ApplicationModules { get; set; }
|
||||
public BindableCollection<Core.Plugins.Modules.Module> OverlayModules { get; set; }
|
||||
|
||||
public ModulesDropHandler ModulesDropHandler { get; }
|
||||
|
||||
|
||||
protected override void OnActivate()
|
||||
{
|
||||
// Take it off the UI thread to avoid freezing on tab change
|
||||
|
||||
Reference in new issue
Block a user