summaryrefslogtreecommitdiff
path: root/gr-qtgui/src/lib/qtgui_sink_c.cc
diff options
context:
space:
mode:
authorTom Rondeau2010-09-13 14:49:00 -0400
committerTom Rondeau2010-10-05 22:06:18 -0400
commit0be1b700a2ca7886c92a9a913d5ae00e3d17fa9e (patch)
treece9336c63ec2e446529ecb46b8d0a248c404603a /gr-qtgui/src/lib/qtgui_sink_c.cc
parenta0c01f9f9ca5743189ce5c84ee3f2b1cea819335 (diff)
downloadgnuradio-0be1b700a2ca7886c92a9a913d5ae00e3d17fa9e.tar.gz
gnuradio-0be1b700a2ca7886c92a9a913d5ae00e3d17fa9e.tar.bz2
gnuradio-0be1b700a2ca7886c92a9a913d5ae00e3d17fa9e.zip
Removing Waterfall3DPlot. The qwt_plot3d is too much of a hassle to deal with and the plotting is not that stable even when it does work. This does not change the API.
Diffstat (limited to 'gr-qtgui/src/lib/qtgui_sink_c.cc')
-rw-r--r--gr-qtgui/src/lib/qtgui_sink_c.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/gr-qtgui/src/lib/qtgui_sink_c.cc b/gr-qtgui/src/lib/qtgui_sink_c.cc
index f77045938..c12c451b0 100644
--- a/gr-qtgui/src/lib/qtgui_sink_c.cc
+++ b/gr-qtgui/src/lib/qtgui_sink_c.cc
@@ -64,10 +64,13 @@ qtgui_sink_c::qtgui_sink_c (int fftsize, int wintype,
d_wintype((gr_firdes::win_type)(wintype)),
d_center_freq(fc), d_bandwidth(bw), d_name(name),
d_plotfreq(plotfreq), d_plotwaterfall(plotwaterfall),
- d_plotwaterfall3d(plotwaterfall3d), d_plottime(plottime),
- d_plotconst(plotconst),
+ d_plottime(plottime), d_plotconst(plotconst),
d_parent(parent)
{
+ if(plotwaterfall3d == true) {
+ fprintf(stderr, "Warning: plotting Waterfall3D has been removed; enabling plotwaterfall3d has no effect.\n");
+ }
+
d_main_gui = NULL;
pthread_mutex_init(&d_pmutex, NULL);
lock();
@@ -141,8 +144,7 @@ qtgui_sink_c::initialize(const bool opengl)
d_main_gui->OpenSpectrumWindow(d_parent,
d_plotfreq, d_plotwaterfall,
- d_plotwaterfall3d, d_plottime,
- d_plotconst,
+ d_plottime, d_plotconst,
opengl);
// initialize update time to 10 times a second