From 2565a37a52a5c714e7c6bbd1808db0d6d37c6ea3 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 21 Jul 2009 10:59:53 +0000 Subject: Refactor text plotter and other font functions to remove dependency on CSS. svn path=/trunk/netsurf/; revision=8641 --- amiga/plotters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga/plotters.h') diff --git a/amiga/plotters.h b/amiga/plotters.h index ce5008d86..fb0583e2f 100755 --- a/amiga/plotters.h +++ b/amiga/plotters.h @@ -46,8 +46,8 @@ bool ami_rectangle(int x0, int y0, int x1, int y1, const plot_style_t *style); bool ami_line(int x0, int y0, int x1, int y1, const plot_style_t *style); bool ami_polygon(const int *p, unsigned int n, const plot_style_t *style); bool ami_clip(int x0, int y0, int x1, int y1); -bool ami_text(int x, int y, const struct css_style *style, - const char *text, size_t length, colour bg, colour c); +bool ami_text(int x, int y, const char *text, size_t length, + const plot_font_style_t *fstyle); bool ami_disc(int x, int y, int radius, const plot_style_t *style); bool ami_arc(int x, int y, int radius, int angle1, int angle2, const plot_style_t *style); -- cgit v1.2.3