projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6f8e8
)
show step digit in VFO as white instead of RED
author
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Mon, 3 Jan 2022 10:13:40 +0000
(15:43 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Mon, 3 Jan 2022 10:13:40 +0000
(15:43 +0530)
vfo.c
patch
|
blob
|
history
diff --git
a/vfo.c
b/vfo.c
index 2c80ecef7a58b02edfa30092b9f3d5a7cedc0faf..f430e1c2b4cd7f2eea5305d0f381d1b393ef7f25 100644
(file)
--- a/
vfo.c
+++ b/
vfo.c
@@
-1035,7
+1035,8
@@
void vfo_update() {
// try to show VFO text according to step value
cairo_set_source_rgb(cr, 0.0, 1.0, 0.0);
cairo_show_text(cr, vfo_texts[0]);
- cairo_set_source_rgb(cr, 1.0, 0.0, 0.0);
+ // show the step digit in white
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
cairo_show_text(cr, vfo_texts[1]);
cairo_set_source_rgb(cr, 0.0, 1.0, 0.0);
cairo_show_text(cr, vfo_texts[2]);