mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 09:44:24 +03:00
Layout: No need to expose layout_inline_container().
This commit is contained in:
parent
cf3eba081a
commit
ae286be5a9
2366
render/layout.c
2366
render/layout.c
File diff suppressed because it is too large
Load Diff
@ -42,19 +42,6 @@ struct gui_layout_table;
|
||||
*/
|
||||
bool layout_document(struct html_content *content, int width, int height);
|
||||
|
||||
/**
|
||||
* Layout lines of text or inline boxes with floats.
|
||||
*
|
||||
* \param box inline container box
|
||||
* \param width horizontal space available
|
||||
* \param cont ancestor box which defines horizontal space, for floats
|
||||
* \param cx box position relative to cont
|
||||
* \param cy box position relative to cont
|
||||
* \param content memory pool for any new boxes
|
||||
* \return true on success, false on memory exhaustion
|
||||
*/
|
||||
bool layout_inline_container(struct box *box, int width, struct box *cont, int cx, int cy, struct html_content *content);
|
||||
|
||||
/**
|
||||
* Recursively calculate the descendant_[xy][01] values for a laid-out box tree
|
||||
* and inform iframe browser windows of their size and position.
|
||||
|
Loading…
Reference in New Issue
Block a user