mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-24 03:30:59 +08:00
21 lines
390 B
C++
21 lines
390 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());
|
|||
|
isDark(false);
|
|||
|
}
|