]> sigrok.org Git - pulseview.git/blobdiff - pv/view/timemarker.hpp
ViewItem: Added rect parameter to point()
[pulseview.git] / pv / view / timemarker.hpp
index 4e5d92e6c6a75efee20a0283b36676c6d8d4cb86..4f7361bd13acb5a9e119e30183c8f82a5a0a92d0 100644 (file)
@@ -67,9 +67,10 @@ public:
        float get_x() const;
 
        /**
-        * Gets the drag point of the row item.
+        * Gets the arrow-tip point of the time marker.
+        * @param rect the rectangle of the ruler area.
         */
-       QPoint point() const;
+       QPoint point(const QRect &rect) const;
 
        /**
         * Computes the outline rectangle of a label.