]> sigrok.org Git - pulseview.git/blobdiff - pv/view/rowitemowner.h
RowItem: Replaced fixed signal heights with extents
[pulseview.git] / pv / view / rowitemowner.h
index 98df5ff7221bd69cf68517d9615e7546a2918d9a..4b25a580da685bf6bd8de62ff3d3167db72612bc 100644 (file)
@@ -113,6 +113,12 @@ public:
         */
        const_iterator end() const;
 
+       /**
+        * Computes the vertical extents of the contents of this row item owner.
+        * @return A pair containing the minimum and maximum y-values.
+        */
+       std::pair<int, int> v_extents() const;
+
        virtual void update_viewport() = 0;
 
 private: