mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Added UI elements borrowed from DarthAffe
Added a WIP of profile classes
This commit is contained in:
1 parent
4f146865a4
commit
6eefa733b4
23 files changed
+847
-108
No files matched your search
@@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
using Artemis.Core.ProfileElements.Interfaces;
|
||||
using RGB.NET.Core;
|
||||
|
||||
namespace Artemis.Core.ProfileElements
|
||||
{
|
||||
public class Folder : IProfileElement
|
||||
{
|
||||
public List<IProfileElement> Children { get; set; }
|
||||
|
||||
public void Update()
|
||||
{
|
||||
foreach (var profileElement in Children)
|
||||
profileElement.Update();
|
||||
}
|
||||
|
||||
public void Render(IRGBDevice rgbDevice)
|
||||
{
|
||||
foreach (var profileElement in Children)
|
||||
profileElement.Render(rgbDevice);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user