view include/sys/win32/dark_theme.h @ 336:d260549151d6

dep/animone: fix undefined behavior, get correct length value
author Paper <paper@paper.us.eu.org>
date Wed, 19 Jun 2024 06:32:25 -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_