diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-07-26 22:23:40 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-07-26 22:23:40 +0000 |
commit | 456077353cf08f64684d3736a81e7e91d8c45a0c (patch) | |
tree | 32796a64ea35629b1dcf25ca4d32ec60bbf96ecd /riscos/hotlist.c | |
parent | b59616c9ab85b0f58c0318f62e39f197932a712b (diff) | |
download | netsurf-456077353cf08f64684d3736a81e7e91d8c45a0c.tar.gz netsurf-456077353cf08f64684d3736a81e7e91d8c45a0c.tar.bz2 |
[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
Diffstat (limited to 'riscos/hotlist.c')
-rw-r--r-- | riscos/hotlist.c | 8 |
1 files changed, 7 insertions, 1 deletions
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; |