summaryrefslogtreecommitdiff
path: root/QtSoundModem.h
diff options
context:
space:
mode:
Diffstat (limited to 'QtSoundModem.h')
-rw-r--r--QtSoundModem.h9
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)
+