mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Provide some interactive help for the URL Bar's favicon and hotlist indicator.
This commit is contained in:
parent
f64c8ed9ef
commit
5c25b2e47d
@ -3696,6 +3696,16 @@ de.ro.HelpToolbar16:Das ist die Ladeaktivitätsanzeige.|MSie wird animiert, wenn
|
||||
fr.ro.HelpToolbar16:\Tle pulseur.|MIl s'anime lorsque cette \w est active.
|
||||
it.ro.HelpToolbar16:\Tthrobber animato durante le attività di rete
|
||||
nl.ro.HelpToolbar16:\Tthrobber.|MIt animates while this \w is active.
|
||||
en.ro.HelpToolbarFav:\TFavicon: a small logo supplied by the current site, if available.
|
||||
de.ro.HelpToolbarFav:\TFavicon: a small logo supplied by the current site, if available.
|
||||
fr.ro.HelpToolbarFav:\TFavicon: a small logo supplied by the current site, if available.
|
||||
it.ro.HelpToolbarFav:\TFavicon: a small logo supplied by the current site, if available.
|
||||
nl.ro.HelpToolbarFav:\TFavicon: a small logo supplied by the current site, if available.
|
||||
en.ro.HelpToolbarHot:\Thotlist indicator: if lit, the current address is in the hotlist.|M\Sto add the current address to the hotlist.|M\Ato remove the current address from the hotlist.
|
||||
de.ro.HelpToolbarHot:\Thotlist indicator: if lit, the current address is in the hotlist.|M\Sto add the current address to the hotlist.|M\Ato remove the current address from the hotlist.
|
||||
fr.ro.HelpToolbarHot:\Thotlist indicator: if lit, the current address is in the hotlist.|M\Sto add the current address to the hotlist.|M\Ato remove the current address from the hotlist.
|
||||
it.ro.HelpToolbarHot:\Thotlist indicator: if lit, the current address is in the hotlist.|M\Sto add the current address to the hotlist.|M\Ato remove the current address from the hotlist.
|
||||
nl.ro.HelpToolbarHot:\Thotlist indicator: if lit, the current address is in the hotlist.|M\Sto add the current address to the hotlist.|M\Ato remove the current address from the hotlist.
|
||||
|
||||
en.ro.HelpStatus0:\Tstatus bar resizer.|MDrag to alter the size of the status bar.
|
||||
de.ro.HelpStatus0:Das ist die Begrenzung der Statusanzeige.|MKlicken und Ziehen verändert die Länge der Statusanzeige.
|
||||
|
@ -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 = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user