Mercurial > hg > svgui
diff widgets/LevelPanToolButton.cpp @ 940:77110abca8a1 tonioni
LevelPanWidget alternative without including muting
author | Chris Cannam |
---|---|
date | Tue, 31 Mar 2015 14:05:39 +0100 |
parents | a61a779d73df |
children | fcbfc7fad1f2 |
line wrap: on
line diff
--- a/widgets/LevelPanToolButton.cpp Tue Mar 31 13:06:29 2015 +0100 +++ b/widgets/LevelPanToolButton.cpp Tue Mar 31 14:05:39 2015 +0100 @@ -68,6 +68,12 @@ return m_lpw->getPan(); } +bool +LevelPanToolButton::includesMute() const +{ + return m_lpw->includesMute(); +} + void LevelPanToolButton::setImageSize(int pixels) { @@ -96,6 +102,13 @@ } void +LevelPanToolButton::setIncludeMute(bool include) +{ + m_lpw->setIncludeMute(include); + update(); +} + +void LevelPanToolButton::setEnabled(bool enabled) { m_lpw->setEnabled(enabled);