projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RowItem: Bundled painting parameters into RowItemPaintParams
[pulseview.git]
/
pv
/
view
/
analogsignal.hpp
diff --git
a/pv/view/analogsignal.hpp
b/pv/view/analogsignal.hpp
index 5295fe32eed6f6229d62b3abb5a79f632a393787..c048371eeadd1973149017bd7f21f06abf79a1a7 100644
(file)
--- a/
pv/view/analogsignal.hpp
+++ b/
pv/view/analogsignal.hpp
@@
-64,18
+64,16
@@
public:
/**
* Paints the background layer of the signal with a QPainter
* @param p the QPainter to paint into.
/**
* Paints the background layer of the signal with a QPainter
* @param p the QPainter to paint into.
- * @param left the x-coordinate of the left edge of the signal.
- * @param right the x-coordinate of the right edge of the signal.
+ * @param pp the painting parameters object to paint with..
**/
**/
- void paint_back(QPainter &p,
int left, int right
);
+ void paint_back(QPainter &p,
const RowItemPaintParams &pp
);
/**
* Paints the mid-layer of the signal with a QPainter
* @param p the QPainter to paint into.
/**
* Paints the mid-layer of the signal with a QPainter
* @param p the QPainter to paint into.
- * @param left the x-coordinate of the left edge of the signal.
- * @param right the x-coordinate of the right edge of the signal.
+ * @param pp the painting parameters object to paint with..
**/
**/
- void paint_mid(QPainter &p,
int left, int right
);
+ void paint_mid(QPainter &p,
const RowItemPaintParams &pp
);
private:
void paint_trace(QPainter &p,
private:
void paint_trace(QPainter &p,