while ((item=map_rect_get_item(mr)) && item->type == type_nav_position);
if (item && item_attr_get(item, attr_navigation_speech, &attr)) {
speech_say(this_->speech, attr.u.str);
- navit_textfile_debug_log(this_, "item=point_debug debug=\"speech_say('%s')\"", attr.u.str);
+ navit_textfile_debug_log(this_, "type=announcement label=\"%s\"", attr.u.str);
}
map_rect_destroy(mr);
}
if (!log_get_attr(log, attr_type, &type_attr, NULL))
return 0;
if (!strcmp(type_attr.u.str, "textfile_debug")) {
+ char *header = "type=track_tracked\n";
if (this_->textfile_debug_log)
return 0;
+ log_set_header(log, header, strlen(header));
this_->textfile_debug_log=log;
return 1;
}
navit_set_position(this_, &cursor_pc);
}
}
+ navit_textfile_debug_log(this_, "type=trackpoint_tracked");
transform(this_->trans, pro, &nv->coord, &cursor_pnt, 1, 0);
if (!transform_within_border(this_->trans, &cursor_pnt, border)) {
if (!this_->cursor_flag) {
<itemgra item_types="track" order="7-">
<polyline color="#3f3f3f" width="1" />
</itemgra>
+ <itemgra item_types="track_tracked" order="7-">
+ <polyline color="#3f3fff" width="3" />
+ </itemgra>
<itemgra item_types="poi_airport" order="5-">
<icon src="airport.xpm" />
</itemgra>
<itemgra item_types="nav_none" order="0-">
<icon src="unknown.xpm" />
</itemgra>
+ <itemgra item_types="announcement" order="7-">
+ <icon src="gui_sound_32_32.png" />
+ <circle color="#FF089C" radius="10" text_size="7" />
+ </itemgra>
<!-- I'm not sure if the following stuff should appear in any layout. Maybe portions should only apply to the bicyle layout. -->