summaryrefslogtreecommitdiff
path: root/desktop/hotlist.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-08-28 14:13:02 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-08-28 14:13:02 +0100
commit91018643db6bdd3ff4d78ff3a502ed4dbfd74a1b (patch)
tree4689a86d4b4f528b6a463f50fb2b329100188edd /desktop/hotlist.h
parentbc14d492d21c37d02dbd5a621d87adf41c0c153f (diff)
downloadnetsurf-91018643db6bdd3ff4d78ff3a502ed4dbfd74a1b.tar.gz
netsurf-91018643db6bdd3ff4d78ff3a502ed4dbfd74a1b.tar.bz2
Expose a bit more core treeview functionality for hotlist clients.
Diffstat (limited to 'desktop/hotlist.h')
-rw-r--r--desktop/hotlist.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/desktop/hotlist.h b/desktop/hotlist.h
index 743eb616b..df34054c2 100644
--- a/desktop/hotlist.h
+++ b/desktop/hotlist.h
@@ -133,7 +133,6 @@ void hotlist_redraw(int x, int y, struct rect *clip,
*/
void hotlist_mouse_action(browser_mouse_state mouse, int x, int y);
-
/**
* Key press handling.
*
@@ -142,4 +141,23 @@ void hotlist_mouse_action(browser_mouse_state mouse, int x, int y);
*/
void hotlist_keypress(uint32_t key);
+/**
+ * Determine whether there is a selection
+ *
+ * \return true iff there is a selection
+ */
+bool hotlist_has_selection(void);
+
+/**
+ * Edit the first selected node
+ */
+void hotlist_edit_selection(void);
+
+/**
+ * Find current height
+ *
+ * \return height in px
+ */
+int hotlist_get_height(void);
+
#endif