Mercurial > minori
view include/sys/win32/dark_theme.h @ 179:9c4645100fec
osx: clean up includes, we do not need cocoa
what we *do* need is the very basics that animia already depends on anyway.
these are basically guaranteed to be on any macos system, making it fairly portable
now... I haven't tested this :) I don't have a macos machine right now...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 04 Dec 2023 12:03:36 -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