yacreader/YACReaderLibrary/theme.h
2020-04-07 18:11:31 +02:00

41 lines
675 B
C++

#ifndef THEME_H
#define THEME_H
#include <QtCore>
class Theme
{
public:
Theme();
static Theme currentTheme() {
Theme t;
if (true) { //native macos theme
t.isMacosNative = true;
t.disableClassicViewCollapsing = true;
t.comicsViewTransitionBackground = "#FFFFFF";
} else {
t.isMacosNative = false;
t.disableClassicViewCollapsing = false;
t.comicsViewTransitionBackground = "#2A2A2A";
}
return t;
}
bool isMacosNative;
//
bool disableClassicViewCollapsing;
//
QString comicsViewTransitionBackground;
};
#endif // THEME_H