diff options
author | Steve Fryatt <stevef@netsurf-browser.org> | 2013-12-30 16:38:27 +0000 |
---|---|---|
committer | Steve Fryatt <stevef@netsurf-browser.org> | 2013-12-30 16:38:27 +0000 |
commit | 5c25b2e47d78da935dbf8b957dc709f3e371cbf4 (patch) | |
tree | c22697bd9b4725f4b41dc50fcacfa938bf9fd2a7 /riscos | |
parent | f64c8ed9ef976618d36f7e07285e4755c0c9c11c (diff) | |
download | netsurf-5c25b2e47d78da935dbf8b957dc709f3e371cbf4.tar.gz netsurf-5c25b2e47d78da935dbf8b957dc709f3e371cbf4.tar.bz2 |
Provide some interactive help for the URL Bar's favicon and hotlist indicator.
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/gui/url_bar.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/riscos/gui/url_bar.c b/riscos/gui/url_bar.c index 4badb6bfb..845f8b3e8 100644 --- a/riscos/gui/url_bar.c +++ b/riscos/gui/url_bar.c @@ -894,6 +894,16 @@ bool ro_gui_url_bar_help_suffix(struct url_bar *url_bar, wimp_i i, *suffix = "14"; else if (i == url_bar->suggest_icon) *suffix = "15"; + else if (pos.x >= url_bar->hotlist.extent.x0 && + pos.x <= url_bar->hotlist.extent.x1 && + pos.y >= url_bar->hotlist.extent.y0 && + pos.y <= url_bar->hotlist.extent.y1) + *suffix = "Hot"; + else if (pos.x >= url_bar->favicon_extent.x0 && + pos.x <= url_bar->favicon_extent.x1 && + pos.y >= url_bar->favicon_extent.y0 && + pos.y <= url_bar->favicon_extent.y1) + *suffix = "Fav"; else *suffix = ""; |