mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 00:59:41 +01:00
More UI cleanup
This commit is contained in:
1 parent
849c5c10e4
commit
e93c71b337
3 files changed
+21
-19
No files matched your search
@@ -126,11 +126,14 @@ void SystemInfoScreen::CreateDeviceInfoTab(UI::LinearLayout *deviceSpecs) {
|
||||
// deviceSpecs->Add(new TopBar(*screenManager()->getUIContext(), portrait ? TopBarFlags::Portrait : TopBarFlags::Default, si->T("Device Info")));
|
||||
|
||||
ChoiceGroupList *groups = deviceSpecs->Add(new ChoiceGroupList());
|
||||
|
||||
Choice *copy = groups->Add(new ChoiceGroup())->Add(new Choice(si->T("Copy summary to clipboard"), ImageID("I_FILE_COPY")));
|
||||
copy->OnClick.Add([this](UI::EventParams &e) { CopySummaryToClipboard(screenManager()->getDrawContext()); });
|
||||
|
||||
ChoiceGroup *systemInfo = groups->Add(new ChoiceGroup(si->T("System Information")));
|
||||
|
||||
Draw::DrawContext *draw = screenManager()->getDrawContext();
|
||||
|
||||
systemInfo->Add(new Choice(si->T("Copy summary to clipboard"), ImageID("I_FILE_COPY")))->OnClick.Add([this](UI::EventParams &e) { CopySummaryToClipboard(screenManager()->getDrawContext()); });
|
||||
systemInfo->Add(new InfoItem(si->T("System Name"), System_GetProperty(SYSPROP_NAME)));
|
||||
#if PPSSPP_PLATFORM(ANDROID)
|
||||
systemInfo->Add(new InfoItem(si->T("System Version"), StringFromInt(System_GetPropertyInt(SYSPROP_SYSTEMVERSION))));
|
||||
|
||||
Reference in new issue
Block a user