mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Add font::is_rtl(uint32_t flags)
This will return if the given flags indicate RTL properties (such as textboxes being right-aligned).
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
ed0c9b6b1f
commit
27e83b6008
@@ -1247,6 +1247,12 @@ int height(const uint32_t flags)
|
||||
return pf.font_sel->glyph_h * pf.scale;
|
||||
}
|
||||
|
||||
bool is_rtl(const uint32_t flags)
|
||||
{
|
||||
PrintFlags pf = decode_print_flags(flags);
|
||||
return pf.rtl;
|
||||
}
|
||||
|
||||
void print(
|
||||
const uint32_t flags,
|
||||
int x,
|
||||
|
||||
Reference in New Issue
Block a user