Fix Mousewheel support

This commit is contained in:
Charles J. Cliffe
2016-07-07 23:47:58 -04:00
parent ebf2443fe2
commit aa813db490
3 changed files with 29 additions and 28 deletions
+8
View File
@@ -74,6 +74,14 @@ void MeterPanel::setRange(float low, float high) {
this->high = high;
}
float MeterPanel::getLow() {
return this->low;
}
float MeterPanel::getHigh() {
return this->high;
}
void MeterPanel::setValue(float value) {
if (value > high) {
value = high;
+2
View File
@@ -10,6 +10,8 @@ public:
void setName(std::string name_in);
std::string getName();
void setRange(float low, float high);
float getLow();
float getHigh();
void setValue(float value);
void setHighlight(float value);
void setHighlightVisible(bool vis);