summaryrefslogtreecommitdiff
path: root/atari/gui.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-06-19 23:04:38 +0000
committerOle Loots <ole@monochrom.net>2012-06-19 23:04:38 +0000
commitcd45e1f44720a563d9b7e9b9bc7ea2b410444d3f (patch)
tree7b1faf1d89cbbe1519943f792650ca1d97bd24da /atari/gui.c
parent1f3d249c157cf731bc723f865c3721f684a408a5 (diff)
downloadnetsurf-cd45e1f44720a563d9b7e9b9bc7ea2b410444d3f.tar.gz
netsurf-cd45e1f44720a563d9b7e9b9bc7ea2b410444d3f.tar.bz2
First attempt to implement the global history treeview. There is something wrong with the redraw ( the treeview area of the windo isn't redrawn, also it looks like the treeview content size isn't set )
svn path=/trunk/netsurf/; revision=13973
Diffstat (limited to 'atari/gui.c')
-rwxr-xr-xatari/gui.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/atari/gui.c b/atari/gui.c
index 0bfaa326b..d0039d8a9 100755
--- a/atari/gui.c
+++ b/atari/gui.c
@@ -489,7 +489,7 @@ void gui_window_start_throbber(struct gui_window *w)
schedule(100, throbber_advance, w );
ApplWrite( _AESapid, WM_REDRAW, w->root->handle->handle,
work.g_x, work.g_y, work.g_w, work.g_h );
-
+
rendering = true;
}
@@ -505,14 +505,14 @@ void gui_window_stop_throbber(struct gui_window *w)
/* refresh toolbar buttons: */
tb_update_buttons( w, -1 );
-
+
/* redraw throbber: */
mt_CompGetLGrect(&app, w->root->toolbar->throbber.comp,
WF_WORKXYWH, &work);
- w->root->toolbar->throbber.running = false;
+ w->root->toolbar->throbber.running = false;
ApplWrite( _AESapid, WM_REDRAW, w->root->handle->handle,
work.g_x, work.g_y, work.g_w, work.g_h );
-
+
rendering = false;
}
@@ -811,7 +811,8 @@ void gui_quit(void)
browser_window_destroy(gw->browser->bw);
gw = tmp;
}
-
+
+ global_history_destroy();
hotlist_destroy();
toolbar_exit();
@@ -981,7 +982,8 @@ static void gui_init2(int argc, char** argv)
if (sys_type() & (SYS_MAGIC|SYS_NAES|SYS_XAAES)) {
menu_register( _AESapid, (char*)" NetSurf ");
}
- tree_set_icon_dir( nsoption_charp(tree_icons_path) );
+ tree_set_icon_dir( nsoption_charp(tree_icons_path) );
+ global_history_init();
hotlist_init();
toolbar_init();
}