navit  0.5.3-trunk
attr_def.h
Go to the documentation of this file.
1 /*
2  * Navit, a modular navigation system.
3  * Copyright (C) 2005-2014 Navit Team
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public License
7  * version 2 as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this program; if not, write to the
16  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19 
29 /* prototypes */
30 
31 /* common */
32 ATTR2(0x00000000,none)
33 ATTR(any)
34 ATTR(any_xml)
35 
36 ATTR2(0x00010000,type_item_begin)
37 ATTR(town_streets_item)
40 ATTR(street_item)
42 ATTR(position_sat_item)
43 ATTR(current_item)
44 ATTR2(0x0001ffff,type_item_end)
45 
46 ATTR2(0x00020000,type_int_begin)
48 ATTR(id)
49 ATTR(flags)
53 ATTR(flush_size)
54 ATTR(flush_time)
55 ATTR(zipfile_ref)
56 ATTR(country_id)
57 ATTR(position_sats)
58 ATTR(position_sats_used)
59 ATTR(update)
60 ATTR(follow)
61 ATTR(length)
62 ATTR(time)
63 ATTR(destination_length)
64 ATTR(destination_time)
65 ATTR(speed)
66 ATTR(interval)
67 ATTR(position_qual)
68 ATTR(zoom)
69 ATTR(retry_interval)
71 ATTR(offroad)
72 ATTR(vocabulary_name)
73 ATTR(vocabulary_name_systematic)
74 ATTR(vocabulary_distances)
76 ATTR(antialias)
77 ATTR(order_delta)
78 ATTR(baudrate)
80 ATTR(icon_xs)
81 ATTR(icon_l)
82 ATTR(icon_s)
83 ATTR(spacing)
84 ATTR(recent_dest)
85 ATTR(destination_distance)
86 ATTR(check_version)
87 ATTR(details)
88 ATTR(width)
89 ATTR(offset)
90 ATTR(directed)
91 ATTR(radius)
92 ATTR(text_size)
93 ATTR(level)
94 ATTR(icon_w)
95 ATTR(icon_h)
96 ATTR(rotation)
97 ATTR(checksum_ignore)
98 ATTR(position_fix_type)
99 ATTR(timeout)
101 ATTR(keyboard)
102 ATTR(position_sats_signal)
103 ATTR(cps)
105 ATTR(osd_configuration)
106 ATTR(columns)
107 ATTR(align)
108 ATTR(sat_prn)
109 ATTR(sat_elevation)
110 ATTR(sat_azimuth)
111 ATTR(sat_snr)
112 ATTR(autozoom)
113 ATTR(version)
114 ATTR(autozoom_min)
115 ATTR(maxspeed)
116 ATTR(cdf_histsize)
117 ATTR(message_maxage)
118 ATTR(message_maxnum)
119 ATTR(pitch)
123 ATTR(route_weight)
125 ATTR(route_mode)
127 ATTR(flags_forward_mask)
128 ATTR(flags_reverse_mask)
130 ATTR(delay)
131 ATTR(lag)
132 ATTR(bpp)
134 ATTR(windowid)
135 ATTR(hog)
136 ATTR(flags_town)
137 ATTR(flags_street)
138 ATTR(flags_house_number)
139 ATTR(use_camera)
140 ATTR(flags_graphics)
141 ATTR(zoom_min)
142 ATTR(zoom_max)
143 ATTR(gamma)
144 ATTR(brightness)
145 ATTR(contrast)
146 ATTR(height)
150 ATTR(shmkey)
151 ATTR(vehicle_width)
152 ATTR(vehicle_length)
153 ATTR(vehicle_height)
154 ATTR(vehicle_weight)
155 ATTR(vehicle_axle_weight)
156 ATTR(vehicle_dangerous_goods)
157 ATTR(shmsize)
158 ATTR(shmoffset)
160 ATTR(static_speed)
161 ATTR(static_distance)
162 ATTR(through_traffic_penalty)
163 ATTR(through_traffic_flags)
164 ATTR(speed_exceed_limit_offset)
165 ATTR(speed_exceed_limit_percent)
166 ATTR(map_border)
167 ATTR(angle_pref)
168 ATTR(connected_pref)
169 ATTR(nostop_pref)
170 ATTR(offroad_limit_pref)
171 ATTR(route_pref)
172 ATTR(overspeed_pref)
173 ATTR(overspeed_percent_pref)
174 ATTR(autosave_period)
175 ATTR(tec_type)
176 ATTR(tec_dirtype)
177 ATTR(tec_direction)
178 ATTR(imperial)
179 ATTR(update_period)
180 ATTR(tunnel_extrapolation)
181 ATTR(street_count)
182 ATTR(min_dist)
183 ATTR(max_dist)
184 ATTR(cache_size)
191 ATTR(hide_impossible_next_keys)
192 ATTR(turn_around_count)
193 ATTR(turn_around_penalty)
194 ATTR(turn_around_penalty2)
195 ATTR(autozoom_max)
197 ATTR2(0x00027500,type_rel_abs_begin)
198 /* These attributes are int that can either hold relative or absolute values. See the
199  * documentation of ATTR_REL_RELSHIFT for details.
200  */
201 ATTR(h)
202 ATTR(w)
203 ATTR(x)
204 ATTR(y)
205 ATTR(font_size)
206 
207 ATTR2(0x00028000,type_boolean_begin)
208 /* boolean */
209 ATTR(overwrite)
210 ATTR(active)
211 ATTR(follow_cursor)
213 ATTR(tracking)
214 ATTR(menubar)
215 ATTR(statusbar)
216 ATTR(toolbar)
217 ATTR(animate)
218 ATTR(lazy)
219 ATTR(mkdir)
220 ATTR(predraw)
221 ATTR(postdraw)
222 ATTR(button)
223 ATTR(ondemand)
224 ATTR(menu_on_map_click)
225 ATTR(direction)
227 ATTR(gui_speech)
228 ATTR(town_id) /* fixme? */
229 ATTR(street_id) /* fixme? */
230 ATTR(district_id) /* fixme? */
231 ATTR(drag_bitmap)
232 ATTR(use_mousewheel)
234 ATTR(position_magnetic_direction)
235 ATTR(use_overlay)
237 ATTR(autozoom_active)
238 ATTR(position_valid)
239 ATTR(frame)
240 ATTR(tell_street_name)
241 ATTR(bluetooth)
242 ATTR(signal_on_map_click)
243 ATTR(route_active)
244 ATTR(search_active)
245 ATTR(unsuspend)
246 ATTR(announce_on)
247 ATTR(disable_reset)
248 ATTR(autostart)
249 ATTR(readwrite)
250 ATTR(cache)
251 ATTR(create)
252 ATTR(persistent)
253 ATTR(waypoints_flag) /* toggle for "set as destination" to switch between start a new route or add */
254 ATTR(no_warning_if_map_file_missing)
256 ATTR(has_menu_button)
257 ATTR2(0x0002ffff,type_int_end)
258 ATTR2(0x00030000,type_string_begin)
259 ATTR(type)
260 ATTR(label)
261 ATTR(data)
262 ATTR(charset)
263 ATTR(country_all)
264 ATTR(country_iso3)
265 ATTR(country_iso2)
266 ATTR(country_car)
267 ATTR(country_name)
268 ATTR(town_name)
269 ATTR(town_postal)
270 ATTR(district_name)
272 ATTR(street_name_systematic)
274 ATTR(debug)
275 ATTR(address)
276 ATTR(phone)
277 ATTR(entry_fee)
278 ATTR(open_hours)
279 ATTR(skin)
283 ATTR(window_title)
284 ATTR(qt5_platform)
285 ATTR(qt5_widget)
286 /* poi */
288 ATTR(info_html)
289 ATTR(price_html)
290 /* navigation */
291 ATTR(navigation_short)
292 ATTR(navigation_long)
293 ATTR(navigation_long_exact)
294 ATTR(navigation_speech)
295 ATTR(name)
296 ATTR(cursorname)
297 ATTR(source)
299 ATTR(gc_type)
301 ATTR(position_nmea)
302 ATTR(gpsd_query)
303 ATTR(on_eof)
304 ATTR(command)
305 ATTR(src)
306 ATTR(path)
307 ATTR(font)
308 ATTR(url_local)
312 ATTR(icon_src)
313 ATTR(position_time_iso8601)
314 ATTR(house_number)
315 ATTR(osm_member)
316 ATTR(osm_tag)
317 ATTR(municipality_name)
318 ATTR(county_name)
319 ATTR(state_name)
320 ATTR(message)
322 ATTR(enable_expression)
323 ATTR(fax)
324 ATTR(email)
325 ATTR(url)
326 ATTR(profilename)
327 ATTR(projectionname)
328 ATTR(town_or_district_name)
329 ATTR(postal)
330 ATTR(postal_mask)
337 ATTR(town_name_match)
338 ATTR(district_name_match)
339 ATTR(street_name_match)
340 ATTR(language)
341 ATTR(subtype)
342 ATTR(filter)
343 ATTR(daylayout)
344 ATTR(nightlayout)
345 ATTR(xml_text)
346 ATTR(layout_name)
349 ATTR(status_text)
350 ATTR(log_gpx_desc)
353 ATTR(socket)
354 /* These attributes for house number interpolation are only written by
355  * martin-s' (unpublished) GDF converter. */
356 ATTR(house_number_left)
357 ATTR(house_number_left_odd)
358 ATTR(house_number_left_even)
359 ATTR(house_number_right)
360 ATTR(house_number_right_odd)
361 ATTR(house_number_right_even)
362 ATTR(map_release)
363 ATTR(accesskey)
364 ATTR(http_method)
365 ATTR(http_header)
366 ATTR(progress)
367 ATTR(sample_dir)
368 ATTR(sample_suffix)
369 ATTR(dbus_destination)
370 ATTR(dbus_path)
371 ATTR(dbus_interface)
373 ATTR(osm_is_in)
374 ATTR(event_loop_system)
375 ATTR(map_name)
377 ATTR(state_file)
378 ATTR(on_map_click)
379 ATTR(route_depth)
380 ATTR(ref)
381 ATTR(tile_name)
382 ATTR(first_key)
383 ATTR(last_key)
384 ATTR(src_dir)
385 ATTR(refresh_cond)
386 /* House number interpolation information from OSM. For OSM data, the interpolation must
387  * exclude the end nodes, because these are imported as separate nodes. */
388 ATTR(house_number_interpolation_no_ends_incrmt_1)
389 ATTR(house_number_interpolation_no_ends_incrmt_2)
391 ATTR(street_name_systematic_nat)
392 ATTR(street_name_systematic_int)
394 ATTR(exit_to)
395 ATTR(street_destination_forward)
396 ATTR(street_destination_backward)
397 ATTR2(0x0003ffff,type_string_end)
398 ATTR2(0x00040000,type_special_begin)
399 ATTR(order)
402 ATTR(dash)
403 ATTR(sequence_range)
404 ATTR(angle_range)
405 ATTR(speed_range)
407 ATTR(ch_edge)
408 ATTR(zipfile_ref_block)
409 ATTR(item_id)
410 ATTR(pdl_gps_update)
411 ATTR2(0x0004ffff,type_special_end)
412 ATTR2(0x00050000,type_double_begin)
413 ATTR(position_height)
414 ATTR(position_speed)
415 ATTR(position_direction)
416 ATTR(position_hdop)
417 ATTR(position_radius)
418 ATTR(position_longitude)
419 ATTR(position_latitude)
420 ATTR(position_direction_matched)
421 ATTR2(0x0005ffff,type_double_end)
422 ATTR2(0x00060000,type_coord_geo_begin)
423 ATTR(position_coord_geo)
424 ATTR(center)
425 ATTR(click_coord_geo)
426 ATTR2(0x0006ffff,type_coord_geo_end)
427 ATTR2(0x00070000,type_color_begin)
428 ATTR(color)
430 ATTR(background_color)
431 ATTR(foreground_color)
432 ATTR(text_color)
433 ATTR(idle_color)
434 ATTR(background_color2)
435 ATTR(text_background)
436 ATTR(destination_dir_color)
437 ATTR(north_color)
438 ATTR2(0x0007ffff,type_color_end)
439 ATTR2(0x00080000,type_object_begin)
440 ATTR(navit)
441 ATTR(log)
442 ATTR(callback)
443 ATTR(route)
445 ATTR(vehicle)
446 ATTR(map)
447 ATTR(bookmark_map)
449 ATTR(former_destination_map)
450 ATTR(graphics)
451 ATTR(gui)
452 ATTR(trackingo) /* fixme */
453 ATTR(plugins)
454 ATTR(layer)
455 ATTR(itemgra)
456 ATTR(polygon)
457 ATTR(polyline)
458 ATTR(circle)
459 ATTR(text)
460 ATTR(icon)
461 ATTR(image)
462 ATTR(arrows)
463 ATTR(mapset)
464 ATTR(osd)
465 ATTR(plugin)
466 ATTR(speech)
467 ATTR(coord)
468 ATTR(private_data)
475 ATTR(cursor)
476 ATTR(config)
477 ATTR(maps)
478 ATTR(layout)
480 ATTR(script)
481 ATTR(traffic)
482 ATTR2(0x0008ffff,type_object_end)
483 ATTR2(0x00090000,type_coord_begin)
484 ATTR2(0x0009ffff,type_coord_end)
485 ATTR2(0x000a0000,type_pcoord_begin)
486 ATTR(destination)
487 ATTR(position)
488 ATTR(position_test)
489 ATTR2(0x000affff,type_pcoord_end)
490 ATTR2(0x000b0000,type_callback_begin)
491 ATTR(resize)
492 ATTR(motion)
493 ATTR(keypress)
494 ATTR(window_closed)
495 ATTR(log_gpx)
496 ATTR(log_textfile)
497 ATTR(graphics_ready)
498 ATTR(destroy)
499 ATTR(wm_copydata)
500 ATTR2(0x000bffff,type_callback_end)
501 ATTR2(0x000c0000,type_int64_begin)
502 ATTR(osm_nodeid)
503 ATTR(osm_wayid)
504 ATTR(osm_relationid)
505 ATTR(osm_nodeid_first_node)
506 ATTR(osm_nodeid_last_node)
507 ATTR2(0x000cffff,type_int64_end)
508 ATTR2(0x000d0000,type_group_begin)
509 ATTR2(0x000dffff,type_group_end)
510 ATTR2(0x000e0000,type_item_type_begin)
511 ATTR2(0x000effff,type_item_type_end)
int orientation
Definition: pedestrian.c:61
Definition: navigation.c:161
Definition: speech.c:28
int length
Definition: garmin_img.c:67
Definition: cache.c:23
struct polyline * polyline
Definition: attr.h:189
struct attr active
Definition: speech.c:77
GList * maps
Definition: map.c:29
Definition: messages.h:25
Definition: mg.h:144
enum attr_type * attr_types
Definition: attr.h:209
Definition: config_.c:34
Definition: script.c:28
static char * description(struct search_param *search, GtkTreeIter *iter)
Definition: destination.c:70
int offset
Definition: garmin_img.c:66
Definition: attr.h:272
Definition: binding_dbus.c:1968
struct icon * icon
Definition: attr.h:192
Definition: graphics.c:1288
Definition: color.h:23
A mapset.
Definition: mapset.c:44
struct image * image
Definition: attr.h:193
enum item_type * item_types
Definition: attr.h:208
unsigned char subtype
Definition: garmin_img.c:503
Definition: gui.c:30
Definition: garmin_img.c:476
unsigned short height
Definition: garmin_img.c:487
#define ATTR2(x, y)
Definition: attr.h:35
Definition: log.c:57
item_type
Definition: item.h:29
unsigned char zoom
Definition: garmin_img.c:473
Definition: vehicle.c:58
Definition: roadprofile.h:24
Definition: vehicleprofile.h:33
Definition: track.c:84
Definition: item.h:88
Definition: plugin.c:121
route_status
Definition: route.h:41
A complete route.
Definition: route.c:201
Definition: bookmarks.c:53
Definition: ch.c:35
Definition: plugin.c:132
dbg_level
Definition: debug.h:42
projection
Definition: projection.h:23
struct tcoord center
Definition: garmin_img.c:485
graphics object A graphics object serves as the target for drawing operations. It encapsulates variou...
Definition: graphics.c:70
static const int zoom_max
Definition: csv.c:175
Definition: layout.h:87
struct polygon * polygon
Definition: attr.h:188
Definition: callback.c:36
A traffic plugin instance.
Definition: traffic.c:102
char data
Definition: garmin_img.c:330
static gint keypress(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
Definition: graphics_gtk_drawing_area.c:694
Definition: item.c:29
Definition: callback.c:26
Definition: layout.h:71
Definition: filter.c:46
int * dash
Definition: attr.h:207
maxspeed_handling
Definition: vehicleprofile.h:26
Definition: announcement.c:25
Holds information about a map.
Definition: map.c:60
struct text * text
Definition: attr.h:191
FILE * debug
Definition: pedestrian.c:410
struct arrows * arrows
Definition: attr.h:194
char * version
Definition: main.c:31
Definition: osd.c:34
Definition: graphics.c:113
Definition: binfile.c:2023
struct label_data_offset label
Definition: garmin_img.c:377
char type[3]
Definition: garmin_img.c:123
Definition: coord.h:34
#define ATTR_UNUSED
Definition: attr.h:40
static int fullscreen(struct window *win, int on)
Definition: graphics_qt_qpainter.cpp:515
char name[0]
Definition: street.c:496
Definition: navit.c:112
Definition: profile_option.c:25
void command(struct attr *attr, char *expr)
Definition: command.c:1197
The parameters needed to transform a map for display.
Definition: transform.c:64
flags
Definition: gui_internal.h:26
unsigned short width
Definition: garmin_img.c:486
Definition: layout.h:77
A linked list containing the destination of the road.
Definition: navigation.c:353
Definition: layout.h:95