From e99433e1932c780c6b369ed656c26a11da41fe73 Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 26 Oct 2017 00:03:57 -0400 Subject: more hack4 stuff --- Histacom2.Engine/Paintbrush.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Histacom2.Engine/Paintbrush.cs') diff --git a/Histacom2.Engine/Paintbrush.cs b/Histacom2.Engine/Paintbrush.cs index cab493a..923d836 100644 --- a/Histacom2.Engine/Paintbrush.cs +++ b/Histacom2.Engine/Paintbrush.cs @@ -46,6 +46,11 @@ namespace Histacom2.Engine e.Graphics.DrawLine(new Pen(foreColor), 4, height / 2, width - 4, height / 2); } + /// + /// Get a color lighter than the input color. + /// + /// The color to lighten. + /// public static Color GetLightFromColor(Color basecolor) { if (basecolor == Color.Silver) return Color.White; -- cgit v1.2.3