minor update to PF debug colors

This commit is contained in:
Thomas Jentzsch 2021-12-01 11:33:18 +01:00
parent 2504f8600c
commit ce78129297
3 changed files with 6 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -255,13 +255,13 @@ uInt8 Playfield::getColor() const
}
else
{
if(myX >= TIAConstants::H_PIXEL - 16)
return myDebugColor - 2; // PF0
if(myX >= TIAConstants::H_PIXEL - 48)
if(myX < TIAConstants::H_PIXEL / 2 + 32)
return myDebugColor - 2; // PF2
if(myX < TIAConstants::H_PIXEL / 2 + 64)
return myDebugColor; // PF1
}
}
return myDebugColor + 2; // PF2
return myDebugColor + 2; // PF2/PF0
}
}

View File

@ -297,7 +297,8 @@ void DeveloperDialog::addTiaTab(const GUI::Font& font)
wid.push_back(myPFColorWidget);
myPFScoreWidget = new CheckboxWidget(myTab, font, myPFColorWidget->getRight() + +fontWidth() * 2.5,
ypos + 1, "Score");
ypos + 1, "Score color");
myPFScoreWidget->setToolTip("In score mode, playfield color gets updated one pixel early.");
wid.push_back(myPFScoreWidget);
ypos += lineHeight + VGAP * 1;