summaryrefslogtreecommitdiff
path: root/render/html.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-21 10:59:53 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-21 10:59:53 +0000
commit2565a37a52a5c714e7c6bbd1808db0d6d37c6ea3 (patch)
treef3fe5f224c9e0e4089aca2d9012dfe1a74cf9c90 /render/html.h
parent1930989f8ccdd574472ed72990b6a82fdcf9d5f4 (diff)
downloadnetsurf-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 'render/html.h')
-rw-r--r--render/html.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/render/html.h b/render/html.h
index f1ab9d86d..e6c322e14 100644
--- a/render/html.h
+++ b/render/html.h
@@ -28,6 +28,7 @@
#include <stdbool.h>
#include "content/content_type.h"
#include "css/css.h"
+#include "desktop/plot_style.h"
#include "render/parser_binding.h"
struct box;
@@ -197,11 +198,11 @@ bool html_redraw(struct content *c, int x, int y,
bool text_redraw(const char *utf8_text, size_t utf8_len,
size_t offset, bool space,
- struct css_style *style,
+ const plot_font_style_t *fstyle,
int x, int y,
struct rect *clip,
int height,
- float scale, colour current_background_color,
+ float scale,
bool excluded);
#endif