mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Convert more screens to SimpleDialogScreen
This commit is contained in:
1 parent
e37c0cbef3
commit
78f20846c5
9 files changed
+27
-28
No files matched your search
+2
-5
@@ -26,15 +26,12 @@ UploadScreen::~UploadScreen() {
|
||||
StopWebServer(WebServerFlags::FILE_UPLOAD);
|
||||
}
|
||||
|
||||
void UploadScreen::CreateViews() {
|
||||
void UploadScreen::CreateDialogViews(UI::ViewGroup *root) {
|
||||
using namespace UI;
|
||||
auto n = GetI18NCategory(I18NCat::NETWORKING);
|
||||
root_ = new LinearLayout(ORIENT_VERTICAL);
|
||||
|
||||
root_->Add(new TopBar(""));
|
||||
|
||||
LinearLayout *container = new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(500, FILL_PARENT, 0.0f, UI::Gravity::G_HCENTER, Margins(10)));
|
||||
root_->Add(container);
|
||||
root->Add(container);
|
||||
|
||||
container->Add(new TextWithImage(ImageID("I_FOLDER_UPLOAD"), targetFolder_.ToVisualString()));
|
||||
container->Add(new Spacer(20.0f));
|
||||
|
||||
Reference in new issue
Block a user