mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
More work on smoother keyboard focus
This commit is contained in:
1 parent
36c8d7f408
commit
30e58d9848
4 files changed
+15
-5
No files matched your search
@@ -692,6 +692,7 @@ void MainScreen::CreateViews() {
|
||||
|
||||
TabHolder *leftColumn = new TabHolder(ORIENT_HORIZONTAL, 64);
|
||||
tabHolder_ = leftColumn;
|
||||
|
||||
leftColumn->SetClip(true);
|
||||
|
||||
ScrollView *scrollRecentGames = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT));
|
||||
@@ -778,6 +779,7 @@ void MainScreen::CreateViews() {
|
||||
gold->OnClick.Handle(this, &MainScreen::OnSupport);
|
||||
gold->SetIcon(I_ICONGOLD);
|
||||
#endif
|
||||
rightColumnItems->Add(new Spacer(25.0));
|
||||
rightColumnItems->Add(new Choice(m->T("Exit")))->OnClick.Handle(this, &MainScreen::OnExit);
|
||||
|
||||
if (vertical) {
|
||||
@@ -794,6 +796,8 @@ void MainScreen::CreateViews() {
|
||||
root_->Add(rightColumn);
|
||||
}
|
||||
|
||||
root_->SetDefaultFocusView(tabHolder_);
|
||||
|
||||
I18NCategory *u = GetI18NCategory("Upgrade");
|
||||
|
||||
upgradeBar_ = 0;
|
||||
|
||||
Reference in new issue
Block a user