Additional changes to 4bbc372

This commit is contained in:
Birunthan Mohanathas
2012-07-17 22:07:57 +03:00
parent 4dc5fe0b31
commit 1ecf6086bd
4 changed files with 9 additions and 3 deletions

View File

@ -447,6 +447,12 @@ bool CMeter::Update()
*/
bool CMeter::BindPrimaryMeasure(CConfigParser& parser, const WCHAR* section, bool optional)
{
const std::wstring& style = parser.ReadString(section, L"MeterStyle", L"");
if (!style.empty())
{
parser.SetStyleTemplate(style);
}
const std::wstring& measureName = parser.ReadString(section, L"MeasureName", L"");
// The meter is not bound to anything