Miscellaneous fixes

* RTTY DSP filter bandwidth tracks baud / shift
    * Log frequency changed to left justified
pull/2/head
David Freese 2009-03-26 16:37:08 -05:00
rodzic dfd721bd14
commit 3c7d0045cd
4 zmienionych plików z 8 dodań i 6 usunięć

Wyświetl plik

@ -163,6 +163,8 @@ void rtty::restart()
rtty_BW = shift + 3*rtty_baud;
progdefaults.RTTY_BW = rtty_BW;
sldrRTTYbandwidth->value(rtty_BW);
wf->redraw_marker();
if (bpfilt)

Wyświetl plik

@ -2660,6 +2660,7 @@ an merging"));
tabsModems->selection_color(FL_LIGHT1);
tabsModems->align(FL_ALIGN_TOP_RIGHT);
{ tabCW = new Fl_Group(0, 50, 500, 320, _("CW"));
tabCW->hide();
{ tabsCW = new Fl_Tabs(0, 50, 500, 320);
tabsCW->selection_color(FL_LIGHT1);
{ Fl_Group* o = new Fl_Group(0, 75, 500, 295, _("General"));
@ -3226,7 +3227,6 @@ an merging"));
tabPSK->end();
} // Fl_Group* tabPSK
{ tabRTTY = new Fl_Group(0, 50, 500, 320, _("RTTY"));
tabRTTY->hide();
{ Fl_Group* o = new Fl_Group(5, 60, 490, 270);
o->box(FL_ENGRAVED_FRAME);
{ Fl_Choice* o = selShift = new Fl_Choice(15, 70, 100, 20, _("Carrier shift"));
@ -3346,7 +3346,7 @@ an merging"));
sldrRTTYbandwidth->tooltip(_("Adjust the DSP bandwidth"));
sldrRTTYbandwidth->type(1);
sldrRTTYbandwidth->minimum(50);
sldrRTTYbandwidth->maximum(1000);
sldrRTTYbandwidth->maximum(1200);
sldrRTTYbandwidth->step(5);
sldrRTTYbandwidth->value(400);
sldrRTTYbandwidth->textsize(14);

Wyświetl plik

@ -692,7 +692,7 @@ behaves inside the waterfall} xywh {15 196 150 22} down_box BORDER_BOX align 8
} {
Fl_Group tabCW {
label CW open
xywh {0 50 500 320}
xywh {0 50 500 320} hide
} {
Fl_Tabs tabsCW {open
xywh {0 50 500 320} selection_color 50
@ -1210,7 +1210,7 @@ progdefaults.changed = true;} open
}
Fl_Group tabRTTY {
label RTTY open
xywh {0 50 500 320} hide
xywh {0 50 500 320}
} {
Fl_Group {} {open
xywh {5 60 490 270} box ENGRAVED_FRAME
@ -1337,7 +1337,7 @@ progdefaults.changed = true;}
Fl_Value_Slider sldrRTTYbandwidth {
label {Receive filter bandwidth}
callback {progdefaults.RTTY_BW = o->value();}
tooltip {Adjust the DSP bandwidth} xywh {100 295 300 20} type Horizontal align 5 minimum 50 maximum 1000 step 5 value 400 textsize 14
tooltip {Adjust the DSP bandwidth} xywh {100 295 300 20} type Horizontal align 5 minimum 50 maximum 1200 step 5 value 400 textsize 14
code0 {o->value(progdefaults.RTTY_BW);}
}
}

Wyświetl plik

@ -580,7 +580,7 @@ void AddRecord ()
inpRstS_log->value (inpRstOut->value());
{
char Mhz[30];
snprintf(Mhz, sizeof(Mhz), "%10f", atof(inpFreq->value()) / 1000.0);
snprintf(Mhz, sizeof(Mhz), "%-10f", atof(inpFreq->value()) / 1000.0);
inpFreq_log->value(Mhz);
}
inpMode_log->value (logmode);