diff options
author | tinloaf <tinloaf@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-03-17 21:19:10 +0000 |
---|---|---|
committer | tinloaf <tinloaf@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-03-17 21:19:10 +0000 |
commit | 7a7d372fe2e99f878b00bb701a0772d486fcaab6 (patch) | |
tree | e2ec293cc4c422a352b584050f06dfc0dff18621 /navit/graphics.h | |
parent | 2d5300a7ae19df3239419584e955a5fd6354c4d4 (diff) | |
download | navit-7a7d372fe2e99f878b00bb701a0772d486fcaab6.tar.gz |
Add:Core:Adding the possibility to resize overlays
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2141 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.h')
-rw-r--r-- | navit/graphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/graphics.h b/navit/graphics.h index 00e1c4216..27b877b3f 100644 --- a/navit/graphics.h +++ b/navit/graphics.h @@ -66,6 +66,7 @@ struct graphics_methods { void (*image_free)(struct graphics_priv *gr, struct graphics_image_priv *priv); void (*get_text_bbox)(struct graphics_priv *gr, struct graphics_font_priv *font, char *text, int dx, int dy, struct point *ret, int estimate); void (*overlay_disable)(struct graphics_priv *gr, int disable); + void (*overlay_resize)(struct graphics_priv *gr, struct point *p, int w, int h, int alpha, int wraparound); }; @@ -152,6 +153,7 @@ 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); |