mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Tweaked measure binding
This commit is contained in:
@ -200,13 +200,9 @@ bool CMeterButton::Draw(Graphics& graphics)
|
||||
** Overridden method. The meters need not to be bound on anything
|
||||
**
|
||||
*/
|
||||
void CMeterButton::BindMeasure(const std::list<CMeasure*>& measures)
|
||||
void CMeterButton::BindMeasures(CConfigParser& parser, const WCHAR* section)
|
||||
{
|
||||
// It's ok not to bind meter to anything
|
||||
if (!m_MeasureName.empty())
|
||||
{
|
||||
CMeter::BindMeasure(measures);
|
||||
}
|
||||
BindPrimaryMeasure(parser, section, true);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user