]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
VFO: show freq readout till step in white and rest in grey
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 22 Aug 2022 17:11:11 +0000 (22:41 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 22 Aug 2022 17:11:11 +0000 (22:41 +0530)
vfo.c

diff --git a/vfo.c b/vfo.c
index 1a02085435f6eb3109efac597569782abadea034..c6cc320265745e7917c953238a009d61dd2d9b2d 100644 (file)
--- a/vfo.c
+++ b/vfo.c
@@ -1051,15 +1051,15 @@ void vfo_update() {
         // cairo_show_text(cr, temp_text);
 
         // try to show VFO text according to step value
-        cairo_set_source_rgb(cr, 0.0, 1.0, 0.0);
+        cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
         cairo_show_text(cr, vfo_texts[0]);
-        // show the step digit in white
+        // show the step digit and the rest in grey
         cairo_set_font_size(cr, 50);
-        cairo_set_source_rgb(cr, 0.0, 1.0, 1.0);
+        cairo_set_source_rgb(cr, 0.75, 0.75, 0.75);
         cairo_show_text(cr, ".");
-        cairo_set_source_rgb(cr, 0.75, 1.0, 1.0);
+       cairo_set_source_rgb(cr, 0.75, 0.75, 0.75);
         cairo_show_text(cr, vfo_texts[1]);
-        cairo_set_source_rgb(cr, 0.75, 1.0, 1.0);
+       cairo_set_source_rgb(cr, 0.75, 0.75, 0.75);
         cairo_show_text(cr, vfo_texts[2]);
 
         cairo_select_font_face(cr, "Cantarell",