From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Mon, 22 Aug 2022 17:11:11 +0000 (+0530)
Subject: VFO: show freq readout till step in white and rest in grey
X-Git-Url: https://git.rkrishnan.org/vdrive/%22file:/listings/$rel_link?a=commitdiff_plain;h=ce581a017f8465e4c7a412243d6f4703d0205e41;p=pihpsdr.git

VFO: show freq readout till step in white and rest in grey
---

diff --git a/vfo.c b/vfo.c
index 1a02085..c6cc320 100644
--- 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",