aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
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);
+ }
}
}