AuroraRuntime/Source/Extensions/Win32/DarkTheme.hpp
2021-06-27 22:25:29 +01:00

24 lines
587 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: DarkTheme.hpp
Date: 2021-6-11
Author: Reece
***/
#pragma once
namespace Aurora::Extensions::Win32
{
inline bool g_darkModeSupported = false;
using fnFlushMenuThemes = void (WINAPI *)();
inline fnFlushMenuThemes _FlushMenuThemes = nullptr;
void AllowDarkModeForApp();
void RefreshTitleBarThemeColor(HWND hWnd);
bool AllowDarkModeForWindow(HWND hWnd, bool allow);
AUKN_SYM void MakeWindowBordersDark(HWND window);
void InitDarkMode();
}