X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Ftimemarker.hpp;h=113a6a10a6f04c097d2bc9d828e1f516f63fa2f0;hb=08d9c3caec0a3ad1c624af685f948e17b91d278a;hp=4f7361bd13acb5a9e119e30183c8f82a5a0a92d0;hpb=be7170664b80552fdfb38da1c214c271cbf116aa;p=pulseview.git diff --git a/pv/view/timemarker.hpp b/pv/view/timemarker.hpp index 4f7361bd..113a6a10 100644 --- a/pv/view/timemarker.hpp +++ b/pv/view/timemarker.hpp @@ -79,6 +79,13 @@ public: */ QRectF label_rect(const QRectF &rect) const; + /** + * Computes the outline rectangle of the viewport hit-box. + * @param rect the rectangle of the viewport area. + * @return Returns the rectangle of the hit-box. + */ + QRectF hit_box_rect(const QRectF &rect) const; + /** * Gets the text to show in the marker. */