mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Add background to the scroll views. Not really pretty but more readable
This commit is contained in:
1 parent
79d303f35c
commit
42b74c6a9a
4 files changed
+14
-1
No files matched your search
@@ -218,6 +218,11 @@ void DisplayLayoutScreen::CreateViews() {
|
||||
LinearLayout *bottomControls = new LinearLayout(ORIENT_HORIZONTAL, new AnchorLayoutParams(NONE, NONE, NONE, 10.0f, false));
|
||||
root_->Add(bottomControls);
|
||||
|
||||
// Set backgrounds for readability
|
||||
Drawable backgroundWithAlpha(GetBackgroundColorWithAlpha(*screenManager()->getUIContext()));
|
||||
leftScrollView->SetBG(backgroundWithAlpha);
|
||||
rightScrollView->SetBG(backgroundWithAlpha);
|
||||
|
||||
if (!IsVREnabled()) {
|
||||
auto stretch = new CheckBox(&g_Config.bDisplayStretch, gr->T("Stretch"));
|
||||
rightColumn->Add(stretch);
|
||||
|
||||
Reference in new issue
Block a user