Move all other text boxes to new system

These include the room name translator text boxes (which aren't
translated) and the foundlab and foundlab2 text boxes.
This commit is contained in:
Misa
2024-01-21 13:47:26 -08:00
committed by Misa Elizabeth Kai
parent b14ca5e366
commit 3de2c543a5
2 changed files with 30 additions and 6 deletions

View File

@@ -271,6 +271,8 @@ namespace roomname_translator
graphics.textboxcenterx();
graphics.textboxtimer(50);
}
graphics.textboxoriginalcontextauto();
graphics.textboxapplyposition();
}
static void save_translation(const char* translation)
@@ -293,6 +295,8 @@ namespace roomname_translator
graphics.textboxcenterx();
graphics.textboxtimer(180);
}
graphics.textboxoriginalcontextauto();
graphics.textboxapplyposition();
}
bool held_tab = false;
@@ -349,9 +353,11 @@ namespace roomname_translator
if (loc::lang == "en")
{
graphics.createtextboxflipme("ERROR: Can't add EN-EN translation", -1, 176, TEXT_COLOUR("red"));
graphics.textboxoriginalcontextauto();
graphics.textboxprintflags(PR_FONT_8X8);
graphics.textboxcenterx();
graphics.textboxtimer(50);
graphics.textboxapplyposition();
}
else
{