mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-11 21:16:24 +00:00
Changed color-control to brushes, improved keygroups
This commit is contained in:
1 parent
02aaf24c41
commit
0a47642c38
11 files changed
+106
-73
No files matched your search
@@ -4,6 +4,6 @@ namespace CUE.NET.Devices.Keyboard.ColorBrushes
|
||||
{
|
||||
public interface IBrush
|
||||
{
|
||||
Color GetColorAtPoint(Point point);
|
||||
Color GetColorAtPoint(RectangleF rectangle, PointF point);
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,7 @@ namespace CUE.NET.Devices.Keyboard.ColorBrushes
|
||||
|
||||
#region Methods
|
||||
|
||||
public Color GetColorAtPoint(Point point)
|
||||
public Color GetColorAtPoint(RectangleF rectangle, PointF point)
|
||||
{
|
||||
return Color; // A solid color brush returns the same color no matter the point
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user