mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-12 05:28:14 +00:00
Fixed some basic stuff and added images to devices
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user