mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-02 14:04:47 -04:00
Set waterfall lps or spectrum avg by space/typing
This commit is contained in:
@@ -52,6 +52,11 @@ void MeterCanvas::setMin(float min_in) {
|
||||
Refresh();
|
||||
}
|
||||
|
||||
void MeterCanvas::setUserInputValue(float slider_in) {
|
||||
userInputValue = slider_in;
|
||||
Refresh();
|
||||
}
|
||||
|
||||
void MeterCanvas::setInputValue(float slider_in) {
|
||||
userInputValue = inputValue = slider_in;
|
||||
Refresh();
|
||||
|
||||
@@ -24,6 +24,7 @@ public:
|
||||
void setMax(float max_in);
|
||||
void setMin(float max_in);
|
||||
|
||||
void setUserInputValue(float slider_in);
|
||||
void setInputValue(float slider_in);
|
||||
bool inputChanged();
|
||||
float getInputValue();
|
||||
|
||||
@@ -428,3 +428,7 @@ void TuningCanvas::OnKeyDown(wxKeyEvent& event) {
|
||||
void TuningCanvas::OnKeyUp(wxKeyEvent& event) {
|
||||
InteractiveCanvas::OnKeyUp(event);
|
||||
}
|
||||
|
||||
TuningCanvas::ActiveState TuningCanvas::getHoverState() {
|
||||
return hoverState;
|
||||
}
|
||||
|
||||
@@ -28,6 +28,8 @@ public:
|
||||
void OnKeyDown(wxKeyEvent& event);
|
||||
void OnKeyUp(wxKeyEvent& event);
|
||||
|
||||
ActiveState getHoverState();
|
||||
|
||||
private:
|
||||
void OnPaint(wxPaintEvent& event);
|
||||
void OnIdle(wxIdleEvent &event);
|
||||
|
||||
Reference in New Issue
Block a user