mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-11 13:24:19 -04:00
GLSpectrum: added a freeze button
This commit is contained in:
@@ -350,6 +350,12 @@ void GLSpectrumGUI::on_clearSpectrum_clicked(bool checked)
|
||||
}
|
||||
}
|
||||
|
||||
void GLSpectrumGUI::on_freeze_toggled(bool checked)
|
||||
{
|
||||
SpectrumVis::MsgStartStop *msg = SpectrumVis::MsgStartStop::create(!checked);
|
||||
m_spectrumVis->getInputMessageQueue()->push(msg);
|
||||
}
|
||||
|
||||
int GLSpectrumGUI::getAveragingMaxScale(GLSpectrumSettings::AveragingMode averagingMode)
|
||||
{
|
||||
if (averagingMode == GLSpectrumSettings::AvgModeMoving) {
|
||||
|
||||
Reference in New Issue
Block a user