X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fview.hpp;h=a42f964e0a173126b2cba892b7c803ae82cf8d89;hp=5be959579eb7eba521f454df21b4f16d1f2f1b4c;hb=28ceff251c776bcf99eafae691e70a521af15957;hpb=df842d4f2144712d075c91a3b073cdc923bca943 diff --git a/pv/views/trace/view.hpp b/pv/views/trace/view.hpp index 5be9595..a42f964 100644 --- a/pv/views/trace/view.hpp +++ b/pv/views/trace/view.hpp @@ -454,6 +454,16 @@ private: // A nonzero value indicates the v offset to restore. See View::resizeEvent() int saved_v_offset_; + + // These are used to determine whether the view was altered after acq started + double scale_at_acq_start_; + pv::util::Timestamp offset_at_acq_start_; + + // Used to suppress performing a "zoom to fit" when the session stops. This + // is needed when the view's settings are restored before acquisition ends. + // In that case we want to keep the restored settings, not have a "zoom to fit" + // mess them up. + bool suppress_zoom_to_fit_after_acq_; }; } // namespace trace