mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Continue fixing positions for right2left layout (hebrew)
This commit is contained in:
parent
34d64c5bee
commit
743f460402
@ -173,12 +173,12 @@ CButton::Draw ()
|
||||
if (m_nbMenu == 1 || !m_bEnable || !m_bMouseDown)
|
||||
return;
|
||||
|
||||
pos.x += m_dim.x + 2;
|
||||
pos.x += IsRightReading () ? -m_dim.x - 2 : m_dim.x + 2;
|
||||
for (i = 0; i < m_nbMenu; i++)
|
||||
{
|
||||
m_pPixmap->DrawIcon (-1, CHBUTTON + m_type, i == m_selMenu ? 1 : 0, pos);
|
||||
m_pPixmap->DrawIcon (-1, CHBUTTON + m_type, m_iconMenu[i] + 6, pos);
|
||||
pos.x += m_dim.x - 1;
|
||||
pos.x += IsRightReading () ? -m_dim.x - 1 : m_dim.x - 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user