diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-10-05 19:14:46 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-10-05 19:14:46 +0000 |
commit | 6173bb0e6c3bf51cd463f7bc4f725429d9087b2b (patch) | |
tree | de3e013699742960b97ee4a5eda240908d0ea8e6 /amiga/tree.h | |
parent | 195c1ea3193f169c6825eca1fc6207e138126e98 (diff) | |
download | netsurf-6173bb0e6c3bf51cd463f7bc4f725429d9087b2b.tar.gz |
Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
Diffstat (limited to 'amiga/tree.h')
-rwxr-xr-x | amiga/tree.h | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/amiga/tree.h b/amiga/tree.h index 4129df1d2..315938d0d 100755 --- a/amiga/tree.h +++ b/amiga/tree.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk> + * Copyright 2008, 2009 Chris Young <chris@unsatisfactorysoftware.co.uk> * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -22,15 +22,10 @@ #include <exec/types.h> #include <intuition/classusr.h> #include "amiga/gui.h" +#include "desktop/tree.h" +#include "desktop/sslcert.h" -struct treeview_window { - struct nsObject *node; - struct Window *win; - Object *objects[OID_LAST]; - struct Gadget *gadgets[GID_LAST]; - struct tree *tree; - struct List *listbrowser_list; -}; +struct treeview_window; enum { @@ -40,15 +35,15 @@ enum AMI_TREE_SSLCERT }; -enum -{ - AMI_MOVE_UP, - AMI_MOVE_DOWN, - AMI_MOVE_OUT -}; +struct treeview_window *ami_tree_create(uint8 flags, + struct sslcert_session_data *ssl_data); +void ami_tree_destroy(struct treeview_window *twin); +struct tree *ami_tree_get_tree(struct treeview_window *twin); -void ami_open_tree(struct tree *tree,int type); +void ami_tree_open(struct treeview_window *twin,int type); void ami_tree_close(struct treeview_window *twin); BOOL ami_tree_event(struct treeview_window *twin); -void ami_recreate_listbrowser(struct treeview_window *twin); + +extern const struct treeview_table ami_tree_callbacks; + #endif |