From d78338f9ef98add3e5f49eaa1effc88d06f64ffc Mon Sep 17 00:00:00 2001 From: Dav999 Date: Sun, 7 Jan 2024 04:51:17 +0100 Subject: [PATCH] XFLIP prompts in the editor --- desktop_version/src/Editor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop_version/src/Editor.cpp b/desktop_version/src/Editor.cpp index 3bd41e8d..a0dcc2da 100644 --- a/desktop_version/src/Editor.cpp +++ b/desktop_version/src/Editor.cpp @@ -1499,7 +1499,7 @@ static void draw_box_placer() graphics.fill_rect(0, 238 - textheight, 320, 240, graphics.getRGB(32, 32, 32)); graphics.fill_rect(0, 239 - textheight, 320, 240, graphics.getRGB(0, 0, 0)); - font::print_wrap(0, 4, 240 - textheight, message.c_str(), 255, 255, 255, 8, 312); + font::print_wrap(PR_RTL_XFLIP, 4, 240 - textheight, message.c_str(), 255, 255, 255, 8, 312); } static void draw_note() @@ -1797,7 +1797,7 @@ void editorrender(void) graphics.fill_rect(0, 238 - textheight, 320, 240, graphics.getRGB(32, 32, 32)); graphics.fill_rect(0, 239 - textheight, 320, 240, graphics.getRGB(0, 0, 0)); - font::print_wrap(0, 4, 240 - textheight, wrapped.c_str(), 255, 255, 255, 8, 312); + font::print_wrap(PR_RTL_XFLIP, 4, 240 - textheight, wrapped.c_str(), 255, 255, 255, 8, 312); std::string input = key.keybuffer; if (ed.entframe < 2) { @@ -1816,8 +1816,8 @@ void editorrender(void) int textheight = font::height(0); graphics.fill_rect(0, 237 - textheight * 2, 320, 240, graphics.getRGB(32, 32, 32)); graphics.fill_rect(0, 238 - textheight * 2, 320, 240, graphics.getRGB(0, 0, 0)); - font::print(PR_CJK_LOW, 4, 240 - textheight * 2, loc::gettext("Left click to place warp destination"), 196, 196, 255 - help.glow); - font::print(PR_CJK_LOW, 4, 240 - textheight, loc::gettext("Right click to cancel"), 196, 196, 255 - help.glow); + font::print(PR_CJK_LOW | PR_RTL_XFLIP, 4, 240 - textheight * 2, loc::gettext("Left click to place warp destination"), 196, 196, 255 - help.glow); + font::print(PR_CJK_LOW | PR_RTL_XFLIP, 4, 240 - textheight, loc::gettext("Right click to cancel"), 196, 196, 255 - help.glow); break; }