Fix #1338 ("show time zero at the trigger" option)
[pulseview.git] / pv / views / trace / ruler.hpp
index d7cab4d74caa54f1ef4600d9d1bf37a9d1f0bef8..5035bfc83bffc9962f8a7d06d782c1fae5dcd232 100644 (file)
@@ -117,7 +117,8 @@ public:
                unsigned precision = 0,
                bool sign = true);
 
-       pv::util::Timestamp get_time_from_x_pos(uint32_t x) const;
+       pv::util::Timestamp get_absolute_time_from_x_pos(uint32_t x) const;
+       pv::util::Timestamp get_ruler_time_from_x_pos(uint32_t x) const;
 
 protected:
        virtual void contextMenuEvent(QContextMenuEvent *event) override;
@@ -176,6 +177,7 @@ private Q_SLOTS:
        void invalidate_tick_position_cache();
 
        void on_createMarker();
+       void on_setZeroPosition();
        void on_toggleHoverMarker();
 
 private: