diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-12-17 13:53:32 +0000 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-12-17 13:53:32 +0000 |
| commit | c264c0c63857e0c36303687d2dfc533500b93cf1 (patch) | |
| tree | d2de59640c3454c97c6a1de817ad3643ca081aba /QtSoundModem.h | |
| parent | 1407d7b68693f014156bac2462c2d41f9e3cb2a1 (diff) | |
New upstream version 0.0.0.71upstream/0.0.0.71
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)
+
|
