From: John Melton G0ORX Date: Tue, 8 Dec 2020 15:36:21 +0000 (+0000) Subject: Cleanup radio.c and vfo.c X-Git-Url: https://git.rkrishnan.org/pf/components/install.html?a=commitdiff_plain;h=43834307bdca7babe13af68db1169735ec5601dc;p=pihpsdr.git Cleanup radio.c and vfo.c --- diff --git a/radio.c b/radio.c index ed6d2cf..b148f7e 100644 --- a/radio.c +++ b/radio.c @@ -465,14 +465,14 @@ static void create_visual() { GtkWidget *minimize_b=gtk_button_new_with_label("Hide"); - gtk_widget_override_font(minimize_b, pango_font_description_from_string("FreeMono Bold 10")); + gtk_widget_override_font(minimize_b, pango_font_description_from_string("FreeSans Bold 10")); gtk_widget_set_size_request (minimize_b, MENU_WIDTH, MENU_HEIGHT); g_signal_connect (minimize_b, "button-press-event", G_CALLBACK(minimize_cb), NULL) ; gtk_fixed_put(GTK_FIXED(fixed),minimize_b,VFO_WIDTH+METER_WIDTH,y); y+=MENU_HEIGHT; GtkWidget *menu_b=gtk_button_new_with_label("Menu"); - gtk_widget_override_font(menu_b, pango_font_description_from_string("FreeMono Bold 10")); + gtk_widget_override_font(menu_b, pango_font_description_from_string("FreeSans Bold 10")); gtk_widget_set_size_request (menu_b, MENU_WIDTH, MENU_HEIGHT); g_signal_connect (menu_b, "button-press-event", G_CALLBACK(menu_cb), NULL) ; gtk_fixed_put(GTK_FIXED(fixed),menu_b,VFO_WIDTH+METER_WIDTH,y); diff --git a/vfo.c b/vfo.c index 6388ec6..b056147 100644 --- a/vfo.c +++ b/vfo.c @@ -911,7 +911,6 @@ void vfo_update() { cairo_set_source_rgb (cr, 0.0, 0.0, 0.0); cairo_paint (cr); - //cairo_select_font_face(cr, "FreeMono", cairo_select_font_face(cr, "FreeSans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD); @@ -1172,7 +1171,7 @@ void vfo_update() { } else { cairo_set_source_rgb(cr, 0.7, 0.7, 0.7); } - cairo_show_text(cr, "Split"); + cairo_show_text(cr, "SPLIT"); cairo_move_to(cr, 260, 28); if(sat_mode!=SAT_NONE) {