Make ReportScreen a dialog. Minor improvement to GE debugger.

This commit is contained in:
Henrik Rydgard committed 2017-03-18 23:30:50 +01:00
1 parent ce45edd4ce
commit 9fa13c7c9d
3 files changed
+8 -4

No files matched your search

+2 -2
View File
@@ -154,7 +154,7 @@ void CompatRatingChoice::SetupChoices() {
}
ReportScreen::ReportScreen(const std::string &gamePath)
: UIScreenWithGameBackground(gamePath), overall_(-1), graphics_(-1), speed_(-1), gameplay_(-1),
: UIDialogScreenWithGameBackground(gamePath), overall_(-1), graphics_(-1), speed_(-1), gameplay_(-1),
includeScreenshot_(true) {
enableReporting_ = Reporting::IsEnabled();
ratingEnabled_ = enableReporting_;
@@ -168,7 +168,7 @@ void ReportScreen::update() {
screenshot_->SetVisibility(V_GONE);
}
}
UIScreenWithGameBackground::update();
UIDialogScreenWithGameBackground::update();
}
EventReturn ReportScreen::HandleChoice(EventParams &e) {