25#ifndef NETSURF_HTML_BOX_MANIPULATE_H
26#define NETSURF_HTML_BOX_MANIPULATE_H
103 bool bottom,
bool right);
void box_insert_sibling(struct box *box, struct box *new_box)
Insert a new box as a sibling to a box in a tree.
void box_unlink_and_free(struct box *box)
Unlink a box from the box tree and then free it recursively.
void box_free_box(struct box *box)
Free the data in a single box structure.
nserror box_handle_scrollbars(struct content *c, struct box *box, bool bottom, bool right)
Applies the given scroll setup to a box.
void box_free(struct box *box)
Free a box tree recursively.
struct box * box_create(css_select_results *styles, css_computed_style *style, bool style_owned, struct nsurl *href, const char *target, const char *title, lwc_string *id, void *context)
Create a box tree node.
void box_add_child(struct box *parent, struct box *child)
Add a child to a box tree node.
nserror
Enumeration of error codes.
struct nsurl nsurl
NetSurf URL object.
const char * title
Title, or NULL.
const char * target
Link target, or NULL.
css_select_results * styles
Computed styles for elements and their pseudo elements.
struct nsurl * href
Link, or NULL.
css_computed_style * style
Style for this box.
Content which corresponds to a single URL.