summaryrefslogtreecommitdiff
path: root/navit/graphics.h
diff options
context:
space:
mode:
authorwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-06-20 07:50:23 +0000
committerwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-06-20 07:50:23 +0000
commit95646830cdc5b7eb5d3184b2a769f899ea469c0f (patch)
tree4933ded10fc298e72f87c803bc124899cbd863e4 /navit/graphics.h
parent61124dc1a5332d26efc5f85ca198aea536bfc51c (diff)
downloadnavit-svn-95646830cdc5b7eb5d3184b2a769f899ea469c0f.tar.gz
Add:core: add graphics_font_destroy for cleaning up struct graphics_font
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5153 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 1b9eb705..2bdc77d1 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_font_destroy(struct graphics_font *gra_font);
void graphics_free(struct graphics *gra);
void graphics_font_destroy_all(struct graphics *gra);
struct graphics_gc *graphics_gc_new(struct graphics *gra);