From 18abdadac83789019ae1a36a1e1cad2e98601efa Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 6 Feb 2017 18:17:39 +0000 Subject: split border drawing out of html redraw --- render/html_internal.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'render/html_internal.h') diff --git a/render/html_internal.h b/render/html_internal.h index fd65707ce..2f84cf869 100644 --- a/render/html_internal.h +++ b/render/html_internal.h @@ -258,6 +258,15 @@ bool html_begin_conversion(html_content *htmlc); bool html_redraw(struct content *c, struct content_redraw_data *data, const struct rect *clip, const struct redraw_context *ctx); +/* in render/html_redraw_border.c */ +bool html_redraw_borders(struct box *box, int x_parent, int y_parent, + int p_width, int p_height, const struct rect *clip, float scale, + const struct redraw_context *ctx); + +bool html_redraw_inline_borders(struct box *box, struct rect b, + const struct rect *clip, float scale, bool first, bool last, + const struct redraw_context *ctx); + /* in render/html_interaction.c */ void html_mouse_track(struct content *c, struct browser_window *bw, browser_mouse_state mouse, int x, int y); -- cgit v1.2.3