]> sigrok.org Git - pulseview.git/commit
ViewItem: Adjust the threshold between dark and light colors
authorJens Steinhauser <redacted>
Thu, 3 Sep 2015 12:47:13 +0000 (14:47 +0200)
committerUwe Hermann <redacted>
Fri, 4 Sep 2015 10:54:52 +0000 (12:54 +0200)
commit20dd116e6f728645b4c9c8ba6c74f535759d7a1a
tree51a100d469c8fe1686300cd9ebf54b035fbc0024
parent32c589f0f6a2218e81d4ee984335c4a88c79b35f
ViewItem: Adjust the threshold between dark and light colors

Previously, the function returned 'Qt::black' for all used colors except
when black itself was passed in, making the text on brown, blue or violet
backgrounds very hard to read.
pv/view/viewitem.cpp