AuroraRuntime/Source/Extensions/Win32/DarkTheme.hpp

24 lines
587 B
C++
Raw Normal View History

2021-06-27 21:25:29 +00:00
/***
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();
}