mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
implement vinicius' reviews
This commit is contained in:
parent
49253fa92a
commit
5990868355
@ -11,7 +11,6 @@ using namespace ImGui;
|
|||||||
using namespace Libraries::NpTrophy;
|
using namespace Libraries::NpTrophy;
|
||||||
|
|
||||||
TrophyUI::TrophyUI() {
|
TrophyUI::TrophyUI() {
|
||||||
first_render = true;
|
|
||||||
AddLayer(this);
|
AddLayer(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -68,10 +67,8 @@ void TrophyUI::Draw() {
|
|||||||
ImGuiWindowFlags_NoInputs)) {
|
ImGuiWindowFlags_NoInputs)) {
|
||||||
Text("Trophy earned!");
|
Text("Trophy earned!");
|
||||||
TextWrapped(currentTrophyInfo.trophyName.c_str());
|
TextWrapped(currentTrophyInfo.trophyName.c_str());
|
||||||
|
}
|
||||||
End();
|
End();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
first_render = false;
|
|
||||||
}
|
|
@ -20,7 +20,6 @@ struct TrophyInfo {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class TrophyUI final : public ImGui::Layer {
|
class TrophyUI final : public ImGui::Layer {
|
||||||
bool first_render{false};
|
|
||||||
std::vector<TrophyInfo> trophyQueue;
|
std::vector<TrophyInfo> trophyQueue;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user