Subject: RE: Support system dark mode on Windows 10

From: Vince Salvino <[email-masked]>
Date: Sun, 23 Jan 2022 00:00:32 +0000

Attached is a patch which listens to the OS settings change, to dynamically change light/dark GUI during runtime.

Disclaimer here, I am not actually a C nor Win32 developer. I am not currently happy with the g_hwnds[256] implementation - that is purely a sloppy hack as a proof of concept. There is probably a much better way to track the window handles (all outlined in the TODO comment). However, this works if anyone wants to play around with it.

Vince Salvino