Replaced effects with decorators.

Decorators should be way more flexible while beeing easy to use.
This commit is contained in:
DarthAffe committed 2017-09-05 13:44:23 +02:00
1 parent 1f3213fa73
commit 2086b3729d
38 files changed
+414 -552

No files matched your search

@@ -11,7 +11,7 @@ namespace RGB.NET.Brushes.Gradients
/// <summary>
/// Represents a basic gradient.
/// </summary>
public abstract class AbstractGradient : IGradient
public abstract class AbstractGradient : AbstractDecoratable<IGradientDecorator>, IGradient
{
#region Properties & Fields
+1 -1
View File
@@ -5,7 +5,7 @@ namespace RGB.NET.Brushes.Gradients
/// <summary>
/// Represents a basic gradient.
/// </summary>
public interface IGradient
public interface IGradient : IDecoratable<IGradientDecorator>
{
/// <summary>
/// Gets the <see cref="Color"/> of the <see cref="IGradient"/> on the specified offset.
+1 -1
View File
@@ -9,7 +9,7 @@ namespace RGB.NET.Brushes.Gradients
/// Represents a rainbow gradient which circles through all colors of the HUE-color-space.<br />
/// See <see href="http://upload.wikimedia.org/wikipedia/commons/a/ad/HueScale.svg" /> as reference.
/// </summary>
public class RainbowGradient : IGradient
public class RainbowGradient : AbstractDecoratable<IGradientDecorator>, IGradient
{
#region Properties & Fields