UI: Make the other report screen a dialog too.

This commit is contained in:
Unknown W. Brackets 2017-03-19 07:46:06 -07:00
parent 9b42515ef7
commit 77fccdaa23
2 changed files with 3 additions and 3 deletions

View File

@ -301,7 +301,7 @@ EventReturn ReportScreen::HandleBrowser(EventParams &e) {
}
ReportFinishScreen::ReportFinishScreen(const std::string &gamePath)
: UIScreenWithGameBackground(gamePath), resultNotice_(nullptr), setStatus_(false) {
: UIDialogScreenWithGameBackground(gamePath), resultNotice_(nullptr), setStatus_(false) {
}
void ReportFinishScreen::CreateViews() {
@ -353,7 +353,7 @@ void ReportFinishScreen::update() {
}
}
UIScreenWithGameBackground::update();
UIDialogScreenWithGameBackground::update();
}
UI::EventReturn ReportFinishScreen::HandleViewFeedback(UI::EventParams &e) {

View File

@ -51,7 +51,7 @@ protected:
bool includeScreenshot_;
};
class ReportFinishScreen : public UIScreenWithGameBackground {
class ReportFinishScreen : public UIDialogScreenWithGameBackground {
public:
ReportFinishScreen(const std::string &gamePath);