view include/sys/win32/dark_theme.h @ 371:c87dcf967cff

dep/animone: add mpc-qt posix and x11
author Paper <paper@tflc.us>
date Fri, 25 Jul 2025 11:01:57 -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_