diff options
author | Ole Loots <ole@monochrom.net> | 2011-04-10 21:52:07 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2011-04-10 21:52:07 +0000 |
commit | 4e7235a92f1f42872bf4c0d1621ce3f3cfba37b1 (patch) | |
tree | e81f556532cac29e2ecff2418f542b8cbc6f0e5a /atari/hotlist.h | |
parent | 8723876bd53dc4137743e89e2df0ac690e6c1542 (diff) | |
download | netsurf-4e7235a92f1f42872bf4c0d1621ce3f3cfba37b1.tar.gz netsurf-4e7235a92f1f42872bf4c0d1621ce3f3cfba37b1.tar.bz2 |
Moved mouse movement handling into window event handlers, updated resources, updated todos, implemented treeview + hotlist
svn path=/trunk/netsurf/; revision=12182
Diffstat (limited to 'atari/hotlist.h')
-rwxr-xr-x | atari/hotlist.h | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/atari/hotlist.h b/atari/hotlist.h index 78a88e27c..27e9eba6e 100755 --- a/atari/hotlist.h +++ b/atari/hotlist.h @@ -18,13 +18,32 @@ #ifndef NS_ATARI_HOTLIST_H
#define NS_ATARI_HOTLIST_H
-
+#include <stdbool.h>
+#include <windom.h>
+#include "desktop/tree.h"
+#include "atari/treeview.h"
/* The hotlist window, toolbar and treeview data. */
+struct atari_hotlist {
+ WINDOW * window;
+ NSTREEVIEW tv; /*< The hotlist treeview handle. */
+ bool open;
+ bool init;
+ char path[PATH_MAX];
+};
+
+extern struct atari_hotlist hl;
+
+void hotlist_init( void );
+void hotlist_open( void );
+void hotlist_close( void );
+void hotlist_destroy( void );
+void atari_hotlist_add_page( const char * url, const char * title );
-void hotlist_init(void);
-void hotlist_open(void);
-void hotlist_close(void);
-void hotlist_destroy(void);
+inline void hotlist_redraw( void );
+inline void hotlist_redraw( void )
+{
+ atari_treeview_redraw( hl.tv );
+}
#endif
\ No newline at end of file |