projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RowItem: Replaced fixed signal heights with extents
[pulseview.git]
/
pv
/
view
/
rowitem.cpp
diff --git
a/pv/view/rowitem.cpp
b/pv/view/rowitem.cpp
index 38a6d43703883697c8ce838238ec1ab4377a334f..d850e321fe4fdcf0572065e268d6393fa3af8982 100644
(file)
--- a/
pv/view/rowitem.cpp
+++ b/
pv/view/rowitem.cpp
@@
-43,6
+43,11
@@
void RowItem::set_v_offset(int v_offset)
_v_offset = v_offset;
}
_v_offset = v_offset;
}
+RowItemOwner* RowItem::owner() const
+{
+ return _owner;
+}
+
void RowItem::set_owner(RowItemOwner *owner)
{
assert((_owner && !owner) || (!_owner && owner));
void RowItem::set_owner(RowItemOwner *owner)
{
assert((_owner && !owner) || (!_owner && owner));
@@
-55,6
+60,11
@@
int RowItem::get_y() const
return _v_offset + _owner->owner_v_offset();
}
return _v_offset + _owner->owner_v_offset();
}
+QPoint RowItem::point() const
+{
+ return QPoint(0, v_offset());
+}
+
void RowItem::paint_back(QPainter &p, int left, int right)
{
(void)p;
void RowItem::paint_back(QPainter &p, int left, int right)
{
(void)p;