view include/sys/win32/dark_theme.h @ 343:1faa72660932

*: transfer back to cmake from autotools autotools just made lots of things more complicated than they should have and many things broke (i.e. translations)
author Paper <paper@paper.us.eu.org>
date Thu, 20 Jun 2024 05:56:06 -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_