mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
33 lines
821 B
C#
33 lines
821 B
C#
using System.Collections.Generic;
|
|
using RGB.NET.Core;
|
|
|
|
namespace Artemis.Core.ProfileElements.Interfaces
|
|
{
|
|
public interface IProfileElement
|
|
{
|
|
/// <summary>
|
|
/// The element's children
|
|
/// </summary>
|
|
List<IProfileElement> Children { get; set; }
|
|
|
|
/// <summary>
|
|
/// The order in which this element appears in the update loop and editor
|
|
/// </summary>
|
|
int Order { get; set; }
|
|
|
|
/// <summary>
|
|
/// The name which appears in the editor
|
|
/// </summary>
|
|
string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Updates the element
|
|
/// </summary>
|
|
void Update();
|
|
|
|
/// <summary>
|
|
/// Renders the element
|
|
/// </summary>
|
|
void Render(IRGBDevice rgbDevice);
|
|
}
|
|
} |