1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

WIP: continue layout for right2left reading (hebrew)

This commit is contained in:
Mathieu Schroeter 2019-02-05 22:06:09 +01:00
parent 94d88ee5f4
commit be6db65a5a

View File

@ -2049,11 +2049,15 @@ CEvent::CreateButtons (Sint32 phase)
{
pos.x = 117 + LXOFFSET ();
pos.y = 115;
if (isRightReading)
pos.x = LXIMAGE () - pos.x - DIMBUTTONX;
}
if (message == EV_PHASE_SKILL2)
{
pos.x = 117 + LXOFFSET ();
pos.y = 115 + 42;
if (isRightReading)
pos.x = LXIMAGE () - pos.x - DIMBUTTONX;
}
}