From 5c25b2e47d78da935dbf8b957dc709f3e371cbf4 Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Mon, 30 Dec 2013 16:38:27 +0000 Subject: Provide some interactive help for the URL Bar's favicon and hotlist indicator. --- riscos/gui/url_bar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'riscos') 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 = ""; -- cgit v1.2.3