aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-13 19:13:35 -0500
committerlempamo <[email protected]>2017-07-13 19:13:35 -0500
commit7c02e210108003913dfc77a001f546bb0617dba8 (patch)
tree47483f2d12766475390f10f785de3dd0603fdd2a /TimeHACK.Engine
parent8f5ced0b128eddaf6656a417097fed13bc9aa2ef (diff)
downloadhistacom2-7c02e210108003913dfc77a001f546bb0617dba8.tar.gz
histacom2-7c02e210108003913dfc77a001f546bb0617dba8.tar.bz2
histacom2-7c02e210108003913dfc77a001f546bb0617dba8.zip
pixel perfected:tm: calculator
Diffstat (limited to 'TimeHACK.Engine')
-rw-r--r--TimeHACK.Engine/Paintbrush.cs9
1 files changed, 9 insertions, 0 deletions
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);
+ }
}
}