From 86042c61eae1b38474b8e20ece95b2220a659ae4 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 11 Oct 2008 21:38:04 +0000 Subject: Improved Amiga treeview support. Now creates trees for cookies and history (history doesn't populate at the moment). Can add folders and edit titles in hotlist treeviews, and delete entries in all treeviews. svn path=/trunk/netsurf/; revision=5542 --- amiga/tree.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'amiga/tree.h') diff --git a/amiga/tree.h b/amiga/tree.h index 244551086..4ff38edfc 100755 --- a/amiga/tree.h +++ b/amiga/tree.h @@ -19,6 +19,10 @@ #ifndef AMIGA_TREE_H #define AMIGA_TREE_H +#include +#include +#include "amiga/gui.h" + struct treeview_window { struct Window *win; Object *objects[OID_LAST]; @@ -29,7 +33,14 @@ struct treeview_window { struct List *listbrowser_list; }; -void ami_open_tree(struct tree *tree); +enum +{ + AMI_TREE_HOTLIST, + AMI_TREE_HISTORY, + AMI_TREE_COOKIES +}; + +void ami_open_tree(struct tree *tree,int type); void ami_tree_close(struct treeview_window *twin); BOOL ami_tree_event(struct treeview_window *twin); #endif -- cgit v1.2.3