aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-07-02 16:10:38 +0100
committerAlex-TIMEHACK <[email protected]>2017-07-02 16:10:38 +0100
commit9d4a384d899702c01443872b75d182e810e3dac1 (patch)
tree3633465b1a52c525d292cccf5765abc4af4c6902 /TimeHACK.Engine
parentda6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b (diff)
parent69ae842e6e3193a27b0294f92784ef97eb69fb37 (diff)
downloadhistacom2-9d4a384d899702c01443872b75d182e810e3dac1.tar.gz
histacom2-9d4a384d899702c01443872b75d182e810e3dac1.tar.bz2
histacom2-9d4a384d899702c01443872b75d182e810e3dac1.zip
Updated!
# Conflicts: # TimeHACK.Main/OS/Win95/Win95.Designer.cs # TimeHACK.Main/OS/Win95/Win95.cs # TimeHACK.Main/Properties/Resources.resx # TimeHACK.Main/TimeHACK.Main.csproj
Diffstat (limited to 'TimeHACK.Engine')
-rw-r--r--TimeHACK.Engine/Paintbrush.cs23
-rw-r--r--TimeHACK.Engine/TimeHACK.Engine.csproj1
2 files changed, 24 insertions, 0 deletions
diff --git a/TimeHACK.Engine/Paintbrush.cs b/TimeHACK.Engine/Paintbrush.cs
new file mode 100644
index 0000000..b343100
--- /dev/null
+++ b/TimeHACK.Engine/Paintbrush.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace TimeHACK.Engine
+{
+ public class Paintbrush
+ {
+
+ public static void paintClassicBorders(object sender, PaintEventArgs e, int borderwidth)
+ {
+ ControlPaint.DrawBorder(e.Graphics, ((Control)sender).ClientRectangle,
+ SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset,
+ SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset,
+ SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset,
+ SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset);
+ }
+ }
+}
diff --git a/TimeHACK.Engine/TimeHACK.Engine.csproj b/TimeHACK.Engine/TimeHACK.Engine.csproj
index fef9500..3043220 100644
--- a/TimeHACK.Engine/TimeHACK.Engine.csproj
+++ b/TimeHACK.Engine/TimeHACK.Engine.csproj
@@ -50,6 +50,7 @@
<None Include="Resources\WinClassic\Window\pjBg6mKP.bin" />
<Compile Include="FileAssociation.cs" />
<Compile Include="FileDialogBoxManager.cs" />
+ <Compile Include="Paintbrush.cs" />
<Compile Include="SaveSystem.cs" />
<Compile Include="TaskBarController.cs" />
<Compile Include="Template\Win9XBSOD.cs">