projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb2b2d9
)
Explicitly set analog signal painting colour
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 2 Mar 2013 08:49:05 +0000
(08:49 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 3 Mar 2013 09:45:36 +0000
(09:45 +0000)
pv/view/analogsignal.cpp
patch
|
blob
|
history
diff --git
a/pv/view/analogsignal.cpp
b/pv/view/analogsignal.cpp
index 7ea6a6fd87408f733af9f74cc8f1144d85c5f12e..209512b595880d9be9e55aed4947935e89b5ae22 100644
(file)
--- a/
pv/view/analogsignal.cpp
+++ b/
pv/view/analogsignal.cpp
@@
-82,6
+82,7
@@
void AnalogSignal::paint(QPainter &p, int y, int left, int right, double scale,
*point++ = QPointF(x, samples[sample] + y);
}
+ p.setPen(_colour);
p.drawPoints(points, point - points);
delete[] points;