diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-21 10:59:53 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-21 10:59:53 +0000 |
commit | 2565a37a52a5c714e7c6bbd1808db0d6d37c6ea3 (patch) | |
tree | f3fe5f224c9e0e4089aca2d9012dfe1a74cf9c90 /desktop/plotters.h | |
parent | 1930989f8ccdd574472ed72990b6a82fdcf9d5f4 (diff) | |
download | netsurf-2565a37a52a5c714e7c6bbd1808db0d6d37c6ea3.tar.gz netsurf-2565a37a52a5c714e7c6bbd1808db0d6d37c6ea3.tar.bz2 |
Refactor text plotter and other font functions to remove dependency on CSS.
svn path=/trunk/netsurf/; revision=8641
Diffstat (limited to 'desktop/plotters.h')
-rw-r--r-- | desktop/plotters.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/plotters.h b/desktop/plotters.h index 91fbd5188..4edec321b 100644 --- a/desktop/plotters.h +++ b/desktop/plotters.h @@ -115,8 +115,8 @@ struct plotter_table { bitmap_flags_t flags); /* text */ - bool (*text)(int x, int y, const struct css_style *style, - const char *text, size_t length, colour bg, colour c); + bool (*text)(int x, int y, const char *text, size_t length, + const plot_font_style_t *fstyle); /* optional callbacks */ bool (*group_start)(const char *name); /**< optional, may be NULL */ |