Added GDI-based rendering test

This commit is contained in:
SpoinkyNL committed 2018-04-15 18:41:31 +02:00
1 parent 610b45e017
commit 60544e7814
21 files changed
+382 -111

No files matched your search

+3 -2
View File
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Drawing;
using Artemis.Core.ProfileElements.Interfaces;
using Artemis.Core.Services.Interfaces;
using Artemis.Storage.Entities;
@@ -26,11 +27,11 @@ namespace Artemis.Core.ProfileElements
profileElement.Update(deltaTime);
}
public void Render(double deltaTime, RGBSurface surface)
public void Render(double deltaTime, RGBSurface surface, Graphics graphics)
{
// Folders don't render but their children do
foreach (var profileElement in Children)
profileElement.Render(deltaTime, surface);
profileElement.Render(deltaTime, surface, graphics);
}
public static Folder FromFolderEntity(Profile profile, FolderEntity folderEntity, IPluginService pluginService)