Fixed some basic stuff and added images to devices

This commit is contained in:
DarthAffe committed 2017-01-29 20:07:11 +01:00
1 parent 2678d3f56d
commit 2d42bd85fc
12 files changed
+63 -25

No files matched your search

@@ -19,9 +19,6 @@ namespace RGB.NET.Devices.Corsair
/// </summary>
public override IRGBDeviceInfo DeviceInfo { get; }
/// <inheritdoc />
protected override Size InternalSize { get; set; }
#endregion
#region Constructors
@@ -45,7 +42,7 @@ namespace RGB.NET.Devices.Corsair
internal void Initialize()
{
InitializeLeds();
Rectangle ledRectangle = new Rectangle(this.Select(x => x.LedRectangle));
InternalSize = ledRectangle.Size + new Size(ledRectangle.Location.X, ledRectangle.Location.Y);
}
@@ -31,6 +31,9 @@ namespace RGB.NET.Devices.Corsair
/// <inheritdoc />
public string Model { get; }
/// <inheritdoc />
public Uri Image { get; protected set; }
/// <summary>
/// Gets a flag that describes device capabilities. (<see cref="CorsairDeviceCaps" />)
/// </summary>