Added Lighting capabilities to deviceinfo

This commit is contained in:
DarthAffe committed 2017-01-31 20:23:01 +01:00
1 parent 3554c274b9
commit 68488a7d18
4 files changed
+12 -5

No files matched your search

+5
View File
@@ -24,6 +24,11 @@ namespace RGB.NET.Core
/// </summary>
string Model { get; }
/// <summary>
/// Gets the lighting capability of the <see cref="IRGBDevice"/>
/// </summary>
RGBDeviceLighting Lighting { get; }
/// <summary>
/// Gets the URI of an image of the <see cref="IRGBDevice"/> or null if there is no image.
/// </summary>
+2 -2
View File
@@ -33,10 +33,10 @@ namespace RGB.NET.Core.Layout
public RGBDeviceType Type { get; set; }
/// <summary>
/// Gets or sets the <see cref="LayoutLighting"/> of the <see cref="DeviceLayout"/>.
/// Gets or sets the <see cref="RGBDeviceLighting"/> of the <see cref="DeviceLayout"/>.
/// </summary>
[XmlElement("Lighting")]
public LayoutLighting Lighting { get; set; }
public RGBDeviceLighting Lighting { get; set; }
/// <summary>
/// Gets or sets the vendor of the <see cref="DeviceLayout"/>.
@@ -1,9 +1,11 @@
namespace RGB.NET.Core.Layout
using RGB.NET.Core.Layout;
namespace RGB.NET.Core
{
/// <summary>
/// Contains a list of different lightning-modes used by <see cref="DeviceLayout"/>.
/// </summary>
public enum LayoutLighting
public enum RGBDeviceLighting
{
/// <summary>
/// The <see cref="IRGBDevice"/> supports per-key-lightning.
+1 -1
View File
@@ -48,7 +48,7 @@
<Compile Include="Brushes\IBrush.cs" />
<Compile Include="ColorCorrection\IColorCorrection.cs" />
<Compile Include="Devices\AbstractRGBDevice.cs" />
<Compile Include="Devices\Layout\LayoutLighting.cs" />
<Compile Include="Devices\RGBDeviceLighting.cs" />
<Compile Include="Devices\Layout\LayoutShape.cs" />
<Compile Include="Devices\Layout\LedLayout.cs" />
<Compile Include="Devices\Layout\DeviceLayout.cs" />