summaryrefslogtreecommitdiff
path: root/navit/graphics.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-11-05 23:22:56 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-11-05 23:22:56 +0000
commit395a41900b87e9f6d637de13f0b5bbab79c49c42 (patch)
tree86428985ffaaaccb7f3289a5d8f3ea4b40ef470d /navit/graphics.h
parent9302afa312939cf7c21ab4fda10796c3dea62dc4 (diff)
downloadnavit-svn-395a41900b87e9f6d637de13f0b5bbab79c49c42.tar.gz
Fix:Core:Cleaned up osd api
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1648 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.h')
-rw-r--r--navit/graphics.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/graphics.h b/navit/graphics.h
index 816212c6..0aa5b67b 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);
+ struct graphics_priv *(*overlay_new)(struct graphics_priv *gr, struct graphics_methods *meth, struct point *p, int w, int h, int alpha);
struct graphics_image_priv *(*image_new)(struct graphics_priv *gr, struct graphics_image_methods *meth, char *path, int *w, int *h, struct point *hot);
void *(*get_data)(struct graphics_priv *gr, char *type);
void (*image_free)(struct graphics_priv *gr, struct graphics_image_priv *priv);
@@ -123,7 +123,7 @@ struct transformation;
struct callback;
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);
+struct graphics *graphics_overlay_new(struct graphics *parent, struct point *p, int w, int h, int alpha);
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);
@@ -148,6 +148,7 @@ void graphics_get_text_bbox(struct graphics *this_, struct graphics_font *font,
void graphics_overlay_disable(struct graphics *this_, int disable);
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);
void display_add(struct displaylist *displaylist, struct item *item, int count, struct point *pnt, char *label);
int graphics_ready(struct graphics *this_);
void graphics_displaylist_draw(struct graphics *gra, struct displaylist *displaylist, struct transformation *trans, struct layout *l, int callback);