mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 16:19:44 +00:00
Add back button to system information dialog. Fixes #3415
This commit is contained in:
parent
2c9eff3274
commit
b69614bdec
@ -318,6 +318,7 @@ void LogoScreen::render() {
|
||||
|
||||
void SystemInfoScreen::CreateViews() {
|
||||
// NOTE: Do not translate this section. It will change a lot and will be impossible to keep up.
|
||||
I18NCategory *g = GetI18NCategory("General");
|
||||
|
||||
using namespace UI;
|
||||
root_ = new ScrollView(ORIENT_VERTICAL, new LayoutParams(FILL_PARENT, FILL_PARENT));
|
||||
@ -326,10 +327,11 @@ void SystemInfoScreen::CreateViews() {
|
||||
root_->Add(scroll);
|
||||
|
||||
scroll->Add(new ItemHeader("System Information"));
|
||||
scroll->Add(new InfoItem("System Name :", System_GetName()));
|
||||
scroll->Add(new InfoItem("GPU Vendor :", (char *)glGetString(GL_VENDOR)));
|
||||
scroll->Add(new InfoItem("GPU Model :", (char *)glGetString(GL_RENDERER)));
|
||||
scroll->Add(new InfoItem("OpenGL Version Supported :", (char *)glGetString(GL_VERSION)));
|
||||
scroll->Add(new InfoItem("System Name", System_GetName()));
|
||||
scroll->Add(new InfoItem("GPU Vendor", (char *)glGetString(GL_VENDOR)));
|
||||
scroll->Add(new InfoItem("GPU Model", (char *)glGetString(GL_RENDERER)));
|
||||
scroll->Add(new InfoItem("OpenGL Version Supported", (char *)glGetString(GL_VERSION)));
|
||||
scroll->Add(new Choice(g->T("Back")))->OnClick.Handle<UIScreen>(this, &UIScreen::OnBack);
|
||||
|
||||
#ifdef _WIN32
|
||||
scroll->Add(new ItemHeader("OpenGL Extensions"));
|
||||
|
Loading…
Reference in New Issue
Block a user