mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-13 03:08:57 -04:00
Add NBFM mode, add mode selector button height font reduction when scaled down
This commit is contained in:
+4
-1
@@ -76,6 +76,7 @@ AppFrame::AppFrame() :
|
||||
demodModeSelector = new ModeSelectorCanvas(demodPanel, attribList);
|
||||
demodModeSelector->addChoice("FM");
|
||||
demodModeSelector->addChoice("FMS");
|
||||
demodModeSelector->addChoice("NBFM");
|
||||
demodModeSelector->addChoice("AM");
|
||||
demodModeSelector->addChoice("LSB");
|
||||
demodModeSelector->addChoice("USB");
|
||||
@@ -1940,7 +1941,9 @@ int AppFrame::OnGlobalKeyUp(wxKeyEvent &event) {
|
||||
case 'F':
|
||||
if (demodModeSelector->getSelectionLabel() == "FM") {
|
||||
demodModeSelector->setSelection("FMS");
|
||||
} else {
|
||||
} else if (demodModeSelector->getSelectionLabel() == "FMS") {
|
||||
demodModeSelector->setSelection("NBFM");
|
||||
} else if (demodModeSelector->getSelectionLabel() == "NBFM") {
|
||||
demodModeSelector->setSelection("FM");
|
||||
}
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user