]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/view.hpp
TraceView: Prevent decode traces from changing order
[pulseview.git] / pv / views / trace / view.hpp
index 2938d00fc0014296712adecc921ada3f2e5511d2..bf8b64325feef171b3c7fb17b01dff461985284f 100644 (file)
@@ -96,6 +96,7 @@ private:
        static const pv::util::Timestamp MinScale;
 
        static const int MaxScrollValue;
+       static const int ViewScrollMargin;
 
        static const int ScaleUnits[3];
 
@@ -530,6 +531,8 @@ private:
        pv::util::Timestamp ruler_offset_;
        /// The offset of the zero point in seconds.
        pv::util::Timestamp zero_offset_;
+       /// Shows whether the user set a custom zero offset that we should keep
+       bool custom_zero_offset_set_;
 
        bool updating_scroll_;
        bool settings_restored_;