class
#include <OE/UI/Layouts/AlignableLayout.hpp>
AlignableLayout
Contents
Base classes
- class Layout virtual
Derived classes
- class LinearLayout
Public static functions
-
static auto GetAlignedPosition(RectAlignment alignment,
Math::
Vec2f innerSize, Math:: Vec2f outerSize) -> Math:: Vec2f - static auto AlignAxis(Alignment alignment, float inner, float outer) -> float
- static auto RectAlignmentToAlignment(RectAlignment rectAlignment, bool axis) -> Alignment
Public functions
- auto getAlignment() -> RectAlignment
- void setAlignment(RectAlignment alignment)
-
auto getAlignedPosition(Math::
Vec2f innerSize, Math:: Vec2f outerSize) -> Math:: Vec2f