Mercurial > minori
view include/sys/win32/dark_theme.h @ 168:79a2a24453fa
window: improve performance when getting running files
now we don't block the whole app! :)
this is especially noticeable on X11, where window walking takes ABSURDLY long
author | paper@DavesDouble.local |
---|---|
date | Sun, 19 Nov 2023 05:36:41 -0500 |
parents | 6d8da6e64d61 |
children | 3ec7804abf17 |
line wrap: on
line source
#ifndef __sys__win32__dark_theme_h #define __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 // __sys__win32__dark_theme_h