diff options
author | Tom Rondeau | 2011-10-16 21:34:24 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-16 21:34:24 -0400 |
commit | 2d5a6f86fd3047748a9f816548e2901b02838734 (patch) | |
tree | b61d251045795ec2ebac555ae6c7436eaf5a7050 /gr-qtgui/lib/waterfallGlobalData.h | |
parent | bbee6d500f0e47e3543fbaffcef67f0fdbb71e37 (diff) | |
parent | 45c2212608ca66b5fadbc860771e042198e1ebcd (diff) | |
download | gnuradio-2d5a6f86fd3047748a9f816548e2901b02838734.tar.gz gnuradio-2d5a6f86fd3047748a9f816548e2901b02838734.tar.bz2 gnuradio-2d5a6f86fd3047748a9f816548e2901b02838734.zip |
Merge branch 'maint'
Diffstat (limited to 'gr-qtgui/lib/waterfallGlobalData.h')
-rw-r--r-- | gr-qtgui/lib/waterfallGlobalData.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gr-qtgui/lib/waterfallGlobalData.h b/gr-qtgui/lib/waterfallGlobalData.h index 51f65064c..89e48da5f 100644 --- a/gr-qtgui/lib/waterfallGlobalData.h +++ b/gr-qtgui/lib/waterfallGlobalData.h @@ -4,6 +4,10 @@ #include <qwt_raster_data.h> #include <inttypes.h> +#if QWT_VERSION >= 0x060000 +#include <qwt_point_3d.h> // doesn't seem necessary, but is... +#include <qwt_compat.h> +#endif class WaterfallData: public QwtRasterData { @@ -17,8 +21,11 @@ public: virtual void ResizeData(const double, const double, const uint64_t); virtual QwtRasterData *copy() const; + +#if QWT_VERSION < 0x060000 virtual QwtDoubleInterval range() const; virtual void setRange(const QwtDoubleInterval&); +#endif virtual double value(double x, double y) const; @@ -38,7 +45,12 @@ protected: uint64_t _fftPoints; uint64_t _historyLength; int _numLinesToUpdate; + +#if QWT_VERSION < 0x060000 QwtDoubleInterval _intensityRange; +#else + QwtInterval _intensityRange; +#endif private: |