Add:Core:Adding relative sizes and positions for OSDs
[profile/ivi/navit.git] / navit / navit / attr_def.h
1 /**
2  * Navit, a modular navigation system.
3  * Copyright (C) 2005-2008 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
20 /* prototypes */
21
22 /* common */
23 ATTR2(0x00000000,none)
24 ATTR(any)
25
26 ATTR2(0x00010000,type_item_begin)
27 ATTR(town_streets_item)
28 ATTR(street_name_item)
29 ATTR(street_name_numbers_item)
30 ATTR(street_item)
31 ATTR(street_number_item)
32 ATTR(position_sat_item)
33 ATTR2(0x0001ffff,type_item_end)
34
35 ATTR2(0x00020000,type_int_begin)
36 ATTR(h_remove)
37 ATTR(id)
38 ATTR(flags)
39 ATTR(w_remove)
40 ATTR(x_remove)
41 ATTR(y_remove)
42 ATTR(flush_size)
43 ATTR(flush_time)
44 ATTR(zipfile_ref)
45 ATTR(country_id)
46 ATTR(position_sats)
47 ATTR(position_sats_used)
48 ATTR(update)
49 ATTR(follow)
50 ATTR(length)
51 ATTR(time)
52 ATTR(destination_length)
53 ATTR(destination_time)
54 ATTR(speed)
55 ATTR(interval)
56 ATTR(position_qual)
57 ATTR(zoom)
58 ATTR(retry_interval)
59 ATTR(projection)
60 ATTR(offroad)
61 ATTR(vocabulary_name)
62 ATTR(vocabulary_name_systematic)
63 ATTR(vocabulary_distances)
64 ATTR(announce_name_systematic_first)
65 ATTR(antialias)
66 ATTR(order_delta)
67 ATTR(baudrate)
68 ATTR(font_size_remove)
69 ATTR(icon_xs)
70 ATTR(icon_l)
71 ATTR(icon_s)
72 ATTR(spacing)
73 ATTR(recent_dest)
74 ATTR(destination_distance)
75 ATTR(check_version)
76 ATTR(details)
77 ATTR(width)
78 ATTR(offset)
79 ATTR(directed)
80 ATTR(radius)
81 ATTR(text_size)
82 ATTR(level)
83 ATTR(icon_w)
84 ATTR(icon_h)
85 ATTR(rotation)
86 ATTR(checksum_ignore)
87 ATTR(position_fix_type)
88 ATTR(timeout)
89 ATTR(orientation)
90 ATTR(keyboard)
91 ATTR(position_sats_signal)
92 ATTR(cps)
93 ATTR(fast)
94 ATTR(osd_configuration)
95 ATTR(columns)
96 ATTR(align)
97 ATTR(sat_prn)
98 ATTR(sat_elevation)
99 ATTR(sat_azimuth)
100 ATTR(sat_snr)
101 ATTR(autozoom)
102 ATTR(version)
103 ATTR(autozoom_min)
104 ATTR(maxspeed)
105 ATTR(cdf_histsize)
106 ATTR(message_maxage)
107 ATTR(message_maxnum)
108 ATTR(pitch)
109 ATTR(roll)
110 ATTR(yaw)
111 ATTR(route_status)
112
113 ATTR2(0x00027500,type_rel_abs_begin)
114 /* These attributes are int that can either hold relative               *
115  * or absolute values. A relative value is indicated by                 *
116  * adding 0x60000000.                                                                                                                                                           *
117  *                                                                                                                                                                                                                                      *
118  * The range of valid absolute values is -0x40000000 to                 *
119  * 0x40000000, the range of relative values is from                                     *
120  * -0x20000000 to 0x20000000.                                                                                                                           */
121 ATTR(h)
122 ATTR(w)
123 ATTR(x)
124 ATTR(y)
125 ATTR(font_size)
126
127 ATTR2(0x00028000,type_boolean_begin)
128 /* boolean */
129 ATTR(overwrite)
130 ATTR(active)
131 ATTR(cursor)
132 ATTR(orientation_removeme)
133 ATTR(tracking)
134 ATTR(menubar)
135 ATTR(statusbar)
136 ATTR(toolbar)
137 ATTR(animate)
138 ATTR(lazy)
139 ATTR(mkdir)
140 ATTR(predraw)
141 ATTR(postdraw)
142 ATTR(button)
143 ATTR(ondemand)
144 ATTR(menu_on_map_click)
145 ATTR(direction)
146 ATTR(route_follow_straight_REMOVE) // This is to be removed with the next version
147 ATTR(gui_speech)
148 ATTR(town_id) /* fixme? */
149 ATTR(street_id) /* fixme? */  
150 ATTR(district_id) /* fixme? */
151 ATTR(drag_bitmap)
152 ATTR(use_mousewheel)
153 ATTR(fullscreen)
154 ATTR(position_magnetic_direction)
155 ATTR(use_overlay)
156 ATTR(night_mode)
157 ATTR(autozoom_active)
158 ATTR2(0x0002ffff,type_int_end)
159 ATTR2(0x00030000,type_string_begin)
160 ATTR(type)
161 ATTR(label)
162 ATTR(data)
163 ATTR(charset)
164 ATTR(country_all)
165 ATTR(country_iso3)
166 ATTR(country_iso2)
167 ATTR(country_car)
168 ATTR(country_name)
169 ATTR(town_name)
170 ATTR(town_postal)
171 ATTR(district_name)
172 ATTR(street_name)
173 ATTR(street_name_systematic)
174 ATTR(street_number)
175 ATTR(debug)
176 ATTR(address)
177 ATTR(phone)
178 ATTR(entry_fee)
179 ATTR(open_hours)
180 ATTR(skin)
181 ATTR(fullscreen_removeme)
182 ATTR(view_mode)
183 ATTR(tilt)
184 ATTR(media_window_title)
185 ATTR(media_cmd)
186 ATTR(image_codec)
187 /* poi */
188 ATTR(icono)
189 ATTR(info_html)
190 ATTR(price_html)
191 /* navigation */
192 ATTR(navigation_short)
193 ATTR(navigation_long)
194 ATTR(navigation_long_exact)
195 ATTR(navigation_speech)
196 ATTR(name)
197 ATTR(source)
198 ATTR(description)
199 ATTR(gc_type)
200 ATTR(layout)
201 ATTR(position_nmea)
202 ATTR(gpsd_query)
203 ATTR(on_eof)
204 ATTR(command)
205 ATTR(src)
206 ATTR(path)
207 ATTR(font)
208 ATTR(url_local)
209 ATTR(gc_size)
210 ATTR(gc_difficulty)
211 ATTR(gc_terrain)
212 ATTR(icon_src)
213 ATTR(position_time_iso8601)
214 ATTR(house_number)
215 ATTR(osm_member)
216 ATTR(osm_tag)
217 ATTR(municipality_name)
218 ATTR(county_name)
219 ATTR(state_name)
220 ATTR(message)
221 ATTR(callbacks)
222 ATTR(enable_expression)
223 ATTR2(0x0003ffff,type_string_end)
224 ATTR2(0x00040000,type_special_begin)
225 ATTR(order)
226 ATTR(item_type)
227 ATTR(item_types)
228 ATTR(dash)
229 ATTR(sequence_range)
230 ATTR(angle_range)
231 ATTR(speed_range)
232 ATTR2(0x0004ffff,type_special_end)
233 ATTR2(0x00050000,type_double_begin)
234 ATTR(position_height)
235 ATTR(position_speed)
236 ATTR(position_direction)
237 ATTR(position_hdop)
238 ATTR2(0x0005ffff,type_double_end)
239 ATTR2(0x00060000,type_coord_geo_begin)
240 ATTR(position_coord_geo)
241 ATTR(center)
242 ATTR2(0x0006ffff,type_coord_geo_end)
243 ATTR2(0x00070000,type_color_begin)
244 ATTR(color)
245 ATTR(color2)
246 ATTR(background_color)
247 ATTR(text_color)
248 ATTR(background_color2)
249 ATTR2(0x0007ffff,type_color_end)
250 ATTR2(0x00080000,type_object_begin)
251 ATTR(navit)
252 ATTR(log)
253 ATTR(callback)
254 ATTR(route)
255 ATTR(navigation)
256 ATTR(vehicle)
257 ATTR(map)
258 ATTR(bookmark_map)
259 ATTR(former_destination_map)
260 ATTR(graphics)
261 ATTR(gui)
262 ATTR(trackingo) /* fixme */
263 ATTR(plugins)
264 ATTR(layer)
265 ATTR(itemgra)
266 ATTR(polygon)
267 ATTR(polyline)
268 ATTR(circle)
269 ATTR(text)
270 ATTR(icon)
271 ATTR(image)
272 ATTR(arrows)
273 ATTR(mapset)
274 ATTR(osd)
275 ATTR(plugin)
276 ATTR(speech)
277 ATTR(coord)
278 ATTR(private_data)
279 ATTR(callback_list)
280 ATTR(displaylist)
281 ATTR(transformation)
282 ATTR2(0x0008ffff,type_object_end)
283 ATTR2(0x00090000,type_coord_begin)
284 ATTR2(0x0009ffff,type_coord_end)
285 ATTR2(0x000a0000,type_pcoord_begin)
286 ATTR(destination)
287 ATTR(position)
288 ATTR2(0x000affff,type_pcoord_end)
289 ATTR2(0x000b0000,type_callback_begin)
290 ATTR(resize)
291 ATTR(motion)
292 ATTR(keypress)
293 ATTR2(0x000bffff,type_callback_end)
294 ATTR2(0x000c0000,type_int64_begin)
295 ATTR(osm_nodeid)
296 ATTR(osm_wayid)
297 ATTR(osm_relationid)
298 ATTR2(0x000cffff,type_int64_end)