RowItemOwner: Replaced parent notification scheme
[pulseview.git] / pv / view / rowitemowner.h
index 98df5ff7221bd69cf68517d9615e7546a2918d9a..c2d38134e2080027d4b12bafa8faea4874851513 100644 (file)
@@ -113,7 +113,16 @@ public:
         */
        const_iterator end() const;
 
-       virtual void update_viewport() = 0;
+       /**
+        * 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;
+
+public:
+       virtual void appearance_changed(bool label, bool content) = 0;
+
+       virtual void extents_changed(bool horz, bool vert) = 0;
 
 private:
        item_list _items;