summaryrefslogtreecommitdiff
path: root/navit/graphics.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-08-16 17:27:13 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-08-16 17:27:13 +0000
commit57f7243fe7e65237848bcfe81acdf045f76f7fa5 (patch)
tree7a335d4d404842f8b1081d8ea7d81258982ad1a4 /navit/graphics.h
parent8f242044df9debf8ad576980ebd6d1e8562d44b0 (diff)
downloadnavit-57f7243fe7e65237848bcfe81acdf045f76f7fa5.tar.gz
Add:Core:And another batch of android updates
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2470 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.h')
-rw-r--r--navit/graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/navit/graphics.h b/navit/graphics.h
index 447243b96..8136dc03d 100644
--- a/navit/graphics.h
+++ b/navit/graphics.h
@@ -128,6 +128,7 @@ struct graphics_image;
struct item;
struct itemgra;
struct layout;
+struct mapset;
struct point;
struct point_rect;
struct transformation;
@@ -135,6 +136,7 @@ void graphics_set_rect(struct graphics *gra, struct point_rect *pr);
struct graphics *graphics_new(struct attr *parent, struct attr **attrs);
int graphics_get_attr(struct graphics *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
struct graphics *graphics_overlay_new(struct graphics *parent, struct point *p, int w, int h, int alpha, int wraparound);
+void graphics_overlay_resize(struct graphics *this_, struct point *p, int w, int h, int alpha, int wraparound);
void graphics_init(struct graphics *this_);
void *graphics_get_data(struct graphics *this_, char *type);
void graphics_add_callback(struct graphics *this_, struct callback *cb);
@@ -161,10 +163,10 @@ void graphics_draw_rectangle_rounded(struct graphics *this_, struct graphics_gc
void graphics_draw_text(struct graphics *this_, struct graphics_gc *gc1, struct graphics_gc *gc2, struct graphics_font *font, char *text, struct point *p, int dx, int dy);
void graphics_get_text_bbox(struct graphics *this_, struct graphics_font *font, char *text, int dx, int dy, struct point *ret, int estimate);
void graphics_overlay_disable(struct graphics *this_, int disable);
-void graphics_overlay_resize(struct graphics *this_, struct point *p, int w, int h, int alpha, int wraparound);
void graphics_draw_image(struct graphics *this_, struct graphics_gc *gc, struct point *p, struct graphics_image *img);
int graphics_draw_drag(struct graphics *this_, struct point *p);
void graphics_background_gc(struct graphics *this_, struct graphics_gc *gc);
+char *graphics_icon_path(char *icon);
void graphics_draw_itemgra(struct graphics *gra, struct itemgra *itm, struct transformation *t);
void graphics_displaylist_draw(struct graphics *gra, struct displaylist *displaylist, struct transformation *trans, struct layout *l, int callback);
void graphics_draw(struct graphics *gra, struct displaylist *displaylist, struct mapset *mapset, struct transformation *trans, struct layout *l, int async, struct callback *cb);