X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fdecodetrace.h;h=2bb115412f9c5eb562296596a4c7145fc124b95c;hp=ab495fa06f156ff5763d2896db2a215c0a8e1202;hb=a5d93c27b5bd6b95000e29c6cddac56ab254b289;hpb=dc747705ac06c9e9ab582b6b8b7cfc31003128e0 diff --git a/pv/view/decodetrace.h b/pv/view/decodetrace.h index ab495fa..2bb1154 100644 --- a/pv/view/decodetrace.h +++ b/pv/view/decodetrace.h @@ -90,6 +90,12 @@ public: const std::shared_ptr& decoder() const; + /** + * Computes the vertical extents of the contents of this row item. + * @return A pair containing the minimum and maximum y-values. + */ + std::pair v_extents() const; + /** * Paints the background layer of the trace with a QPainter * @param p the QPainter to paint into.