]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/view.hpp
Show ruler timestamps in cursors and popups
[pulseview.git] / pv / views / trace / view.hpp
index c6a7c55743caf64e9496e4c4fc0d054940cc4ab8..06b2cf2fb6275f2cd51f55e8b5a43007ff0d757c 100644 (file)
@@ -177,6 +177,9 @@ public:
 
        void reset_zero_position();
 
+    pv::util::Timestamp absolute_to_ruler_time(const pv::util::Timestamp& abs_time) const;
+    pv::util::Timestamp ruler_to_absolute_time(const pv::util::Timestamp& ruler_time) const;
+
        /**
         * Returns the vertical scroll offset.
         */