diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-28 14:13:02 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-28 14:13:02 +0100 |
commit | 91018643db6bdd3ff4d78ff3a502ed4dbfd74a1b (patch) | |
tree | 4689a86d4b4f528b6a463f50fb2b329100188edd /desktop/hotlist.c | |
parent | bc14d492d21c37d02dbd5a621d87adf41c0c153f (diff) | |
download | netsurf-91018643db6bdd3ff4d78ff3a502ed4dbfd74a1b.tar.gz netsurf-91018643db6bdd3ff4d78ff3a502ed4dbfd74a1b.tar.bz2 |
Expose a bit more core treeview functionality for hotlist clients.
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r-- | desktop/hotlist.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c index e96678d86..2eb723584 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -1392,3 +1392,24 @@ void hotlist_keypress(uint32_t key) treeview_keypress(hl_ctx.tree, key); } + +/* Exported interface, documented in hotlist.h */ +bool hotlist_has_selection(void) +{ + return treeview_has_selection(hl_ctx.tree); +} + + +/* Exported interface, documented in hotlist.h */ +void hotlist_edit_selection(void) +{ + treeview_edit_selection(hl_ctx.tree); +} + + +/* Exported interface, documented in hotlist.h */ +int hotlist_get_height(void) +{ + return treeview_get_height(hl_ctx.tree); +} + |