- re-enabled code block commented out for testing.

This commit is contained in:
Christoph Oelckers 2019-04-22 18:52:21 +02:00
parent e53fc83ef2
commit 8357f2b16b

View file

@ -62,7 +62,7 @@ class MessageBoxMenu : Menu
mMouseLeft = 140;
mMouseY = 0x80000000;
//if (generic_ui)
if (generic_ui)
{
arrowFont = textFont = NewSmallFont;
int factor = (CleanXfac+1) / 2;
@ -70,7 +70,6 @@ class MessageBoxMenu : Menu
destHeight = screen.GetHeight() / factor;
selector = "▶";
}
/*
else
{
textFont = AlternativeSmallFont;
@ -79,7 +78,6 @@ class MessageBoxMenu : Menu
destHeight = CleanHeight;
selector = "\xd";
}
*/
int mr1 = destWidth/2 + 10 + textFont.StringWidth(Stringtable.Localize("$TXT_YES"));
int mr2 = destWidth/2 + 10 + textFont.StringWidth(Stringtable.Localize("$TXT_NO"));