Merge pull request #2770 from raven02/patch-3

Fix YES/NO selection color in save dialog
This commit is contained in:
Henrik Rydgård committed 2013-07-14 01:32:53 -07:00
commit dcb400f85d
1 file changed
+1 -1
+1 -1
View File
@@ -499,7 +499,7 @@ void PSPSaveDialog::DisplayMessage(std::string text, bool hasYesNo)
float y2 = y + h2 + 4.0f;
h2 += h + 4.0f;
y = 132.0f - h;
PPGeDrawRect(x - w, y2 - h, x + w, y2 + h, CalcFadedColor(0x65636358));
PPGeDrawRect(x - w, y2 - h, x + w, y2 + h, CalcFadedColor(0x40C0C0C0));
PPGeDrawText(d->T("Yes"), 302.0f, y2, PPGE_ALIGN_CENTER, FONT_SCALE, CalcFadedColor(yesColor));
PPGeDrawText(d->T("No"), 366.0f, y2, PPGE_ALIGN_CENTER, FONT_SCALE, CalcFadedColor(noColor));
if (IsButtonPressed(CTRL_LEFT) && yesnoChoice == 0) {