From 453dc4d68195303a3f35a8ac2d8b627fe40564bb Mon Sep 17 00:00:00 2001 From: narzoul Date: Thu, 31 Dec 2020 18:17:17 +0100 Subject: [PATCH] Renamed PaintHandlers to User32WndProcs --- DDrawCompat/DDrawCompat.vcxproj | 4 ++-- DDrawCompat/DDrawCompat.vcxproj.filters | 12 ++++++------ DDrawCompat/Gdi/Gdi.cpp | 4 ++-- .../Gdi/{PaintHandlers.cpp => User32WndProcs.cpp} | 4 ++-- .../Gdi/{PaintHandlers.h => User32WndProcs.h} | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) rename DDrawCompat/Gdi/{PaintHandlers.cpp => User32WndProcs.cpp} (99%) rename DDrawCompat/Gdi/{PaintHandlers.h => User32WndProcs.h} (70%) diff --git a/DDrawCompat/DDrawCompat.vcxproj b/DDrawCompat/DDrawCompat.vcxproj index 5bbb9ae..8d80be5 100644 --- a/DDrawCompat/DDrawCompat.vcxproj +++ b/DDrawCompat/DDrawCompat.vcxproj @@ -221,7 +221,7 @@ - + @@ -294,7 +294,7 @@ - + diff --git a/DDrawCompat/DDrawCompat.vcxproj.filters b/DDrawCompat/DDrawCompat.vcxproj.filters index bad23fa..d4ec640 100644 --- a/DDrawCompat/DDrawCompat.vcxproj.filters +++ b/DDrawCompat/DDrawCompat.vcxproj.filters @@ -96,9 +96,6 @@ Header Files\Gdi - - Header Files\Gdi - Header Files\Gdi @@ -399,6 +396,9 @@ Header Files\Common + + Header Files\Gdi + @@ -416,9 +416,6 @@ Source Files\Gdi - - Source Files\Gdi - Source Files\Gdi @@ -614,5 +611,8 @@ Source Files\Win32 + + Source Files\Gdi + \ No newline at end of file diff --git a/DDrawCompat/Gdi/Gdi.cpp b/DDrawCompat/Gdi/Gdi.cpp index 7a0e644..e1a1a67 100644 --- a/DDrawCompat/Gdi/Gdi.cpp +++ b/DDrawCompat/Gdi/Gdi.cpp @@ -5,9 +5,9 @@ #include #include #include -#include #include #include +#include #include #include @@ -37,9 +37,9 @@ namespace Gdi void installHooks() { DcFunctions::installHooks(); - PaintHandlers::installHooks(); Palette::installHooks(); ScrollFunctions::installHooks(); + User32WndProcs::installHooks(); Window::installHooks(); WinProc::installHooks(); Caret::installHooks(); diff --git a/DDrawCompat/Gdi/PaintHandlers.cpp b/DDrawCompat/Gdi/User32WndProcs.cpp similarity index 99% rename from DDrawCompat/Gdi/PaintHandlers.cpp rename to DDrawCompat/Gdi/User32WndProcs.cpp index 44cd9e3..596f69c 100644 --- a/DDrawCompat/Gdi/PaintHandlers.cpp +++ b/DDrawCompat/Gdi/User32WndProcs.cpp @@ -2,10 +2,10 @@ #include #include -#include #include #include #include +#include #include #include @@ -574,7 +574,7 @@ namespace namespace Gdi { - namespace PaintHandlers + namespace User32WndProcs { void installHooks() { diff --git a/DDrawCompat/Gdi/PaintHandlers.h b/DDrawCompat/Gdi/User32WndProcs.h similarity index 70% rename from DDrawCompat/Gdi/PaintHandlers.h rename to DDrawCompat/Gdi/User32WndProcs.h index f87ae1d..25a0e7a 100644 --- a/DDrawCompat/Gdi/PaintHandlers.h +++ b/DDrawCompat/Gdi/User32WndProcs.h @@ -2,7 +2,7 @@ namespace Gdi { - namespace PaintHandlers + namespace User32WndProcs { void installHooks(); }