]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.h
RowItemOwner: Added depth() method
[pulseview.git] / pv / view / view.h
index 71a38f11888b0034ce3c916a6a19d5939107459d..2f7462978943a84362ff295f95a29011bef6599d 100644 (file)
@@ -99,6 +99,11 @@ public:
        double offset() const;
        int owner_v_offset() const;
 
+       /**
+        * Returns the number of nested parents that this row item owner has.
+        */
+       unsigned int depth() const;
+
        void zoom(double steps);
        void zoom(double steps, int offset);