mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-03-09 07:15:18 +01:00
Outline textboxless textboxes
In case they get drawn against a non-contrasting background, it's still useful to keep them readable by outlining them. This could happen if someone were to use the Game Complete gamestate sequence in a custom level (or presses R during Game Complete).
This commit is contained in:
parent
a405635cb2
commit
827b3e430b
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ void Graphics::drawgui(void)
|
||||||
{
|
{
|
||||||
for (size_t j = 0; j < textbox[i].line.size(); j++)
|
for (size_t j = 0; j < textbox[i].line.size(); j++)
|
||||||
{
|
{
|
||||||
Print(textbox[i].xp + 8, yp + text_yoff + text_sign * (j * 8), textbox[i].line[j], 196, 196, 255 - help.glow);
|
bprint(textbox[i].xp + 8, yp + text_yoff + text_sign * (j * 8), textbox[i].line[j], 196, 196, 255 - help.glow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue