view include/sys/win32/dark_theme.h @ 273:f31305b9f60a

*: various code safety changes this also makes the code build on Qt 5.7. I can't test it though because I don't have it working... FAIL!
author Paper <paper@paper.us.eu.org>
date Thu, 18 Apr 2024 16:53:17 -0400
parents 3ec7804abf17
children
line wrap: on
line source

#ifndef MINORI_SYS_WIN32_DARK_THEME_H_
#define MINORI_SYS_WIN32_DARK_THEME_H_

class QWidget;

namespace win32 {

bool SetTitleBarToBlack(QWidget* win, bool enabled);
void SetTitleBarsToBlack(bool enabled);
bool DarkThemeAvailable();
bool IsInDarkTheme();

} // namespace win32

#endif // MINORI_SYS_WIN32_DARK_THEME_H_