455 |
ihbox = gtk_hbox_new(FALSE, 0); |
ihbox = gtk_hbox_new(FALSE, 0); |
456 |
gtk_box_pack_start(GTK_BOX(ihbox), gtk_image_new_from_pixbuf( |
gtk_box_pack_start(GTK_BOX(ihbox), gtk_image_new_from_pixbuf( |
457 |
icon_bearing(*refpos, wpt->pos)),1,0,0); |
icon_bearing(*refpos, wpt->pos)),1,0,0); |
|
gtk_box_pack_start_defaults(GTK_BOX(ihbox), |
|
|
GTK_LABEL_SMALL((char*)pos_get_bearing_str(*refpos, wpt->pos))); |
|
458 |
snprintf(str, sizeof(str), _("%.1f°"), |
snprintf(str, sizeof(str), _("%.1f°"), |
459 |
gpx_pos_get_bearing(*refpos, wpt->pos)); |
gpx_pos_get_bearing(*refpos, wpt->pos)); |
460 |
gtk_box_pack_start_defaults(GTK_BOX(ihbox), GTK_LABEL_SMALL(str)); |
gtk_box_pack_start_defaults(GTK_BOX(ihbox), GTK_LABEL_SMALL(str)); |