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 /beos/beos_font.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 'beos/beos_font.h')
-rw-r--r-- | beos/beos_font.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/beos/beos_font.h b/beos/beos_font.h index 2dab57e3d..aefd898da 100644 --- a/beos/beos_font.h +++ b/beos/beos_font.h @@ -22,12 +22,10 @@ #include <stdbool.h> +#include "desktop/plotters.h" -struct css_style; - -bool nsfont_paint(const struct css_style *style, +bool nsfont_paint(const plot_font_style_t *fstyle, const char *string, size_t length, - int x, int y, colour bg, colour c); + int x, int y); -void nsbeos_style_to_font(BFont &font, - const struct css_style *style); +void nsbeos_style_to_font(BFont &font, const plot_font_style_t *fstyle); |