Mercurial > minori
view include/sys/win32/dark_theme.h @ 261:3ec7804abf17
include: make header guards more sane
The C++ standard[1] says:
Each identifier that contains a double underscore __ or
begins with an underscore followed by an uppercase letter
is reserved to the implementation for any use.
[1]: https://timsong-cpp.github.io/cppwp/n4659/lex.name#3.1
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 03 Apr 2024 20:04:28 -0400 |
parents | 6d8da6e64d61 |
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_