summaryrefslogtreecommitdiff
path: root/navit/graphics.h
diff options
context:
space:
mode:
authortegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-02-05 20:25:37 +0000
committertegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-02-05 20:25:37 +0000
commit16aecb6e440ccf48f0ad7d955d005cd810dc09fe (patch)
treec76c317b13289666962f5136375e51a0a998e824 /navit/graphics.h
parente2ab08bdbbd40beeafbd2c872ca79852db8f41ad (diff)
downloadnavit-svn-16aecb6e440ccf48f0ad7d955d005cd810dc09fe.tar.gz
Fix:core:make graphics drivers' destroy method called on exit
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4101 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.h')
-rw-r--r--navit/graphics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/graphics.h b/navit/graphics.h
index 1b220a3b..2e5ba24a 100644
--- a/navit/graphics.h
+++ b/navit/graphics.h
@@ -148,6 +148,7 @@ void graphics_add_callback(struct graphics *this_, struct callback *cb);
void graphics_remove_callback(struct graphics *this_, struct callback *cb);
struct graphics_font *graphics_font_new(struct graphics *gra, int size, int flags);
struct graphics_font *graphics_named_font_new(struct graphics *gra, char *font, int size, int flags);
+void graphics_free(struct graphics *gra);
void graphics_font_destroy_all(struct graphics *gra);
struct graphics_gc *graphics_gc_new(struct graphics *gra);
void graphics_gc_destroy(struct graphics_gc *gc);