Added missing comments

This commit is contained in:
DarthAffe committed 2016-08-21 20:06:02 +02:00
1 parent 8d32c73b6d
commit 0fc32243c8
12 files changed
+92 -2

No files matched your search

+1
View File
@@ -74,6 +74,7 @@ namespace CUE.NET.Brushes
foreach (BrushRenderTarget point in renderTargets)
RenderedTargets[point] = GetColorAtPoint(rectangle, point);
}
/// <summary>
/// Performs the finalize pass of the brush and calculates the final colors for all previously calculated points.
/// </summary>
+14
View File
@@ -6,18 +6,32 @@ using CUE.NET.Devices.Keyboard.Enums;
namespace CUE.NET.Brushes
{
/// <summary>
/// Represents a single target of a brush render.
/// </summary>
public class BrushRenderTarget
{
#region Properties & Fields
/// <summary>
/// Gets the id of the target-key.
/// </summary>
public CorsairKeyboardKeyId Key { get; }
/// <summary>
/// Gets the point representing the position to render the target-key.
/// </summary>
public PointF Point { get; }
#endregion
#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="BrushRenderTarget"/> class.
/// </summary>
/// <param name="key">The id of the target-key.</param>
/// <param name="point">The point representing the position to render the target-key.</param>
public BrushRenderTarget(CorsairKeyboardKeyId key, PointF point)
{
this.Point = point;
+3
View File
@@ -39,6 +39,9 @@ namespace CUE.NET.Brushes
#region Properties & Fields
/// <summary>
/// Gets the strongly-typed target used for the effect.
/// </summary>
protected override IBrush EffectTarget => this;
/// <summary>
+3
View File
@@ -18,6 +18,9 @@ namespace CUE.NET.Brushes
{
#region Properties & Fields
/// <summary>
/// Gets the strongly-typed target used for the effect.
/// </summary>
protected override IBrush EffectTarget => this;
/// <summary>
+3
View File
@@ -12,6 +12,9 @@ namespace CUE.NET.Brushes
{
#region Properties & Fields
/// <summary>
/// Gets the strongly-typed target used for the effect.
/// </summary>
protected override IBrush EffectTarget => this;
private Dictionary<CorsairKeyboardKeyId, Color> _keyLights;
+3
View File
@@ -16,6 +16,9 @@ namespace CUE.NET.Brushes
{
#region Properties & Fields
/// <summary>
/// Gets the strongly-typed target used for the effect.
/// </summary>
protected override IBrush EffectTarget => this;
/// <summary>
+3
View File
@@ -15,6 +15,9 @@ namespace CUE.NET.Brushes
{
#region Properties & Fields
/// <summary>
/// Gets the strongly-typed target used for the effect.
/// </summary>
protected override IBrush EffectTarget => this;
private Random _random = new Random();
+3
View File
@@ -12,6 +12,9 @@ namespace CUE.NET.Brushes
{
#region Properties & Fields
/// <summary>
/// Gets the strongly-typed target used for the effect.
/// </summary>
protected override IBrush EffectTarget => this;
/// <summary>