1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 17:48:31 +00:00

Added Lighting capabilities to deviceinfo

This commit is contained in:
Darth Affe 2017-01-31 20:23:01 +01:00
parent 3554c274b9
commit 68488a7d18
4 changed files with 12 additions and 5 deletions

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>

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"/>.

View File

@ -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.

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" />