mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user