projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d37da
)
Adjusted annotation height
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 10 Nov 2013 21:43:53 +0000
(21:43 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Tue, 19 Nov 2013 19:32:10 +0000
(19:32 +0000)
pv/view/decode/annotation.cpp
patch
|
blob
|
history
diff --git
a/pv/view/decode/annotation.cpp
b/pv/view/decode/annotation.cpp
index 797b428ae781354afe66b71a2860a89ef408a72e..7650b29e7715f48f419250ccc4787df1c5d40a02 100644
(file)
--- a/
pv/view/decode/annotation.cpp
+++ b/
pv/view/decode/annotation.cpp
@@
-71,7
+71,7
@@
void Annotation::paint(QPainter &p, QColor text_color, int text_height,
int left, int right, double samples_per_pixel, double pixels_offset,
int y)
{
- const int h = (text_height *
3) / 2
;
+ const int h = (text_height *
5) / 4
;
const double start = _start_sample / samples_per_pixel -
pixels_offset;
const double end = _end_sample / samples_per_pixel -