projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RowItemOwner: Replaced parent notification scheme
[pulseview.git]
/
pv
/
view
/
rowitem.cpp
diff --git
a/pv/view/rowitem.cpp
b/pv/view/rowitem.cpp
index 120a00a39d1cd0a1fb478c5facf446d86e8722ad..b64294c48907f564540c8edb91b33be01affdc95 100644
(file)
--- a/
pv/view/rowitem.cpp
+++ b/
pv/view/rowitem.cpp
@@
-45,6
+45,9
@@
void RowItem::set_layout_v_offset(int v_offset)
return;
_layout_v_offset = v_offset;
return;
_layout_v_offset = v_offset;
+
+ if (_owner)
+ _owner->extents_changed(false, true);
}
int RowItem::visual_v_offset() const
}
int RowItem::visual_v_offset() const
@@
-55,6
+58,9
@@
int RowItem::visual_v_offset() const
void RowItem::set_visual_v_offset(int v_offset)
{
_visual_v_offset = v_offset;
void RowItem::set_visual_v_offset(int v_offset)
{
_visual_v_offset = v_offset;
+
+ if (_owner)
+ _owner->appearance_changed(true, true);
}
void RowItem::force_to_v_offset(int v_offset)
}
void RowItem::force_to_v_offset(int v_offset)