mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Dynamic variables can be used to change the font in the string Meter.cpp.
Removed the error message if the meter's dimensions are 0.
This commit is contained in:
@ -63,6 +63,7 @@ CMeter::CMeter(CMeterWindow* meterWindow)
|
||||
m_MeterWindow = meterWindow;
|
||||
m_AntiAlias = false;
|
||||
m_DynamicVariables = false;
|
||||
m_Initialized = false;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -85,6 +86,7 @@ CMeter::~CMeter()
|
||||
*/
|
||||
void CMeter::Initialize()
|
||||
{
|
||||
m_Initialized = true;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -280,11 +282,12 @@ void CMeter::ReadConfig(const WCHAR* section)
|
||||
DebugLog(L"The transformation matrix has incorrect number of values:", parser.ReadString(section, L"TransformationMatrix", L"").c_str());
|
||||
}
|
||||
|
||||
|
||||
/* Are these necessary?
|
||||
if (m_W == 0 || m_H == 0)
|
||||
{
|
||||
throw CError(std::wstring(L"The meter ") + section + L" has zero dimensions.", __LINE__, __FILE__);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user