projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RowItemPaintParams: Bundled scale and offset
[pulseview.git]
/
pv
/
view
/
viewport.cpp
diff --git
a/pv/view/viewport.cpp
b/pv/view/viewport.cpp
index bc010b4bd02fa3cd11270397c87e2588df2af461..f5f0ab59fb2f949caf1bef931b506d0d859b185a 100644
(file)
--- a/
pv/view/viewport.cpp
+++ b/
pv/view/viewport.cpp
@@
-70,7
+70,7
@@
void Viewport::paintEvent(QPaintEvent*)
if (view_.cursors_shown())
view_.cursors().draw_viewport_background(p, rect());
if (view_.cursors_shown())
view_.cursors().draw_viewport_background(p, rect());
- const RowItemPaintParams pp(0, width());
+ const RowItemPaintParams pp(0, width()
, view_.scale(), view_.offset()
);
// Plot the signal
for (const shared_ptr<RowItem> r : row_items)
// Plot the signal
for (const shared_ptr<RowItem> r : row_items)