mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Split the display layout config between landscape and portrait orientations
This commit is contained in:
1 parent
3e2edbfe81
commit
67010ff2af
60 files changed
+480
-317
No files matched your search
+2
-2
@@ -169,7 +169,7 @@ void PromptScreen::CreateViews() {
|
||||
// Scrolling action menu to the right.
|
||||
using namespace UI;
|
||||
|
||||
const bool portrait = UsePortraitLayout();
|
||||
const bool portrait = GetDeviceOrientation() == DeviceOrientation::Portrait;
|
||||
|
||||
root_ = new AnchorLayout();
|
||||
ViewGroup *rightColumnItems;
|
||||
@@ -518,7 +518,7 @@ void CreditsScreen::CreateDialogViews(UI::ViewGroup *root) {
|
||||
auto cr = GetI18NCategory(I18NCat::PSPCREDITS);
|
||||
auto mm = GetI18NCategory(I18NCat::MAINMENU);
|
||||
|
||||
const bool portrait = UsePortraitLayout();
|
||||
const bool portrait = GetDeviceOrientation() == DeviceOrientation::Portrait;
|
||||
|
||||
const bool gold = System_GetPropertyBool(SYSPROP_APP_GOLD);
|
||||
|
||||
|
||||
Reference in new issue
Block a user