From 609deb1c4e9bdae400e92a008b99f9cc62b4f9c8 Mon Sep 17 00:00:00 2001 From: lempamo Date: Wed, 25 Oct 2017 00:18:50 -0400 Subject: [PATCH] close buttons glow when moused over in xp --- Histacom2.Engine/Histacom2.Engine.csproj | 2 ++ .../Properties/Resources.Designer.cs | 20 ++++++++++++++++++ Histacom2.Engine/Properties/Resources.resx | 6 ++++++ .../WinXP/Window/WinXP_CloseHover.png | Bin 0 -> 1140 bytes .../WinXP/Window/WinXP_ClosePress.png | Bin 0 -> 984 bytes Histacom2.Engine/Template/WinXP.Designer.cs | 16 +++++++++----- Histacom2.Engine/Template/WinXP.cs | 15 +++++++++++++ Histacom2.Engine/WindowManager.cs | 2 +- 8 files changed, 55 insertions(+), 6 deletions(-) create mode 100644 Histacom2.Engine/Resources/WinXP/Window/WinXP_CloseHover.png create mode 100644 Histacom2.Engine/Resources/WinXP/Window/WinXP_ClosePress.png diff --git a/Histacom2.Engine/Histacom2.Engine.csproj b/Histacom2.Engine/Histacom2.Engine.csproj index 3dee2f9..6abc85d 100644 --- a/Histacom2.Engine/Histacom2.Engine.csproj +++ b/Histacom2.Engine/Histacom2.Engine.csproj @@ -221,6 +221,8 @@ + + diff --git a/Histacom2.Engine/Properties/Resources.Designer.cs b/Histacom2.Engine/Properties/Resources.Designer.cs index 4fd3960..2702b7c 100644 --- a/Histacom2.Engine/Properties/Resources.Designer.cs +++ b/Histacom2.Engine/Properties/Resources.Designer.cs @@ -1160,6 +1160,26 @@ public static System.Drawing.Bitmap WinXP_Close { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap WinXP_CloseHover { + get { + object obj = ResourceManager.GetObject("WinXP_CloseHover", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap WinXP_ClosePress { + get { + object obj = ResourceManager.GetObject("WinXP_ClosePress", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/Histacom2.Engine/Properties/Resources.resx b/Histacom2.Engine/Properties/Resources.resx index bcc179d..e41840c 100644 --- a/Histacom2.Engine/Properties/Resources.resx +++ b/Histacom2.Engine/Properties/Resources.resx @@ -499,4 +499,10 @@ ..\resources\win95plustravelwallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\WinXP\Window\WinXP_CloseHover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\WinXP\Window\WinXP_ClosePress.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/Histacom2.Engine/Resources/WinXP/Window/WinXP_CloseHover.png b/Histacom2.Engine/Resources/WinXP/Window/WinXP_CloseHover.png new file mode 100644 index 0000000000000000000000000000000000000000..74c16383d339f125ea276852d13b74e87b9778fd GIT binary patch literal 1140 zcmV-)1dIELP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D02y>eSaefwW^{L9 za%BK;VQFr3E^cLXAT%y8E-^MlX|MGF00ZPnL_t(IPpy^fPupb_$N78o1#T#dII|&$ zvcs*%SwS&x-vE>mr{o7V2oQFD&vJSP7|}}3;he0h?^v!$SRtcXkwx;<_4Jc z^6@;+1KZEbJ3Yxso9FlI=Q-zlF3oUi~RpRKUZMN!Wm+As9RZeLe_yNVZq8Ra3~9uViVQfku1b!zBa!VDTwX zNirdljQ1H?h5~TDLtv*N=oMKS!T&l*k>Y-B5qAo*HO@fQtxI!o<88P;OCpib$6V?+ z>4v)xG!}i8t^!h~-)ku+=`CZsu9&;F7xlS;s@tzk!n@N(ORF75ry}dF2VeEUg9G!H zk`mvpFXk(Ijy^I_CAdm;{*q{T5w48r<0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