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
/
decodetrace.h
diff --git
a/pv/view/decodetrace.h
b/pv/view/decodetrace.h
index ab495fa06f156ff5763d2896db2a215c0a8e1202..2bb115412f9c5eb562296596a4c7145fc124b95c 100644
(file)
--- a/
pv/view/decodetrace.h
+++ b/
pv/view/decodetrace.h
@@
-90,6
+90,12
@@
public:
const std::shared_ptr<pv::data::DecoderStack>& decoder() const;
const std::shared_ptr<pv::data::DecoderStack>& decoder() const;
+ /**
+ * Computes the vertical extents of the contents of this row item.
+ * @return A pair containing the minimum and maximum y-values.
+ */
+ std::pair<int, int> v_extents() const;
+
/**
* Paints the background layer of the trace with a QPainter
* @param p the QPainter to paint into.
/**
* Paints the background layer of the trace with a QPainter
* @param p the QPainter to paint into.