From d53fb94e4cf41685745674e339f6f33c4c8e1bd3 Mon Sep 17 00:00:00 2001 From: Grayson Riffe Date: Sat, 8 Feb 2025 03:11:12 -0600 Subject: [PATCH] Enable visual styles --- NothinFancy/src/Engine.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NothinFancy/src/Engine.cpp b/NothinFancy/src/Engine.cpp index 8586a3b..d3540f7 100644 --- a/NothinFancy/src/Engine.cpp +++ b/NothinFancy/src/Engine.cpp @@ -6,6 +6,11 @@ #include "util.h" #include "client/Client.h" +// Enable visual styles for error boxes +#pragma comment(linker,"\"/manifestdependency:type='win32' \ +name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ +processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") + namespace nf { void runEngine(ClientConfig config) { std::string engineStr = std::format("Nothin' Fancy {}", NFVERSION);