-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Milestone
Description
The "new" LAYOUT_LANDSCAPE()
function offers a significant advantage: it maintains the orientation of Rel_*
relationships. For example, Rel_Up(a, bUp, ...)
correctly positions bUp
above a
.
In contrast, the "old" LAYOUT_LEFT_RIGHT()
function rotates Rel_Up(a, bUp, ...)
, resulting in bUp
being positioned to the left of a
.
However, the Lay_*
functions were not updated accordingly and still apply rotation. As a result, Lay_Up(a, bUp)
positions bUp
to the left of a
.
To address this, new LAY_*
functions need to be introduced to allow layouts without rotation.
The fix (new LAY_* functions) could be following:
LAY_U(a, bUp)
LAY_R(a, cRight)
LAY_D(a, dDown)
LAY_L(a, eLeft)
Potherca