24 lines
638 B
C++
24 lines
638 B
C++
#include "..\Settings.h"
|
|
#include "Notification Settings.h"
|
|
|
|
bool CNotificationSettings::m_bInFullScreen = false;
|
|
|
|
CNotificationSettings::CNotificationSettings()
|
|
{
|
|
_Settings->RegisterChangeCB(UserInterface_InFullScreen,this,(CSettings::SettingChangedFunc)StaticRefreshSettings);
|
|
RefreshSettings();
|
|
}
|
|
|
|
CNotificationSettings::~CNotificationSettings()
|
|
{
|
|
if (_Settings)
|
|
{
|
|
_Settings->UnregisterChangeCB(UserInterface_InFullScreen,this,(CSettings::SettingChangedFunc)StaticRefreshSettings);
|
|
}
|
|
}
|
|
|
|
void CNotificationSettings::RefreshSettings()
|
|
{
|
|
m_bInFullScreen = _Settings->LoadBool(UserInterface_InFullScreen);
|
|
}
|