summaryrefslogtreecommitdiff
path: root/atari/history.h
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-06-19 23:46:57 +0000
committerOle Loots <ole@monochrom.net>2012-06-19 23:46:57 +0000
commit40a2f8622cceec6b0a34027ba299381f7d24a49d (patch)
tree85ae3dea18a74595f909fab4208735eff245f07e /atari/history.h
parent3b5c782c16a3aef9ddbb7e1234575a02ec0df65a (diff)
downloadnetsurf-40a2f8622cceec6b0a34027ba299381f7d24a49d.tar.gz
netsurf-40a2f8622cceec6b0a34027ba299381f7d24a49d.tar.bz2
fix history redraw by calling the window specific redraw function from gui_poll(), also switch hotlist redraw to to hotlist specific redraw function.
svn path=/trunk/netsurf/; revision=13977
Diffstat (limited to 'atari/history.h')
-rwxr-xr-xatari/history.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/atari/history.h b/atari/history.h
index 0dd571d01..bfea9ec1d 100755
--- a/atari/history.h
+++ b/atari/history.h
@@ -24,9 +24,25 @@
#include "desktop/tree.h"
#include "atari/treeview.h"
+struct s_atari_global_history {
+ WINDOW * window;
+ NSTREEVIEW tv; /*< The history treeview handle. */
+ bool open;
+ bool init;
+};
+
+extern struct s_atari_global_history gl_history;
+
bool global_history_init( void );
void global_history_destroy( void );
void global_history_open( void );
void global_history_close( void );
+inline void global_history_redraw( void );
+inline void global_history_redraw( void )
+{
+ atari_treeview_redraw( gl_history.tv );
+}
+
+
#endif