From d60ec2cc39cafec28f11d9e7f25acb60dd5d115b Mon Sep 17 00:00:00 2001 From: Brian Ferguson Date: Sat, 29 Sep 2012 13:29:38 -0600 Subject: [PATCH] Tweaked measure binding for RoundLine meters --- Library/MeterRoundLine.cpp | 9 +++++++++ Library/MeterRoundLine.h | 1 + 2 files changed, 10 insertions(+) diff --git a/Library/MeterRoundLine.cpp b/Library/MeterRoundLine.cpp index f69ce70d..eeab2c0e 100644 --- a/Library/MeterRoundLine.cpp +++ b/Library/MeterRoundLine.cpp @@ -166,3 +166,12 @@ bool CMeterRoundLine::Draw(Graphics& graphics) 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); +} diff --git a/Library/MeterRoundLine.h b/Library/MeterRoundLine.h index 4634424c..dd50339f 100644 --- a/Library/MeterRoundLine.h +++ b/Library/MeterRoundLine.h @@ -34,6 +34,7 @@ public: protected: virtual void ReadOptions(CConfigParser& parser, const WCHAR* section); + virtual void BindMeasures(CConfigParser& parser, const WCHAR* section); private: bool m_Solid;