mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Add height getter.
This commit is contained in:
parent
28dec67c64
commit
bc14d492d2
@ -3145,6 +3145,16 @@ void treeview_mouse_action(treeview *tree,
|
||||
}
|
||||
|
||||
|
||||
/* Exported interface, documented in treeview.h */
|
||||
int treeview_get_height(treeview *tree)
|
||||
{
|
||||
assert(tree != NULL);
|
||||
assert(tree->root != NULL);
|
||||
|
||||
return tree->root->height;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Initialise the plot styles from CSS system colour values.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user