From 7c02e210108003913dfc77a001f546bb0617dba8 Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 13 Jul 2017 19:13:35 -0500 Subject: pixel perfected:tm: calculator --- TimeHACK.Engine/Paintbrush.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'TimeHACK.Engine') diff --git a/TimeHACK.Engine/Paintbrush.cs b/TimeHACK.Engine/Paintbrush.cs index 1b442bc..96d324d 100644 --- a/TimeHACK.Engine/Paintbrush.cs +++ b/TimeHACK.Engine/Paintbrush.cs @@ -19,5 +19,14 @@ namespace TimeHACK.Engine SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset, SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset); } + + public static void PaintClassicBordersIndented(object sender, PaintEventArgs e, int borderwidth) + { + ControlPaint.DrawBorder(e.Graphics, ((Control)sender).ClientRectangle, + SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Inset, + SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Inset, + SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Inset, + SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Inset); + } } } -- cgit v1.2.3