mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-12 22:59:04 +00:00
Trophy pop-up and viewer enhancements (#2493)
* Include trophy rarity icons in pop up, remove newlines from viewer Fix layout Update platinum.png Fix linux and apple * Smaller type icons, center text vertically * use original icons * MacOS fixes * Address Review comments Update build.yml Update build.yml Update build.yml Update build.yml Update build.yml Update build.yml Update build.yml test * Move trophy type to leftmost and trophy art to rightmost * Embed resources * Revert packaging of resources with builds --------- Co-authored-by: rainmakerv2 <30595646+jpau02@users.noreply.github.com>
This commit is contained in:
@@ -32,17 +32,17 @@ private:
|
||||
QString gameTrpPath_;
|
||||
TRP trp;
|
||||
|
||||
QString GetTrpType(const QChar trp_) {
|
||||
std::string GetTrpType(const QChar trp_) {
|
||||
switch (trp_.toLatin1()) {
|
||||
case 'B':
|
||||
return "Bronze";
|
||||
return "bronze.png";
|
||||
case 'S':
|
||||
return "Silver";
|
||||
return "silver.png";
|
||||
case 'G':
|
||||
return "Gold";
|
||||
return "gold.png";
|
||||
case 'P':
|
||||
return "Platinum";
|
||||
return "platinum.png";
|
||||
}
|
||||
return "Unknown";
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user