aboutsummaryrefslogtreecommitdiff
path: root/Histacom2.Engine/Paintbrush.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-11-04 09:50:43 +0000
committerAlex-TIMEHACK <[email protected]>2017-11-04 09:50:43 +0000
commitf933ce9b841a5f302066336877f86119de034eb4 (patch)
tree50e23551bae5ade3a263d9c1c054fb326a7ab5a6 /Histacom2.Engine/Paintbrush.cs
parent6ab1468786f1e865e9ff408d32149f9c9620d844 (diff)
parent382f0167714bbcad00ab710fe7dcfa05eaeb88ac (diff)
downloadhistacom2-f933ce9b841a5f302066336877f86119de034eb4.tar.gz
histacom2-f933ce9b841a5f302066336877f86119de034eb4.tar.bz2
histacom2-f933ce9b841a5f302066336877f86119de034eb4.zip
Updated my fork!
Conflicts: Histacom2/TitleScreen.Designer.cs Histacom2/TitleScreen.cs
Diffstat (limited to 'Histacom2.Engine/Paintbrush.cs')
-rw-r--r--Histacom2.Engine/Paintbrush.cs5
1 files changed, 5 insertions, 0 deletions
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);
}
+ /// <summary>
+ /// Get a color lighter than the input color.
+ /// </summary>
+ /// <param name="basecolor">The color to lighten.</param>
+ /// <returns></returns>
public static Color GetLightFromColor(Color basecolor)
{
if (basecolor == Color.Silver) return Color.White;