Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LayoutRule Class Reference

Public Member Functions

MCAPI void addAnchorTerm (::UIControl &relativeTo, ::LayoutVariableType const type, ::ui::AnchorPoint const anchorPoint, float const signFactor, ::LayoutRuleTermType termType)
MCAPI void addAxisOffsetTerms (::UIControl &relativeTo, ::UIControl &control, ::std::vector<::ui::AxisOffset > const &offsets)
MCAPI void addDependsOnMeEntriesForInvalidation (::VariableRef const &variable, bool checkForDuplicates)
MCAPI void addFillGridDimensionTerm (::UIControl &control, ::UIControl &itemTemplate, ::LayoutVariableType dimensionType, ::ui::OrientationType rescalingType)
MCAPI void addGridSizeTerms (::UIControl &control, ::UIControl &gridItemTemplate, ::LayoutVariableType sizeType, float scale)
MCAPI void addOffsetDeltaTerm (::UIControl &control, ::LayoutVariableType type)
MCAPI void addRescalingGridDimensionTerm (::UIControl &control, ::UIControl &itemTemplate, ::LayoutVariableType dimensionType, ::ui::OrientationType rescalingType)

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::LayoutRuleTerm > > mTerms

Member Function Documentation

◆ addAnchorTerm()

MCAPI void LayoutRule::addAnchorTerm ( ::UIControl & relativeTo,
::LayoutVariableType const type,
::ui::AnchorPoint const anchorPoint,
float const signFactor,
::LayoutRuleTermType termType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addAxisOffsetTerms()

MCAPI void LayoutRule::addAxisOffsetTerms ( ::UIControl & relativeTo,
::UIControl & control,
::std::vector<::ui::AxisOffset > const & offsets )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addDependsOnMeEntriesForInvalidation()

MCAPI void LayoutRule::addDependsOnMeEntriesForInvalidation ( ::VariableRef const & variable,
bool checkForDuplicates )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addFillGridDimensionTerm()

MCAPI void LayoutRule::addFillGridDimensionTerm ( ::UIControl & control,
::UIControl & itemTemplate,
::LayoutVariableType dimensionType,
::ui::OrientationType rescalingType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addGridSizeTerms()

MCAPI void LayoutRule::addGridSizeTerms ( ::UIControl & control,
::UIControl & gridItemTemplate,
::LayoutVariableType sizeType,
float scale )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addOffsetDeltaTerm()

MCAPI void LayoutRule::addOffsetDeltaTerm ( ::UIControl & control,
::LayoutVariableType type )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addRescalingGridDimensionTerm()

MCAPI void LayoutRule::addRescalingGridDimensionTerm ( ::UIControl & control,
::UIControl & itemTemplate,
::LayoutVariableType dimensionType,
::ui::OrientationType rescalingType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: