projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added palette of colours for different decode annotation types
[pulseview.git]
/
pv
/
view
/
decodesignal.cpp
diff --git
a/pv/view/decodesignal.cpp
b/pv/view/decodesignal.cpp
index afc465b9e7a1fe4ff39ce10f4a8acac14e8d1264..b151b3911d13ef6beb570cb092cefae115660ef1 100644
(file)
--- a/
pv/view/decodesignal.cpp
+++ b/
pv/view/decodesignal.cpp
@@
-104,9
+104,8
@@
void DecodeSignal::paint_mid(QPainter &p, int left, int right)
vector< shared_ptr<Annotation> > annotations(_decoder->annotations());
BOOST_FOREACH(shared_ptr<Annotation> a, annotations) {
assert(a);
vector< shared_ptr<Annotation> > annotations(_decoder->annotations());
BOOST_FOREACH(shared_ptr<Annotation> a, annotations) {
assert(a);
- a->paint(p, _colour, _colour.darker(), get_text_colour(),
- _text_size.height(), left, right, samples_per_pixel,
- pixels_offset, y);
+ a->paint(p, get_text_colour(), _text_size.height(),
+ left, right, samples_per_pixel, pixels_offset, y);
}
}
}
}