From 456077353cf08f64684d3736a81e7e91d8c45a0c Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Mon, 26 Jul 2004 22:23:40 +0000 Subject: [project @ 2004-07-26 22:23:40 by rjw] Hotlist toolbar icon shading. Fix for GIF animation artifacts under certain conditions. svn path=/import/netsurf/; revision=1151 --- riscos/hotlist.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'riscos/hotlist.c') diff --git a/riscos/hotlist.c b/riscos/hotlist.c index 944cd70be..ed2364210 100644 --- a/riscos/hotlist.c +++ b/riscos/hotlist.c @@ -388,6 +388,7 @@ void ro_gui_hotlist_show(void) { /* Open the window at the top of the stack */ + ro_gui_menu_prepare_hotlist(); state.next = wimp_TOP; error = xwimp_open_window((wimp_open*)&state); if (error) { @@ -1396,11 +1397,13 @@ void ro_gui_hotlist_click(wimp_pointer *pointer) { false, true); entry->selected = true; hotlist_redraw_entry_title(entry); + ro_gui_menu_prepare_hotlist(); } } else if (buttons == (wimp_CLICK_ADJUST << 8)) { entry->selected = !entry->selected; hotlist_redraw_entry_title(entry); + ro_gui_menu_prepare_hotlist(); } /* Check if we should open the URL @@ -1411,6 +1414,7 @@ void ro_gui_hotlist_click(wimp_pointer *pointer) { if (buttons == wimp_DOUBLE_SELECT) { ro_gui_hotlist_selection_state(root.child_entry, false, true); + ro_gui_menu_prepare_hotlist(); } else { entry->selected = false; ro_gui_dialog_close_persistant(hotlist_window); @@ -1477,6 +1481,7 @@ void ro_gui_hotlist_click(wimp_pointer *pointer) { if (buttons == (wimp_CLICK_SELECT << 8)) { ro_gui_hotlist_selection_state(root.child_entry, false, true); + ro_gui_menu_prepare_hotlist(); } /* Handle the start of a drag @@ -1489,6 +1494,7 @@ void ro_gui_hotlist_click(wimp_pointer *pointer) { if (buttons == (wimp_CLICK_SELECT << 4)) { ro_gui_hotlist_selection_state(root.child_entry, false, true); + ro_gui_menu_prepare_hotlist(); } /* Start a drag box @@ -1910,6 +1916,7 @@ void ro_gui_hotlist_selection_drag_end(wimp_dragged *drag) { } else { ro_gui_hotlist_selection_drag(root.child_entry, x0, y0, x1, y1, true, true); } + ro_gui_menu_prepare_hotlist(); } @@ -2334,7 +2341,6 @@ void ro_gui_hotlist_dialog_click(wimp_pointer *pointer) { } } - int ro_gui_hotlist_help(int x, int y) { struct hotlist_entry *entry; wimp_window_state state; -- cgit v1.2.3