mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add PR_RTL_XFLIP to some important places
Okay, the "Font:" thing needed some local code after all, because both the interface font as well as the level font are used there. But it's good enough - all the other places can just use the flag. Notably, I also used this for the menus, since the existing ones are kinda LTR-oriented, and it's something that we don't *really* have to do, but I think it shows we care!
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
eac612c309
commit
2b22f7cda2
@@ -285,11 +285,11 @@ void Graphics::map_option(int opt, int num_opts, const std::string& text, bool s
|
||||
// Account for brackets
|
||||
x -= (font::len(0, buffer) - font::len(0, text_upper.c_str())) / 2;
|
||||
|
||||
font::print(0, x, y, buffer, 196, 196, 255 - help.glow);
|
||||
font::print(PR_RTL_XFLIP, x, y, buffer, 196, 196, 255 - help.glow);
|
||||
}
|
||||
else
|
||||
{
|
||||
font::print(0, x, y, loc::remove_toupper_escape_chars(text), 96, 96, 96);
|
||||
font::print(PR_RTL_XFLIP, x, y, loc::remove_toupper_escape_chars(text), 96, 96, 96);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user