mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
CHange the TabbedDialog create-tab API to allow for future lazy-loading
This commit is contained in:
1 parent
4b977b43c2
commit
6efb758893
12 files changed
+249
-145
No files matched your search
@@ -278,12 +278,14 @@ RemoteISOScreen::RemoteISOScreen(const Path &filename) : TabbedUIDialogScreenWit
|
||||
void RemoteISOScreen::CreateTabs() {
|
||||
auto ri = GetI18NCategory(I18NCat::REMOTEISO);
|
||||
|
||||
UI::LinearLayout *connect = AddTab("Connect", ri->T("Connect"));
|
||||
connect->SetSpacing(5.0f);
|
||||
CreateConnectTab(connect);
|
||||
AddTab("Connect", ri->T("Connect"), [this](UI::LinearLayout *connect) {
|
||||
connect->SetSpacing(5.0f);
|
||||
CreateConnectTab(connect);
|
||||
});
|
||||
|
||||
UI::LinearLayout *settings = AddTab("Settings", ri->T("Settings"));
|
||||
CreateSettingsTab(settings);
|
||||
AddTab("Settings", ri->T("Settings"), [this](UI::LinearLayout *settings) {
|
||||
CreateSettingsTab(settings);
|
||||
});
|
||||
}
|
||||
|
||||
void RemoteISOScreen::update() {
|
||||
|
||||
Reference in new issue
Block a user