]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/timemarker.hpp
Show relative time of flags on hover
[pulseview.git] / pv / views / trace / timemarker.hpp
index 28bcd73aba40c327662a6e47beaf43aea2006bdc..327a498ffe964295d876eb6ea40d38ddb50557f4 100644 (file)
@@ -65,7 +65,7 @@ public:
        /**
         * Gets the time of the marker.
         */
-       const pv::util::Timestamp& time() const;
+       virtual const pv::util::Timestamp time() const override;
 
        /**
         * Sets the time of the marker.
@@ -74,6 +74,8 @@ public:
 
        float get_x() const override;
 
+       virtual const pv::util::Timestamp delta(const pv::util::Timestamp& other) const override;
+
        /**
         * Gets the arrow-tip point of the time marker.
         * @param rect the rectangle of the ruler area.