pollymc/launcher/ui/themes/SystemTheme.h

25 lines
533 B
C
Raw Normal View History

#pragma once
#include "ITheme.h"
class SystemTheme: public ITheme
{
public:
2018-07-15 18:21:05 +05:30
SystemTheme();
virtual ~SystemTheme() {}
void apply(bool initial) override;
2018-07-15 18:21:05 +05:30
QString id() override;
QString name() override;
QString qtTheme() override;
bool hasStyleSheet() override;
QString appStyleSheet() override;
bool hasColorScheme() override;
QPalette colorScheme() override;
double fadeAmount() override;
QColor fadeColor() override;
private:
2018-07-15 18:21:05 +05:30
QPalette systemPalette;
QString systemTheme;
};