Made Device, DeviceLed and Surface implement INotifyPropertChange

This commit is contained in:
SpoinkyNL committed 2019-11-21 23:01:24 +01:00
1 parent 9f0d5fd7e0
commit 1935b72199
14 files changed
+107 -37

No files matched your search

+4 -1
View File
@@ -1,16 +1,19 @@
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing.Drawing2D;
using System.Linq;
using Artemis.Core.Extensions;
using Artemis.Core.Plugins.Abstract;
using Artemis.Storage.Entities.Surface;
using RGB.NET.Core;
using Stylet;
using Rectangle = System.Drawing.Rectangle;
namespace Artemis.Core.Models.Surface
{
public class Device
public class Device : PropertyChangedBase
{
internal Device(IRGBDevice rgbDevice, Plugin plugin, Surface surface)
{
+2 -1
View File
@@ -1,10 +1,11 @@
using System;
using RGB.NET.Core;
using Stylet;
using Rectangle = System.Drawing.Rectangle;
namespace Artemis.Core.Models.Surface
{
public class DeviceLed
public class DeviceLed : PropertyChangedBase
{
public DeviceLed(Led led, Device device)
{
+2 -1
View File
@@ -3,10 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using Artemis.Storage.Entities.Surface;
using RGB.NET.Core;
using Stylet;
namespace Artemis.Core.Models.Surface
{
public class Surface
public class Surface : PropertyChangedBase
{
internal Surface(RGBSurface rgbSurface, string name, double scale)
{