]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
change in VFO A and B coordinates
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Fri, 11 Feb 2022 17:57:22 +0000 (23:27 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Fri, 11 Feb 2022 17:57:22 +0000 (23:27 +0530)
vfo.c

diff --git a/vfo.c b/vfo.c
index 4c50cdf7768f4be8235e061309a5eab35aa66193..9973cf07298178aef273d88bd792d4e567cb0f3e 100644 (file)
--- a/vfo.c
+++ b/vfo.c
@@ -1014,7 +1014,7 @@ void vfo_update() {
        if(s >= STEPS)
             s=0;
 
-        sprintf(temp_text,"A: %0lld.%06lld",af/(long long)1000000,af%(long long)1000000);
+        sprintf(temp_text,"%0lld.%06lld",af/(long long)1000000,af%(long long)1000000);
         char **vfo_texts = draw_vfo_val(temp_text, s);
 
         if(txvfo == 0 && (isTransmitting() || oob)) {
@@ -1029,7 +1029,7 @@ void vfo_update() {
               cairo_set_source_rgb(cr, 0.0, 0.65, 0.0);
             }
         }
-        cairo_move_to(cr, 330, 75);
+        cairo_move_to(cr, 300, 95);
         cairo_set_font_size(cr, 70);
         // cairo_show_text(cr, temp_text);
 
@@ -1063,7 +1063,7 @@ void vfo_update() {
                 cairo_set_source_rgb(cr, 0.0, 0.65, 0.0);
             }
         }
-        cairo_move_to(cr, 580, 20);
+        cairo_move_to(cr, 300, 20);
         cairo_set_font_size(cr, 18);
         cairo_show_text(cr, temp_text);