navit
0.5.1-trunk
|
Go to the source code of this file.
Data Structures | |
struct | element |
struct | itemgra |
struct | layer |
struct | cursor |
struct | layout |
Functions | |
struct layout * | layout_new (struct attr *parent, struct attr **attrs) |
struct attr_iter * | layout_attr_iter_new (void) |
void | layout_attr_iter_destroy (struct attr_iter *iter) |
int | layout_get_attr (struct layout *layout, enum attr_type type, struct attr *attr, struct attr_iter *iter) |
int | layout_add_attr (struct layout *layout, struct attr *attr) |
struct cursor * | layout_get_cursor (struct layout *this_, char *name) |
struct cursor * | cursor_new (struct attr *parent, struct attr **attrs) |
void | cursor_destroy (struct cursor *this_) |
int | cursor_add_attr (struct cursor *this_, struct attr *attr) |
struct layer * | layer_new (struct attr *parent, struct attr **attrs) |
int | layer_get_attr (struct layer *layer, enum attr_type type, struct attr *attr, struct attr_iter *iter) |
int | layer_add_attr (struct layer *layer, struct attr *attr) |
int | layer_set_attr (struct layer *layer, struct attr *attr) |
struct itemgra * | itemgra_new (struct attr *parent, struct attr **attrs) |
int | itemgra_add_attr (struct itemgra *itemgra, struct attr *attr) |
struct polygon * | polygon_new (struct attr *parent, struct attr **attrs) |
struct polyline * | polyline_new (struct attr *parent, struct attr **attrs) |
struct circle * | circle_new (struct attr *parent, struct attr **attrs) |
struct text * | text_new (struct attr *parent, struct attr **attrs) |
struct icon * | icon_new (struct attr *parent, struct attr **attrs) |
struct image * | image_new (struct attr *parent, struct attr **attrs) |
struct arrows * | arrows_new (struct attr *parent, struct attr **attrs) |
int | element_add_attr (struct element *e, struct attr *attr) |
References element::element_arrows, element_set_color(), and element::type.
References attr_generic_add_attr(), cursor::attrs, and attr::type.
Referenced by osd_marker_init().
void cursor_destroy | ( | struct cursor * | this_ | ) |
References cursor::name, and cursor::sequence_range.
References attr_search(), dbg, lvl_info, range::max, range::min, name, attr::num, attr::range, attr::str, and attr::u.
Referenced by osd_marker_init().
References element::coord, attr::coord, element::coord_count, attr::type, and attr::u.
Referenced by osd_marker_init().
References attr_search(), element::icon, attr::icon, attr::num, attr::str, element::type, element::u, and attr::u.
References element::element_image, and element::type.
References attr_to_name(), dbg, attr::element, itemgra::elements, lvl_error, attr::type, and attr::u.
Referenced by osd_marker_init().
References attr_search(), attr::item_types, range::max, range::min, attr::range, type, and attr::u.
Referenced by osd_marker_init().
References attr::itemgra, layer::itemgras, attr::type, and attr::u.
int layer_get_attr | ( | struct layer * | layer, |
enum attr_type | type, | ||
struct attr * | attr, | ||
struct attr_iter * | iter | ||
) |
References layer::active, layer::details, layer::name, attr::num, attr::str, type, attr::type, and attr::u.
References layer::active, dbg, layer_func, layer_set_attr_do(), attr::layout, lvl_error, layer::name, layer::navit, layout::navit, navit_object_ref(), attr::type, and attr::u.
References layer_set_attr_do().
References attr_generic_add_attr(), attr::cursor, layout::cursors, attr::layer, layout::layers, attr::type, and attr::u.
void layout_attr_iter_destroy | ( | struct attr_iter * | iter | ) |
struct attr_iter* layout_attr_iter_new | ( | void | ) |
int layout_get_attr | ( | struct layout * | layout, |
enum attr_type | type, | ||
struct attr * | attr, | ||
struct attr_iter * | iter | ||
) |
References layout::active, attr::cursor, layout::cursors, layout::dayname, attr_iter::last, attr::layer, layout::layers, layout::name, layout::nightname, attr::num, attr::str, type, attr::type, and attr::u.
Referenced by navit_add_layout(), and request_layout_get_attr().
Searchs the layout for a cursor with the given name.
layout | The layout |
name | The name |
References c, and layout::cursors.
Referenced by navit_set_cursors().
Navit, a modular navigation system. Copyright (C) 2005-2009 Navit Team
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
References layout::active, attr_search(), layout::color, attr::color, COLOR_BACKGROUND_, layout::dayname, layout::font, layout_func, layout::name, layout::navit, attr::navit, navit_object_ref(), layout::nightname, attr::num, layout::order_delta, attr::str, and attr::u.
References element::element_polygon, element_set_color(), element::polygon, and element::type.
Referenced by osd_marker_init().