X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftimemarker.hpp;h=327a498ffe964295d876eb6ea40d38ddb50557f4;hp=28bcd73aba40c327662a6e47beaf43aea2006bdc;hb=710c2a1896fbac968c82f2d1257aaabd10a48cc8;hpb=ee7fd68c0851423c9a5c6ce244ba3fb4e28bbfc3 diff --git a/pv/views/trace/timemarker.hpp b/pv/views/trace/timemarker.hpp index 28bcd73a..327a498f 100644 --- a/pv/views/trace/timemarker.hpp +++ b/pv/views/trace/timemarker.hpp @@ -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.