]> sigrok.org Git - pulseview.git/commit
DecodeTrace: Improve annotation block drawing
authorSoeren Apel <redacted>
Wed, 30 Dec 2015 17:00:46 +0000 (18:00 +0100)
committerUwe Hermann <redacted>
Wed, 30 Dec 2015 22:15:52 +0000 (23:15 +0100)
commit3370799041d0ee09bf1c7c4f006933778579c037
tree10b27028ee6febaabaf53e5e9873afa3efd9355c
parentfcb97d775ddc37e59efc195666d612da9dba04d1
DecodeTrace: Improve annotation block drawing

Instead of just drawing blocks using the color of the first
annotation in the block, draw a "special" annotation
with a dotted pattern.
The color of this annotation depends on the annotations
in that range: a color is used if they're all of the same
annotation class. If there's different kinds, gray is used.
pv/view/decodetrace.cpp
pv/view/decodetrace.hpp