summaryrefslogtreecommitdiff
path: root/navit/graphics.h
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2015-03-03 16:43:25 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2015-03-03 16:43:25 +0000
commitdbca8c02604ce2439662918daf7b072e59d99d7d (patch)
tree78551f14bd342c9591bde013f81d9c778398e297 /navit/graphics.h
parentf3b603d4a535a8716255cabe5e6a90d19f80b76f (diff)
downloadnavit-dbca8c02604ce2439662918daf7b072e59d99d7d.tar.gz
Refactor:core:Remove unused method graphics_draw_restore.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6015 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.h')
-rw-r--r--navit/graphics.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/navit/graphics.h b/navit/graphics.h
index 4438fa664..d41c31f7b 100644
--- a/navit/graphics.h
+++ b/navit/graphics.h
@@ -69,7 +69,6 @@ struct graphics_methods {
void (*draw_text)(struct graphics_priv *gr, struct graphics_gc_priv *fg, struct graphics_gc_priv *bg, struct graphics_font_priv *font, char *text, struct point *p, int dx, int dy);
void (*draw_image)(struct graphics_priv *gr, struct graphics_gc_priv *fg, struct point *p, struct graphics_image_priv *img);
void (*draw_image_warp)(struct graphics_priv *gr, struct graphics_gc_priv *fg, struct point *p, int count, struct graphics_image_priv *img);
- void (*draw_restore)(struct graphics_priv *gr, struct point *p, int w, int h);
void (*draw_drag)(struct graphics_priv *gr, struct point *p);
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);
@@ -174,7 +173,6 @@ struct graphics_image *graphics_image_new_scaled(struct graphics *gra, char *pat
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);
void graphics_draw_mode(struct graphics *this_, enum draw_mode_num mode);
void graphics_draw_lines(struct graphics *this_, struct graphics_gc *gc, struct point *p, int count);
void graphics_draw_circle(struct graphics *this_, struct graphics_gc *gc, struct point *p, int r);