summaryrefslogtreecommitdiff
path: root/amiga/tree.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-09-28 13:55:40 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-09-28 13:55:40 +0000
commitbc22f2e7d4cd4089fc689c85eb4e12faa17c6cdf (patch)
treeb225f3d9fecf90291d8d9601f2d91dfa37ecb652 /amiga/tree.h
parent9c36d71ab89c8768dfe05cbf91f453282fc8baf9 (diff)
downloadnetsurf-bc22f2e7d4cd4089fc689c85eb4e12faa17c6cdf.tar.gz
netsurf-bc22f2e7d4cd4089fc689c85eb4e12faa17c6cdf.tar.bz2
Treeview window event handling (currently just double-clicking hotlist items and
closing the window) svn path=/trunk/netsurf/; revision=5453
Diffstat (limited to 'amiga/tree.h')
-rwxr-xr-xamiga/tree.h15
1 files changed, 12 insertions, 3 deletions
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