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:
parent
3554c274b9
commit
68488a7d18
@ -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>
|
||||
|
||||
@ -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.
|
||||
@ -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" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user