mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-23 18:02:29 -04:00
Erase old T M R 73 when RxFreq has changed.
This commit is contained in:
parent
3b54196206
commit
f5d2c5cd90
@ -141,10 +141,12 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed)
|
|||||||
//move current data down one line (must do this before attaching a QPainter object)
|
//move current data down one line (must do this before attaching a QPainter object)
|
||||||
if(bScroll and !m_bReplot) m_WaterfallPixmap.scroll(0,1,0,0,m_w,m_h1);
|
if(bScroll and !m_bReplot) m_WaterfallPixmap.scroll(0,1,0,0,m_w,m_h1);
|
||||||
QPainter painter1(&m_WaterfallPixmap);
|
QPainter painter1(&m_WaterfallPixmap);
|
||||||
if(m_bFirst or bRed or (!m_bQ65_Sync and !m_bQ65_MultiSync) or m_mode!=m_mode0 or m_bResized) {
|
if(m_bFirst or bRed or (!m_bQ65_Sync and !m_bQ65_MultiSync) or m_mode!=m_mode0
|
||||||
|
or m_bResized or m_rxFreq!=m_rxFreq0) {
|
||||||
m_2DPixmap = m_OverlayPixmap.copy(0,0,m_w,m_h2);
|
m_2DPixmap = m_OverlayPixmap.copy(0,0,m_w,m_h2);
|
||||||
m_bFirst=false;
|
m_bFirst=false;
|
||||||
m_bResized=false;
|
m_bResized=false;
|
||||||
|
m_rxFreq0=m_rxFreq;
|
||||||
}
|
}
|
||||||
m_mode0=m_mode;
|
m_mode0=m_mode;
|
||||||
QPainter painter2D(&m_2DPixmap);
|
QPainter painter2D(&m_2DPixmap);
|
||||||
|
@ -179,6 +179,7 @@ private:
|
|||||||
qint32 m_h1;
|
qint32 m_h1;
|
||||||
qint32 m_h2;
|
qint32 m_h2;
|
||||||
qint32 m_rxFreq;
|
qint32 m_rxFreq;
|
||||||
|
qint32 m_rxFreq0=0;
|
||||||
qint32 m_txFreq;
|
qint32 m_txFreq;
|
||||||
qint32 m_fMin;
|
qint32 m_fMin;
|
||||||
qint32 m_fMax;
|
qint32 m_fMax;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user