News sounds

This commit is contained in:
Jean-Patrick Guerrero 2020-12-10 16:27:58 +01:00
parent 0032c27832
commit dc9a05bf01
3 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ local styles = sprintf([[
style[prev_usage;fgimg=%s;fgimg_hovered=%s;fgimg_pressed=%s] style[prev_usage;fgimg=%s;fgimg_hovered=%s;fgimg_pressed=%s]
style[next_usage;fgimg=%s;fgimg_hovered=%s;fgimg_pressed=%s] style[next_usage;fgimg=%s;fgimg_hovered=%s;fgimg_pressed=%s]
style[pagenum,no_item,no_rcp;border=false;font=bold;font_size=+2;content_offset=0] style[pagenum,no_item,no_rcp;border=false;font=bold;font_size=+2;content_offset=0]
style[craft_rcp,craft_usg;border=false;noclip=true;font_size=+0;sound=craftguide_click;bgimg=craftguide_btn9.png; style[craft_rcp,craft_usg;border=false;noclip=true;font_size=+0;sound=craftguide_craft;bgimg=craftguide_btn9.png;
bgimg_hovered=craftguide_btn9_hovered.png;bgimg_pressed=craftguide_btn9_pressed.png;bgimg_middle=4,6] bgimg_hovered=craftguide_btn9_hovered.png;bgimg_pressed=craftguide_btn9_pressed.png;bgimg_middle=4,6]
]], ]],
PNG.selected, PNG.selected, PNG.selected, PNG.selected,
@ -1341,10 +1341,10 @@ local function get_title_fs(fs, query_item, favs, lang_code)
fmt("image_button", star_x, star_y, star_size, star_size, "", "fav", ""), fmt("image_button", star_x, star_y, star_size, star_size, "", "fav", ""),
sprintf("tooltip[fav;%s]", fav and ES"Unmark this item" or ES"Mark this item")) sprintf("tooltip[fav;%s]", fav and ES"Unmark this item" or ES"Mark this item"))
else else
fs(sprintf("style[fav_no;fgimg=%s;fgimg_hovered=%s;fgimg_pressed=%s]", fs(sprintf("style[nofav;fgimg=%s;fgimg_hovered=%s;fgimg_pressed=%s]",
"craftguide_fav_off.png", PNG.nothing, PNG.nothing), "craftguide_fav_off.png", PNG.nothing, PNG.nothing),
fmt("image_button", star_x, star_y, star_size, star_size, "", "fav_no", ""), fmt("image_button", star_x, star_y, star_size, star_size, "", "nofav", ""),
sprintf("tooltip[fav_no;%s]", ES"Cannot mark this item. Bookmark limit reached.")) sprintf("tooltip[nofav;%s]", ES"Cannot mark this item. Bookmark limit reached."))
end end
fs("style_type[label;font=bold;font_size=+6]", fs("style_type[label;font=bold;font_size=+6]",

BIN
sounds/craftguide_click.ogg Normal file → Executable file

Binary file not shown.

BIN
sounds/craftguide_craft.ogg Executable file

Binary file not shown.