- 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
1 changed files with 1 additions and 3 deletions

View File

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