From 9559b77afb343998067a7ef269be3b11654d731f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 25 Nov 2020 18:31:31 +0100 Subject: More HTML rendering... --- libtxt/inc/html.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libtxt/inc/html.h') diff --git a/libtxt/inc/html.h b/libtxt/inc/html.h index 4eaca0b..c1b29f2 100644 --- a/libtxt/inc/html.h +++ b/libtxt/inc/html.h @@ -14,6 +14,13 @@ struct dom { struct list *children; }; +struct html_element { + u32 x_offset; + u32 y_offset; + struct dom *dom; + struct element *obj; +}; + int html_render(struct element *container, char *data, u32 length); #endif -- cgit v1.2.3