diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-12-17 13:53:36 +0000 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-12-17 13:53:36 +0000 |
| commit | 54db88482aa35b971b07585510761dbd199fe987 (patch) | |
| tree | 1b224b09fab839da45251c18128c5d79a63e2829 /QtSoundModem.h | |
| parent | 28348e0eac8c2f853ff8c7d577688d1766ee5bd6 (diff) | |
| parent | c264c0c63857e0c36303687d2dfc533500b93cf1 (diff) | |
Update upstream source from tag 'upstream/0.0.0.71'
Update to upstream version '0.0.0.71'
with Debian dir a161df0a9b21e6c26b592a34373aa7d85d976578
Diffstat (limited to 'QtSoundModem.h')
| -rw-r--r-- | QtSoundModem.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/QtSoundModem.h b/QtSoundModem.h index fc21d79..626ddd9 100644 --- a/QtSoundModem.h +++ b/QtSoundModem.h @@ -29,7 +29,7 @@ public: ~QtSoundModem();
void RefreshWaterfall(int snd_ch, unsigned char * Data);
- void initWaterfall(int chan, int state);
+ void initWaterfall(int state);
void show_grid();
void checkforCWID();
@@ -39,6 +39,7 @@ private slots: void CWIDTimer();
void doDevices();
+ void mysetstyle();
void updateFont();
void MinimizetoTray();
void TrayActivated(QSystemTrayIcon::ActivationReason reason);
@@ -111,3 +112,9 @@ protected: bool eventFilter(QObject *obj, QEvent *event) override;
};
+
+#define WaterfallDisplayPixels 80
+#define WaterfallHeaderPixels 38
+#define WaterfallTotalPixels WaterfallDisplayPixels + WaterfallHeaderPixels
+#define WaterfallImageHeight (WaterfallTotalPixels + WaterfallTotalPixels)
+
|
