X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftracegroup.hpp;h=4f631d0da23927bca35b836f244155f4b01c8774;hp=f89ea437f33c8026ad1ab9898055bf145b9867d8;hb=b3f44329f5846bfb800ee53c15c65b2395d3ba0c;hpb=5c5ce7574062e0d3ad4f7d9dde70b482315d54fb diff --git a/pv/view/tracegroup.hpp b/pv/view/tracegroup.hpp index f89ea437..4f631d0d 100644 --- a/pv/view/tracegroup.hpp +++ b/pv/view/tracegroup.hpp @@ -81,15 +81,14 @@ public: * area. * @param hover true if the label is being hovered over by the mouse. */ - void paint_label(QPainter &p, int right, bool hover); + void paint_label(QPainter &p, const QRect &rect, bool hover); /** * Computes the outline rectangle of a label. - * @param right the x-coordinate of the right edge of the header - * area. + * @param rect the rectangle of the header area. * @return Returns the rectangle of the signal label. */ - QRectF label_rect(int right) const; + QRectF label_rect(const QRectF &rect) const; /** * Determines if a point is in the header label rect.