enum EE::UI::UIDirection¶
Overview¶
Logical UI reading/layout direction of a widget subtree. More…
#include <uidirection.hpp> enum UIDirection: Uint8 { LeftToRight, RightToLeft, };
Detailed Documentation¶
Logical UI reading/layout direction of a widget subtree.
The UI direction is independent from the direction of the text a widget renders: a right-to-left UI can contain left-to-right paragraphs and vice versa. It decides how logical concepts (start, end, inline-start, inline-end, layout-to-start-of, …) resolve to physical edges. Physical concepts (left, right, margin-left, UI_HALIGN_LEFT, …) never change their meaning.