24 lines
587 B
C++
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();
|
||
|
}
|