FluentUI/src/FluTheme.cpp
朱子楚\zhuzi a71831cd9d update
2023-03-11 00:29:06 +08:00

23 lines
432 B
C++

#include "FluTheme.h"
#include "FluColors.h"
FluTheme* FluTheme::m_instance = nullptr;
FluTheme *FluTheme::getInstance()
{
if(FluTheme::m_instance == nullptr){
FluTheme::m_instance = new FluTheme;
}
return FluTheme::m_instance;
}
FluTheme::FluTheme(QObject *parent)
: QObject{parent}
{
primaryColor(FluColors::getInstance()->Blue());
textSize(13);
isFrameless(false);
isDark(false);
}