diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
| commit | 69344560ea394c06ca94acac46a2e4c3e8b7b229 (patch) | |
| tree | ebc98370a697a9bbd6b973a14fa5113c475c6db7 /map65/plotter.h | |
| parent | 3e9d10a67671d0bd5c7b8c3ca8088f1818322eff (diff) | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
Update upstream source from tag 'upstream/3.2.0_rc1+dfsg'
Update to upstream version '3.2.0~rc1+dfsg'
with Debian dir dbff457fd2c3616d5c77b863c7bfb2186ed86047
Diffstat (limited to 'map65/plotter.h')
| -rw-r--r-- | map65/plotter.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/map65/plotter.h b/map65/plotter.h index 1147b12e..e7ff1f82 100644 --- a/map65/plotter.h +++ b/map65/plotter.h @@ -13,6 +13,7 @@ #include <QList> #include <QToolTip> #include <cstring> +#include <vector> #include "commons.h" #include "decode_label.h" @@ -68,13 +69,13 @@ public: int DF(); int autoZero(); void setPalette(QString palette); - void setFsample(int n); void setMode65(int n); void set2Dspec(bool b); double fGreen(); void setLockTxRx(bool b); double rxFreq(); double txFreq(); +// void resetWaterfall() // void updateFreqLabel(); // Decoded-callsign overlay (N6NU 2026-05-12, ported from QMAP). @@ -114,6 +115,7 @@ private: int XfromFreq(float f); float FreqfromX(int x); qint64 RoundFreq(qint64 freq, int resolution); + void ensureWaterfallHistory(int rows); // Render m_decodeLabels overlay on top of the waterfall pixmap. // Stacks colliding labels vertically (max 5 rows) so a busy band // doesn't paint labels on top of each other. @@ -130,7 +132,9 @@ private: QPixmap m_WaterfallPixmap; QPixmap m_ZoomWaterfallPixmap; QPixmap m_2DPixmap; - unsigned char m_zwf[32768*400]; + std::vector<unsigned char> m_zwf; + int m_waterfallStride {0}; + int m_waterfallRows {0}; QPixmap m_ScalePixmap; QPixmap m_ZoomScalePixmap; QSize m_Size; @@ -158,7 +162,6 @@ private: qint32 m_z1; qint32 m_z2; qint32 m_nkhz; - qint32 m_fSample; qint32 m_mode65; qint32 m_i0; qint32 m_xClick; |
