From bc22f2e7d4cd4089fc689c85eb4e12faa17c6cdf Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 28 Sep 2008 13:55:40 +0000 Subject: Treeview window event handling (currently just double-clicking hotlist items and closing the window) svn path=/trunk/netsurf/; revision=5453 --- amiga/tree.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'amiga/tree.h') diff --git a/amiga/tree.h b/amiga/tree.h index 832a91db2..244551086 100755 --- a/amiga/tree.h +++ b/amiga/tree.h @@ -19,8 +19,17 @@ #ifndef AMIGA_TREE_H #define AMIGA_TREE_H +struct treeview_window { + struct Window *win; + Object *objects[OID_LAST]; + struct Gadget *gadgets[GID_LAST]; + struct nsObject *node; + ULONG pad[5]; + struct tree *tree; + struct List *listbrowser_list; +}; + void ami_open_tree(struct tree *tree); -bool ami_tree_launch_node(struct tree *tree, struct node *node); -void ami_tree_close(struct tree *tree); -void free_browserlist(struct List *list); +void ami_tree_close(struct treeview_window *twin); +BOOL ami_tree_event(struct treeview_window *twin); #endif -- cgit v1.2.3