summaryrefslogtreecommitdiff
path: root/src/win32.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-27 07:07:52 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-27 07:07:52 +0300
commit7f21330692efacf11d2701f62632f0b6c9766621 (patch)
tree2fe9650bfbba5133b8ca71b9edba3047261147d7 /src/win32.h
parentff459a750f2c810142636bf292cdd36cb6a911aa (diff)
Windows: Enable dark mode; use dark title bar for dark themes
This is quite a hack, but Win32 apps don't seem to have documented access to dark mode.
Diffstat (limited to 'src/win32.h')
-rw-r--r--src/win32.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/win32.h b/src/win32.h
index d53a2fe8..d3fe3faf 100644
--- a/src/win32.h
+++ b/src/win32.h
@@ -28,9 +28,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
28 28
29iDeclareType(Window) 29iDeclareType(Window)
30 30
31void setDPIAware_Win32(void); 31void init_Win32(void);
32float desktopDPI_Win32(void); 32float desktopDPI_Win32(void);
33void useExecutableIconResource_SDLWindow(SDL_Window *win); 33void useExecutableIconResource_SDLWindow(SDL_Window *);
34void enableDarkMode_SDLWindow(SDL_Window *);
35void handleCommand_Win32(const char *cmd);
34 36
35#if defined (LAGRANGE_ENABLE_CUSTOM_FRAME) 37#if defined (LAGRANGE_ENABLE_CUSTOM_FRAME)
36iInt2 cursor_Win32(void); 38iInt2 cursor_Win32(void);