projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RowItemOwner: Added depth() method
[pulseview.git]
/
pv
/
view
/
view.h
diff --git
a/pv/view/view.h
b/pv/view/view.h
index 71a38f11888b0034ce3c916a6a19d5939107459d..2f7462978943a84362ff295f95a29011bef6599d 100644
(file)
--- a/
pv/view/view.h
+++ b/
pv/view/view.h
@@
-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);