mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-06 04:35:29 +02:00
Convert more screens to SimpleDialogScreen
This commit is contained in:
@@ -11,7 +11,7 @@ void UISimpleBaseDialogScreen::CreateViews() {
|
||||
const bool portrait = UsePortraitLayout();
|
||||
|
||||
root_ = new LinearLayout(ORIENT_VERTICAL, new LayoutParams(FILL_PARENT, FILL_PARENT));
|
||||
root_->Add(new TopBar(GetTitle()));
|
||||
root_->Add(new TopBar(*screenManager()->getUIContext(), GetTitle()));
|
||||
|
||||
if (canScroll) {
|
||||
ScrollView *scroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT, 1.0f));
|
||||
|
||||
Reference in New Issue
Block a user