diff --git a/sdrbase/gui/glspectrum.cpp b/sdrbase/gui/glspectrum.cpp index 7ad1213e0..d4cf15242 100644 --- a/sdrbase/gui/glspectrum.cpp +++ b/sdrbase/gui/glspectrum.cpp @@ -855,7 +855,7 @@ void GLSpectrum::paintGL() glPopMatrix(); } - // paint histogram grid + // TODO: paint histogram grid if((m_displayHistogram || m_displayMaxHold || m_displayCurrent) && (m_displayGrid)) { glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); @@ -876,8 +876,8 @@ void GLSpectrum::paintGL() if(tick->textSize > 0) { float y = tick->pos / m_powerScale.getSize(); glBegin(GL_LINE_LOOP); - glVertex2f(0, y); - glVertex2f(1, y); + glVertex2f(0, 1-y); + glVertex2f(1, 1-y); glEnd(); } } diff --git a/sdrbase/gui/glspectrumgui.ui b/sdrbase/gui/glspectrumgui.ui index 0cdff7145..655d3ab96 100644 --- a/sdrbase/gui/glspectrumgui.ui +++ b/sdrbase/gui/glspectrumgui.ui @@ -285,41 +285,6 @@ - - - - - 0 - 0 - - - - - 24 - 24 - - - - Display waterfall - - - Waterfall - - - - :/waterfall.png:/waterfall.png - - - - 16 - 16 - - - - true - - - @@ -460,6 +425,41 @@ + + + + + 0 + 0 + + + + + 24 + 24 + + + + Display waterfall + + + Waterfall + + + + :/waterfall.png:/waterfall.png + + + + 16 + 16 + + + + true + + + @@ -536,7 +536,6 @@ fftSize refLevel levelRange - waterfall histogram maxHold invert