diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-13 15:21:58 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-13 15:21:58 +0000 |
commit | 605fe93a28f969f8570ad6e75e01c40b9382f363 (patch) | |
tree | 2af4686150fecb1adf9a0d1a3e666db5de6035b3 /navit/graphics.h | |
parent | 5c197d8f76ce99c03583e8b0dec65d9ee97d9231 (diff) | |
download | navit-605fe93a28f969f8570ad6e75e01c40b9382f363.tar.gz |
Add:Core:Added parameter wraparound for overlay
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1723 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.h')
-rw-r--r-- | navit/graphics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/graphics.h b/navit/graphics.h index 237046175..9ff2d4b73 100644 --- a/navit/graphics.h +++ b/navit/graphics.h @@ -60,7 +60,7 @@ struct graphics_methods { struct graphics_font_priv *(*font_new)(struct graphics_priv *gr, struct graphics_font_methods *meth, char *font, int size, int flags); struct graphics_gc_priv *(*gc_new)(struct graphics_priv *gr, struct graphics_gc_methods *meth); void (*background_gc)(struct graphics_priv *gr, struct graphics_gc_priv *gc); - struct graphics_priv *(*overlay_new)(struct graphics_priv *gr, struct graphics_methods *meth, struct point *p, int w, int h, int alpha); + struct graphics_priv *(*overlay_new)(struct graphics_priv *gr, struct graphics_methods *meth, struct point *p, int w, int h, int alpha, int wraparound); struct graphics_image_priv *(*image_new)(struct graphics_priv *gr, struct graphics_image_methods *meth, char *path, int *w, int *h, struct point *hot, int rotation); void *(*get_data)(struct graphics_priv *gr, char *type); void (*image_free)(struct graphics_priv *gr, struct graphics_image_priv *priv); @@ -124,7 +124,7 @@ 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); +struct graphics *graphics_overlay_new(struct graphics *parent, 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); |