summaryrefslogtreecommitdiff
path: root/amiga/tree.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-11 21:38:04 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-11 21:38:04 +0000
commit86042c61eae1b38474b8e20ece95b2220a659ae4 (patch)
tree4beae93c3cb85d5e6f6be1c36764660e643864e4 /amiga/tree.h
parent3b0c91c91ddc42bb76fbf30b0f2384c7369415c7 (diff)
downloadnetsurf-86042c61eae1b38474b8e20ece95b2220a659ae4.tar.gz
netsurf-86042c61eae1b38474b8e20ece95b2220a659ae4.tar.bz2
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
Diffstat (limited to 'amiga/tree.h')
-rwxr-xr-xamiga/tree.h13
1 files changed, 12 insertions, 1 deletions
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 <exec/types.h>
+#include <intuition/classusr.h>
+#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