X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fdecodetrace.h;h=2bb115412f9c5eb562296596a4c7145fc124b95c;hb=a5d93c27b5bd6b95000e29c6cddac56ab254b289;hp=52e41fc0023e951722c9c9cb15f192b319a43fea;hpb=53e35b2d7e81fa8b57ba2bacc8bf445291195150;p=pulseview.git diff --git a/pv/view/decodetrace.h b/pv/view/decodetrace.h index 52e41fc..2bb1154 100644 --- a/pv/view/decodetrace.h +++ b/pv/view/decodetrace.h @@ -90,7 +90,11 @@ public: const std::shared_ptr& decoder() const; - void set_view(pv::view::View *view); + /** + * 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