Mercurial > hg > svgui
diff widgets/LevelPanToolButton.h @ 933:9022635c615a tonioni
Fixes to enabled/disabled state in level-pan tool button
author | Chris Cannam |
---|---|
date | Wed, 25 Mar 2015 11:41:17 +0000 |
parents | 37bb4b416c52 |
children | 77110abca8a1 |
line wrap: on
line diff
--- a/widgets/LevelPanToolButton.h Wed Mar 25 11:27:46 2015 +0000 +++ b/widgets/LevelPanToolButton.h Wed Mar 25 11:41:17 2015 +0000 @@ -42,6 +42,8 @@ /// Set pan in the range [-1,1] -- will be rounded void setPan(float); + void setEnabled(bool enabled); + signals: void levelChanged(float); void panChanged(float);