projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c5ac41
)
vfo: add a dot before the step digit and the rest is rendered
author
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Mon, 22 Aug 2022 04:03:12 +0000
(09:33 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Mon, 22 Aug 2022 04:03:12 +0000
(09:33 +0530)
vfo.c
patch
|
blob
|
history
diff --git
a/vfo.c
b/vfo.c
index 0ff45b782fe7879222a63bb493db865a589d1a41..1a02085435f6eb3109efac597569782abadea034 100644
(file)
--- a/
vfo.c
+++ b/
vfo.c
@@
-1054,7
+1054,9
@@
void vfo_update() {
cairo_set_source_rgb(cr, 0.0, 1.0, 0.0);
cairo_show_text(cr, vfo_texts[0]);
// show the step digit in white
- cairo_set_font_size(cr, 50);
+ cairo_set_font_size(cr, 50);
+ cairo_set_source_rgb(cr, 0.0, 1.0, 1.0);
+ cairo_show_text(cr, ".");
cairo_set_source_rgb(cr, 0.75, 1.0, 1.0);
cairo_show_text(cr, vfo_texts[1]);
cairo_set_source_rgb(cr, 0.75, 1.0, 1.0);