mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Add prototype Upload screen and a couple new icons. Some refactoring.
This commit is contained in:
1 parent
f83d6ac4a9
commit
c686d48268
24 files changed
+270
-68
No files matched your search
@@ -62,6 +62,7 @@
|
||||
#include "UI/DisplayLayoutScreen.h"
|
||||
#include "UI/SavedataScreen.h"
|
||||
#include "UI/Store.h"
|
||||
#include "UI/UploadScreen.h"
|
||||
#include "UI/InstallZipScreen.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/Loaders.h"
|
||||
@@ -815,6 +816,12 @@ void GameBrowser::Refresh() {
|
||||
topBar->Add(new Choice(mm->T("PPSSPP Homebrew Store"), new UI::LinearLayoutParams(WRAP_CONTENT, 64.0f)))->OnClick.Handle(this, &GameBrowser::OnHomebrewStore);
|
||||
}
|
||||
|
||||
if (browseFlags_ & BrowseFlags::UPLOAD_BUTTON) {
|
||||
topBar->Add(new Choice(ImageID("I_FOLDER_UPLOAD"), new UI::LinearLayoutParams(WRAP_CONTENT, 64.0f)))->OnClick.Add([this](UI::EventParams &e) {
|
||||
screenManager_->push(new UploadScreen());
|
||||
});
|
||||
}
|
||||
|
||||
ChoiceStrip *layoutChoice = topBar->Add(new ChoiceStrip(ORIENT_HORIZONTAL));
|
||||
layoutChoice->AddChoice(ImageID("I_GRID"));
|
||||
layoutChoice->AddChoice(ImageID("I_LINES"));
|
||||
|
||||
Reference in new issue
Block a user