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:
Kimmo Pekkola
2009-08-27 17:05:10 +00:00
parent c09ff5cf61
commit c6fdbf7b60
4 changed files with 19 additions and 10 deletions

View File

@ -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__);
}
*/
}
/*