]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
vfo: add a dot before the step digit and the rest is rendered
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 22 Aug 2022 04:03:12 +0000 (09:33 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 22 Aug 2022 04:03:12 +0000 (09:33 +0530)
vfo.c

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);