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
32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
using System;
|
|
using Artemis.Core;
|
|
|
|
namespace Artemis.UI.Shared
|
|
{
|
|
/// <summary>
|
|
/// Provides data on profile related events raised by the profile editor
|
|
/// </summary>
|
|
public class ProfileConfigurationEventArgs : EventArgs
|
|
{
|
|
internal ProfileConfigurationEventArgs(ProfileConfiguration? profileConfiguration)
|
|
{
|
|
ProfileConfiguration = profileConfiguration;
|
|
}
|
|
|
|
internal ProfileConfigurationEventArgs(ProfileConfiguration? profileConfiguration, ProfileConfiguration? previousProfileConfiguration)
|
|
{
|
|
ProfileConfiguration = profileConfiguration;
|
|
PreviousProfileConfiguration = previousProfileConfiguration;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the profile the event was raised for
|
|
/// </summary>
|
|
public ProfileConfiguration? ProfileConfiguration { get; }
|
|
|
|
/// <summary>
|
|
/// If applicable, the previous active profile before the event was raised
|
|
/// </summary>
|
|
public ProfileConfiguration? PreviousProfileConfiguration { get; }
|
|
}
|
|
} |