MultiMC5/application/themes/SystemTheme.h

24 lines
455 B
C++

#pragma once
#include "ITheme.h"
class SystemTheme: public ITheme
{
public:
SystemTheme();
virtual ~SystemTheme() {}
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:
QPalette systemPalette;
QString systemTheme;
};