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:
parent
1e1fc1f7f4
commit
ad241f3807
@ -734,13 +734,13 @@ CDecor::StatisticDraw ()
|
||||
|
||||
if (pStatistic->nb > 0)
|
||||
{
|
||||
pos.x -= 3;
|
||||
pos.x -= IsRightReading () ? -21 : 3;
|
||||
pos.y -= 5;
|
||||
m_pPixmap->DrawIcon (-1, CHBUTTON, icon, pos);
|
||||
|
||||
nb = pStatistic->nb;
|
||||
snprintf (text, sizeof (text), "%d", nb);
|
||||
pos.x += 3 + 34;
|
||||
pos.x += IsRightReading () ? -21 + 22 : 3 + 34;
|
||||
pos.y += 5 + 7;
|
||||
DrawText (m_pPixmap, pos, text);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user