vBuf 272 core/gps.c char vBuf[512]; vBuf 307 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_9), (int)pdelta.delta); vBuf 308 core/gps.c draw_txt_string(16, 9, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_WHITE)); vBuf 317 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_10), hour, minute, second); vBuf 318 core/gps.c draw_txt_string(16, 10, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_WHITE)); vBuf 320 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_11), formatDouble (anz1, (pspeed.delta * 3.6), 0, 1)); vBuf 321 core/gps.c draw_txt_string(16, 11, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_WHITE)); vBuf 322 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_12), direction); vBuf 323 core/gps.c draw_txt_string(16, 12, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_WHITE)); vBuf 324 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_13), (int)angle); vBuf 325 core/gps.c draw_txt_string(16, 13, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_WHITE)); vBuf 331 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_14), image); // "Navigation to photo: %s started" vBuf 332 core/gps.c draw_txt_centered(1, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_RED)); vBuf 337 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_17)); // "Navigation to Home started" vBuf 338 core/gps.c draw_txt_centered(1, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_RED)); vBuf 341 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_15), formatDouble (anz1, g_d_lat_nav, 0, 7), formatDouble (anz2, g_d_lon_nav, 0, 7)); //"latitude=%s - longitude=%s " vBuf 342 core/gps.c draw_txt_centered(2, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_RED)); vBuf 347 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_16), (int)angle1); // "heading = %i°" vBuf 348 core/gps.c draw_txt_string(16, 10, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_WHITE)); vBuf 349 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_15), formatDouble (anz1, g_d_lat_nav, 0, 7), formatDouble (anz2, g_d_lon_nav, 0, 7)); //"latitude=%s - longitude=%s " vBuf 350 core/gps.c draw_txt_string(16, 11, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_WHITE)); vBuf 834 core/gps.c char vBuf[100]; vBuf 858 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_3)); // "Battery below setting!" vBuf 859 core/gps.c draw_txt_centered(8, vBuf, MAKE_COLOR(COLOR_YELLOW, COLOR_RED)); vBuf 860 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_4),zba); // "Camera will shutdown in %02d seconds!" vBuf 861 core/gps.c draw_txt_centered(9, vBuf, MAKE_COLOR(COLOR_RED, COLOR_BLUE)); vBuf 915 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_6),minute, second); // "Camera will wait for GPS for %01d:%02d" vBuf 919 core/gps.c sprintf(vBuf, " %01d:%02d",minute, second); vBuf 921 core/gps.c draw_txt_centered(0, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_RED)); vBuf 1114 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_4), zba); // "Camera will shutdown in %02d seconds!" vBuf 1115 core/gps.c draw_txt_centered(2, vBuf, MAKE_COLOR(COLOR_WHITE, COLOR_BLUE)); vBuf 1116 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_18)); //"To cancel [Press half]" vBuf 1117 core/gps.c draw_txt_centered(3, vBuf, MAKE_COLOR(COLOR_WHITE, COLOR_RED)); vBuf 1159 core/gps.c char vBuf[512]; vBuf 1173 core/gps.c sprintf(vBuf, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"); vBuf 1174 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1175 core/gps.c sprintf(vBuf, "<gpx xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" version=\"1.1\" creator=\"CHDK\" xmlns=\"http://www.topografix.com/GPX/1/1\">\n"); vBuf 1176 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1177 core/gps.c sprintf(vBuf, " <metadata />\n"); vBuf 1178 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1179 core/gps.c sprintf(vBuf, " <trk>\n"); vBuf 1180 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1181 core/gps.c sprintf(vBuf, " <name />\n"); vBuf 1182 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1183 core/gps.c sprintf(vBuf, " <cmt />\n"); vBuf 1184 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1185 core/gps.c sprintf(vBuf, " <trkseg>\n"); vBuf 1186 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1187 core/gps.c sprintf(vBuf, " </trkseg>\n"); vBuf 1188 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1189 core/gps.c sprintf(vBuf, " </trk>\n"); vBuf 1190 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1191 core/gps.c sprintf(vBuf, "</gpx>\n"); vBuf 1192 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1236 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_3)); // "Battery below setting!" vBuf 1237 core/gps.c draw_txt_centered(8, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_RED)); vBuf 1238 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_4),zba); vBuf 1239 core/gps.c draw_txt_centered(9, vBuf, MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_RED)); vBuf 1274 core/gps.c sprintf(vBuf, " <trkpt lat=\"%s\" lon=\"%s\">\n",formatDouble (lat, l_lat, 0, 7), formatDouble (lon, l_lon, 0, 7)); vBuf 1275 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1276 core/gps.c sprintf(vBuf, " <ele>%s</ele>\n",formatDouble (hei, l_hei, 0, 2)); vBuf 1277 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1278 core/gps.c sprintf(vBuf, " <time>%sT%sZ</time>\n", l_dat, l_tim); vBuf 1279 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1280 core/gps.c sprintf(vBuf, " </trkpt>\n"); vBuf 1281 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1282 core/gps.c sprintf(vBuf, " </trkseg>\n"); vBuf 1283 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1284 core/gps.c sprintf(vBuf, " </trk>\n"); vBuf 1285 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1286 core/gps.c sprintf(vBuf, "</gpx>\n"); vBuf 1287 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1431 core/gps.c char vBuf[512]; vBuf 1465 core/gps.c sprintf(vBuf, "%s;%s;%s;%s;%sT%sZ;%i\n", vBuf 1477 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1487 core/gps.c sprintf(vBuf, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"); vBuf 1488 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1489 core/gps.c sprintf(vBuf, "<gpx xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" version=\"1.1\" creator=\"CHDK\" xmlns=\"http://www.topografix.com/GPX/1/1\">\n"); vBuf 1490 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1491 core/gps.c sprintf(vBuf, "</gpx>"); vBuf 1492 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1505 core/gps.c sprintf(vBuf, " <wpt lat=\"%s\" lon=\"%s\">\n",formatDouble (lat, l_lat, 0, 7), formatDouble (lon, l_lon, 0, 7)); vBuf 1506 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1507 core/gps.c sprintf(vBuf, " <ele>%s</ele>\n",formatDouble (hei, l_hei, 0, 2)); vBuf 1508 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1509 core/gps.c sprintf(vBuf, " <time>%sT%sZ</time>\n", l_dat, l_tim); vBuf 1510 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1511 core/gps.c sprintf(vBuf, " <gpst>%sT%sZ</gpst>\n", l_dat_gps, l_tim_gps); vBuf 1512 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1513 core/gps.c sprintf(vBuf, " <temp>%i</temp>\n", (int)get_optical_temp()); vBuf 1514 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1515 core/gps.c sprintf(vBuf, " <name>%s</name>\n", gpx_image_name); vBuf 1516 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1517 core/gps.c sprintf(vBuf, " </wpt>\n"); vBuf 1518 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1519 core/gps.c sprintf(vBuf, "</gpx>"); vBuf 1520 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1528 core/gps.c sprintf(vBuf, "%s %sT%sZ %i\n", vBuf 1548 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1561 core/gps.c char vBuf[30]; vBuf 1579 core/gps.c sprintf(vBuf, "%i\n", (long)(l_lat*10000000)); vBuf 1580 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1581 core/gps.c sprintf(vBuf, "%i\n", (long)(l_lon*10000000)); vBuf 1582 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1594 core/gps.c char vBuf[30]; vBuf 1613 core/gps.c sprintf(vBuf, "%i\n", (long)(l_lat*10000000)); vBuf 1614 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1615 core/gps.c sprintf(vBuf, "%i\n", (long)(l_lon*10000000)); vBuf 1616 core/gps.c fwrite(vBuf, strlen(vBuf), 1, fp); vBuf 1748 core/gps.c char vBuf[256]; vBuf 1749 core/gps.c sprintf(vBuf, lang_str(LANG_MENU_GPS_t_8), image); //"Cant navigate to photo: %s!" vBuf 1750 core/gps.c gui_mbox_init(LANG_ERROR, (int)vBuf, MBOX_BTN_OK|MBOX_TEXT_CENTER, NULL); //Cant navigate to photo: %s! vBuf 105 core/gps_simulate.c char vBuf[256]; vBuf 106 core/gps_simulate.c sprintf(vBuf, "%02d.%02d.%05d %02d.%02d.%05d", vBuf 113 core/gps_simulate.c draw_txt_string(1, 0, vBuf, MAKE_COLOR(COLOR_TRANSPARENT, COLOR_RED)); vBuf 833 core/gui.c char vBuf[16]; vBuf 848 core/gui.c sprintf(vBuf,"%d/%d",new_partition, partition_count); vBuf 849 core/gui.c partitions_enum=malloc((strlen(vBuf)+1)*sizeof(char)); vBuf 850 core/gui.c strcpy(partitions_enum,vBuf);