From 827b3e430bc2ab22df6446e6bd85641b1a5b043f Mon Sep 17 00:00:00 2001 From: Misa Date: Fri, 19 Mar 2021 13:38:25 -0700 Subject: [PATCH] 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). --- desktop_version/src/Graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index a4e7c8eb..5e4c99b6 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -860,7 +860,7 @@ void Graphics::drawgui(void) { 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