diff --git a/src/leansdr/gui.h b/src/leansdr/gui.h index f0e13a9..14a7545 100644 --- a/src/leansdr/gui.h +++ b/src/leansdr/gui.h @@ -425,11 +425,18 @@ namespace leansdr { struct rfscope : runnable { unsigned long size; unsigned long decimation; - float db0, dbrange, bw; + float Fs; // Sampling freq for display (Hz) + float Fc; // Center freq for display (Hz) + int ncursors; + float *cursors; // Cursor frequencies + float hzoom; // Horizontal zoom factor + float db0, dbrange; // Vertical range db0 .. db0+dbrange + float bw; // Smoothing bandwidth rfscope(scheduler *sch, pipebuf< complex > & _in, const char *_name=NULL) : runnable(sch, _name?_name:_in.name), size(4096), decimation(DEFAULT_GUI_DECIMATION), + Fs(1), Fc(0), ncursors(0), hzoom(1), db0(-25), dbrange(50), bw(0.05), in(_in), phase(0), g(sch, name), fft(NULL), filtered(NULL) { } @@ -476,17 +483,25 @@ namespace leansdr { for ( int i=0; i