summaryrefslogtreecommitdiff
path: root/desktop/tree.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-11 13:09:12 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-11 13:09:12 +0000
commitdd267bd90a9d4ddd6f6247fc4eceaf7ed80839d0 (patch)
treec88b1b50fd5359fe0632815fd6f86ca00a16b9ff /desktop/tree.h
parent36599a09cead791900935aeadcea49d46ff6a786 (diff)
downloadnetsurf-dd267bd90a9d4ddd6f6247fc4eceaf7ed80839d0.tar.gz
netsurf-dd267bd90a9d4ddd6f6247fc4eceaf7ed80839d0.tar.bz2
Trap RMB and select the node under the pointer if no other node selected
svn path=/trunk/netsurf/; revision=13146
Diffstat (limited to 'desktop/tree.h')
-rw-r--r--desktop/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/tree.h b/desktop/tree.h
index ed71f911e..1f3ee0c74 100644
--- a/desktop/tree.h
+++ b/desktop/tree.h
@@ -157,6 +157,7 @@ void tree_set_node_expanded(struct tree *tree, struct node *node, bool expanded,
bool folder, bool leaf);
void tree_set_node_selected(struct tree *tree, struct node *node, bool all,
bool selected);
+void tree_set_node_selected_at(struct tree *tree, int x, int y, bool selected);
void tree_set_node_sort_function(struct tree *tree, struct node *node,
int (*sort) (struct node *, struct node *));
void tree_set_node_user_callback(struct node *node,