Data bindings - Highlight current property

Data bindings - Disable data-bound property inputs
Data bindings - Use toggle to indicate data bindings being enabled
This commit is contained in:
SpoinkyNL committed 2020-09-15 23:18:21 +02:00
1 parent 0c25d0bbec
commit d788183f25
29 files changed
+295 -58

No files matched your search

@@ -27,6 +27,16 @@ namespace Artemis.Core
);
}
public static SKColor Sum(this SKColor a, SKColor b)
{
return new SKColor(
ClampToByte(a.Red + b.Red),
ClampToByte(a.Green + b.Green),
ClampToByte(a.Blue + b.Blue),
ClampToByte(a.Alpha + b.Alpha)
);
}
private static byte ClampToByte(float value)
{
return (byte) Math.Clamp(value, 0, 255);