mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 04:57:15 +00:00
Removed static RGBSurface and DeviceSpecialParts
This commit is contained in:
1 parent
53c4b8188d
commit
5bc945c4f7
15 files changed
+75
-190
No files matched your search
@@ -74,6 +74,14 @@ namespace RGB.NET.Decorators.Brush
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
public FlashDecorator(RGBSurface surface, bool updateIfDisabled = false)
|
||||
: base(surface, updateIfDisabled)
|
||||
{ }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Methods
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -45,7 +45,8 @@ namespace RGB.NET.Decorators.Gradient
|
||||
/// <see cref="T:RGB.NET.Brushes.Gradients.RainbowGradient" />: 1 unit = 1 degree.</param>
|
||||
/// <param name="direction">The direction the <see cref="T:RGB.NET.Brushes.Gradients.IGradient" /> is moved.
|
||||
/// True leads to an offset-increment (normaly moving to the right), false to an offset-decrement (normaly moving to the left).</param>
|
||||
public MoveGradientDecorator(double speed = 180.0, bool direction = true)
|
||||
public MoveGradientDecorator(RGBSurface surface, double speed = 180.0, bool direction = true)
|
||||
: base(surface)
|
||||
{
|
||||
this.Speed = speed;
|
||||
this.Direction = direction;
|
||||
|
||||
Reference in new issue
Block a user