Tweaked measure binding for RoundLine meters

This commit is contained in:
Brian Ferguson 2012-09-29 13:29:38 -06:00
parent 929d8149d0
commit d60ec2cc39
2 changed files with 10 additions and 0 deletions

View File

@ -166,3 +166,12 @@ bool CMeterRoundLine::Draw(Graphics& graphics)
return true; return true;
} }
/*
** Overridden method. The roundline meters need not to be bound on anything
**
*/
void CMeterRoundLine::BindMeasures(CConfigParser& parser, const WCHAR* section)
{
BindPrimaryMeasure(parser, section, true);
}

View File

@ -34,6 +34,7 @@ public:
protected: protected:
virtual void ReadOptions(CConfigParser& parser, const WCHAR* section); virtual void ReadOptions(CConfigParser& parser, const WCHAR* section);
virtual void BindMeasures(CConfigParser& parser, const WCHAR* section);
private: private:
bool m_Solid; bool m_Solid;