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
27 lines
955 B
C#
27 lines
955 B
C#
using Artemis.UI.Screens.Settings.Tabs.About;
|
|
using Artemis.UI.Screens.Settings.Tabs.Devices;
|
|
using Artemis.UI.Screens.Settings.Tabs.General;
|
|
using Artemis.UI.Screens.Settings.Tabs.Plugins;
|
|
using Stylet;
|
|
|
|
namespace Artemis.UI.Screens.Settings
|
|
{
|
|
public class SettingsViewModel : Conductor<Screen>.Collection.OneActive, IMainScreenViewModel
|
|
{
|
|
public SettingsViewModel(
|
|
GeneralSettingsTabViewModel generalSettingsTabViewModel,
|
|
PluginSettingsTabViewModel pluginSettingsTabViewModel,
|
|
DeviceSettingsTabViewModel deviceSettingsTabViewModel,
|
|
AboutTabViewModel aboutTabViewModel)
|
|
{
|
|
DisplayName = "Settings";
|
|
|
|
Items.Add(generalSettingsTabViewModel);
|
|
Items.Add(pluginSettingsTabViewModel);
|
|
Items.Add(deviceSettingsTabViewModel);
|
|
Items.Add(aboutTabViewModel);
|
|
|
|
ActiveItem = generalSettingsTabViewModel;
|
|
}
|
|
}
|
|
} |