From 802873cb504a9e5e1d19ee47fa00bfcb8f524d97 Mon Sep 17 00:00:00 2001 From: martin-s Date: Thu, 6 Nov 2008 21:46:19 +0000 Subject: Fix:Core:Fix some compile warnings git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1663 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/graphics.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'navit/graphics.h') diff --git a/navit/graphics.h b/navit/graphics.h index a168d6fd7..237046175 100644 --- a/navit/graphics.h +++ b/navit/graphics.h @@ -121,6 +121,7 @@ struct layout; struct point; struct transformation; struct callback; +struct itemgra; 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); @@ -136,6 +137,7 @@ void graphics_gc_set_background(struct graphics_gc *gc, struct color *c); void graphics_gc_set_linewidth(struct graphics_gc *gc, int width); void graphics_gc_set_dashes(struct graphics_gc *gc, int width, int offset, unsigned char dash_list[], int n); struct graphics_image * graphics_image_new_scaled(struct graphics *gra, char *path, int w, int h); +struct graphics_image * graphics_image_new_scaled_rotated(struct graphics *gra, char *path, int w, int h, int rotate); struct graphics_image *graphics_image_new(struct graphics *gra, char *path); void graphics_image_free(struct graphics *gra, struct graphics_image *img); void graphics_draw_restore(struct graphics *this_, struct point *p, int w, int h); @@ -153,6 +155,7 @@ void display_add(struct displaylist *displaylist, struct item *item, int count, int graphics_ready(struct graphics *this_); void graphics_displaylist_draw(struct graphics *gra, struct displaylist *displaylist, struct transformation *trans, struct layout *l, int callback); void graphics_displaylist_move(struct displaylist *displaylist, int dx, int dy); +void graphics_draw_itemgra(struct graphics *gra, struct itemgra *itm, struct transformation *t); void graphics_draw(struct graphics *gra, struct displaylist *displaylist, GList *mapsets, struct transformation *trans, struct layout *l); struct displaylist_handle *graphics_displaylist_open(struct displaylist *displaylist); struct displayitem *graphics_displaylist_next(struct displaylist_handle *dlh); -- cgit v1.2.1