mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-04 23:14:53 -04:00
Fix Mousewheel support
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user