Mercurial > hg > svgui
comparison widgets/LevelPanToolButton.h @ 940:77110abca8a1 tonioni
LevelPanWidget alternative without including muting
author | Chris Cannam |
---|---|
date | Tue, 31 Mar 2015 14:05:39 +0100 |
parents | 9022635c615a |
children | fcbfc7fad1f2 |
comparison
equal
deleted
inserted
replaced
939:8744bb5d9fd0 | 940:77110abca8a1 |
---|---|
31 float getLevel() const; | 31 float getLevel() const; |
32 | 32 |
33 /// Return pan as a value in the range [-1,1] | 33 /// Return pan as a value in the range [-1,1] |
34 float getPan() const; | 34 float getPan() const; |
35 | 35 |
36 /// Discover whether the level range includes muting or not | |
37 bool includesMute() const; | |
38 | |
36 void setImageSize(int pixels); | 39 void setImageSize(int pixels); |
37 | 40 |
38 public slots: | 41 public slots: |
39 /// Set level in the range [0,1] -- will be rounded | 42 /// Set level in the range [0,1] -- will be rounded |
40 void setLevel(float); | 43 void setLevel(float); |
41 | 44 |
42 /// Set pan in the range [-1,1] -- will be rounded | 45 /// Set pan in the range [-1,1] -- will be rounded |
43 void setPan(float); | 46 void setPan(float); |
44 | 47 |
48 /// Specify whether the level range should include muting or not | |
49 void setIncludeMute(bool); | |
50 | |
45 void setEnabled(bool enabled); | 51 void setEnabled(bool enabled); |
46 | 52 |
47 signals: | 53 signals: |
48 void levelChanged(float); | 54 void levelChanged(float); |
49 void panChanged(float); | 55 void panChanged(float); |
50 | 56 |
51 private slots: | 57 private slots: |