diff --git a/rpcs3/Emu/RSX/Overlays/overlay_trophy_notification.cpp b/rpcs3/Emu/RSX/Overlays/overlay_trophy_notification.cpp index d196ee5395..0067187a1b 100644 --- a/rpcs3/Emu/RSX/Overlays/overlay_trophy_notification.cpp +++ b/rpcs3/Emu/RSX/Overlays/overlay_trophy_notification.cpp @@ -34,17 +34,21 @@ namespace rsx trophy_notification::trophy_notification() { - frame.set_pos(0, 0); - frame.set_size(300, 80); - frame.back_color.a = 0.85f; + frame.set_pos(68, 55); + frame.set_size(300, 72); + frame.back_color.r = 0.247059f; + frame.back_color.g = 0.250980f; + frame.back_color.b = 0.247059f; + frame.back_color.a = 0.88f; + - image.set_pos(8, 8); - image.set_size(64, 64); + image.set_pos(78, 64); + image.set_size(53, 53); image.back_color.a = 0.f; - text_view.set_pos(85, 0); - text_view.set_padding(0, 0, 24, 0); - text_view.set_font("Arial", 9); + text_view.set_pos(139, 69); + text_view.set_padding(0, 0, 0, 0); + text_view.set_font("Arial", 14); text_view.align_text(overlay_element::text_align::center); text_view.back_color.a = 0.f; @@ -71,7 +75,7 @@ namespace rsx return; } - if (((t - creation_time) / 1000) > 7500) + if (((t - creation_time) / 1000) > 5000) { if (!sliding_animation.active) { @@ -133,8 +137,8 @@ namespace rsx text_view.auto_resize(); // Resize background to cover the text - u16 margin_sz = text_view.x - image.w - image.x; - frame.w = text_view.x + text_view.w + margin_sz; + u16 margin_sz = 9; + frame.w = margin_sz * 3 + image.w + text_view.w; visible = true; return CELL_OK; diff --git a/rpcs3/rpcs3qt/localized_emu.h b/rpcs3/rpcs3qt/localized_emu.h index 2a1510e8f2..7c85293452 100644 --- a/rpcs3/rpcs3qt/localized_emu.h +++ b/rpcs3/rpcs3qt/localized_emu.h @@ -34,10 +34,10 @@ private: { switch (id) { - case localized_string_id::RSX_OVERLAYS_TROPHY_BRONZE: return tr("You have earned the bronze trophy\n%0", "Trophy text").arg(std::forward(args)...); - case localized_string_id::RSX_OVERLAYS_TROPHY_SILVER: return tr("You have earned the silver trophy\n%0", "Trophy text").arg(std::forward(args)...); - case localized_string_id::RSX_OVERLAYS_TROPHY_GOLD: return tr("You have earned the gold trophy\n%0", "Trophy text").arg(std::forward(args)...); - case localized_string_id::RSX_OVERLAYS_TROPHY_PLATINUM: return tr("You have earned the platinum trophy\n%0", "Trophy text").arg(std::forward(args)...); + case localized_string_id::RSX_OVERLAYS_TROPHY_BRONZE: return tr("You have earned a bronze trophy.\n%0", "Trophy text").arg(std::forward(args)...); + case localized_string_id::RSX_OVERLAYS_TROPHY_SILVER: return tr("You have earned a silver trophy.\n%0", "Trophy text").arg(std::forward(args)...); + case localized_string_id::RSX_OVERLAYS_TROPHY_GOLD: return tr("You have earned a gold trophy.\n%0", "Trophy text").arg(std::forward(args)...); + case localized_string_id::RSX_OVERLAYS_TROPHY_PLATINUM: return tr("You have earned a platinum trophy.\n%0", "Trophy text").arg(std::forward(args)...); case localized_string_id::RSX_OVERLAYS_COMPILING_SHADERS: return tr("Compiling shaders"); case localized_string_id::RSX_OVERLAYS_MSG_DIALOG_YES: return tr("Yes", "Message Dialog"); case localized_string_id::RSX_OVERLAYS_MSG_DIALOG_NO: return tr("No", "Message Dialog");