aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-01 23:02:34 -0400
committerlempamo <[email protected]>2017-07-01 23:02:34 -0400
commit82af186d5140e878f6b49bc101112550d36bc78a (patch)
treee533069e097f4da27a73ef5409f44af4b07a92a0 /TimeHACK.Engine
parentc75aea5a35405b81de4f9ee679ed415cdc0fdeef (diff)
downloadhistacom2-82af186d5140e878f6b49bc101112550d36bc78a.tar.gz
histacom2-82af186d5140e878f6b49bc101112550d36bc78a.tar.bz2
histacom2-82af186d5140e878f6b49bc101112550d36bc78a.zip
classic buttons are here
Diffstat (limited to 'TimeHACK.Engine')
-rw-r--r--TimeHACK.Engine/Paintbrush.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/TimeHACK.Engine/Paintbrush.cs b/TimeHACK.Engine/Paintbrush.cs
index 9b94ad8..b343100 100644
--- a/TimeHACK.Engine/Paintbrush.cs
+++ b/TimeHACK.Engine/Paintbrush.cs
@@ -10,16 +10,9 @@ namespace TimeHACK.Engine
{
public class Paintbrush
{
- public enum BGStyle
- {
- NoChange,
- Silver,
- XP
- }
- public static void paintClassicBorders(object sender, PaintEventArgs e, int borderwidth, BGStyle bg)
+ public static void paintClassicBorders(object sender, PaintEventArgs e, int borderwidth)
{
- ((Control)sender).BackColor = Color.Silver;
ControlPaint.DrawBorder(e.Graphics, ((Control)sender).ClientRectangle,
SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset,
SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset,