comparison 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
comparison
equal deleted inserted replaced
939:8744bb5d9fd0 940:77110abca8a1
66 LevelPanToolButton::getPan() const 66 LevelPanToolButton::getPan() const
67 { 67 {
68 return m_lpw->getPan(); 68 return m_lpw->getPan();
69 } 69 }
70 70
71 bool
72 LevelPanToolButton::includesMute() const
73 {
74 return m_lpw->includesMute();
75 }
76
71 void 77 void
72 LevelPanToolButton::setImageSize(int pixels) 78 LevelPanToolButton::setImageSize(int pixels)
73 { 79 {
74 m_pixels = pixels; 80 m_pixels = pixels;
75 81
90 96
91 void 97 void
92 LevelPanToolButton::setPan(float pan) 98 LevelPanToolButton::setPan(float pan)
93 { 99 {
94 m_lpw->setPan(pan); 100 m_lpw->setPan(pan);
101 update();
102 }
103
104 void
105 LevelPanToolButton::setIncludeMute(bool include)
106 {
107 m_lpw->setIncludeMute(include);
95 update(); 108 update();
96 } 109 }
97 110
98 void 111 void
99 LevelPanToolButton::setEnabled(bool enabled) 112 LevelPanToolButton::setEnabled(bool enabled)