Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LayoutComponent Class Reference
Inheritance diagram for LayoutComponent:

Public Member Functions

virtual ::std::unique_ptr<::UIComponent > clone (::UIControl &cloneOwner) const
virtual void reset ()
virtual::ComponentReceiveActionType receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
virtual void onNotifyChildAdded ()
virtual void onAdded ()
virtual void onRemoved ()
MCAPI ::std::shared_ptr<::LayoutVariables > _getLayoutVariables ()
MCAPI bool _isVariableIsSupported (::LayoutVariableType type) const
MCAPI int _recursiveInitialize (::std::shared_ptr<::LayoutVariables > &layoutVariables, bool initializeInactive, bool initializeTemplate)
MCAPI::LayoutVariable * getVariable (::LayoutVariableType type)
MCAPI void layout (::std::initializer_list<::LayoutVariableType > invalidateVariableTypes, bool forceInvalidation)
MCAPI int recursiveInitialize (::std::shared_ptr<::LayoutVariables > &layoutVariables, bool initializeInactive)
MCAPI void reinitialize (::std::initializer_list<::LayoutVariableType > variableTypes)
MCAPI void removeDeadDependencies ()
MCAPI void removeDependencies ()
MCAPI void setMaxSize (::ui::LayoutOffset const &size)
MCAPI void setMinSize (::ui::LayoutOffset const &size)
MCAPI void setOffset (::ui::LayoutOffset const &offset)
MCAPI void setOffsetDelta (::glm::vec2 const &offsetDelta, ::UIControl const *const primaryControl)
MCAPI void setSize (::ui::LayoutOffset const &size)
MCAPI ::std::unique_ptr<::UIComponent > $clone (::UIControl &cloneOwner) const
MCAPI void $reset ()
MCAPI::ComponentReceiveActionType $receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCAPI void $onNotifyChildAdded ()
MCAPI void $onAdded ()
MCAPI void $onRemoved ()
virtual::ComponentReceiveActionType receive (::ScreenEvent const &screenEvent)
virtual void onNotifyChildRemoved ()
virtual void onVisibilityChanged (bool visible)
virtual void onEnabledChanged (bool enabled)
virtual bool isRenderableComponent () const
virtual bool isCustomFrameUpdateComponent () const
virtual bool onLayoutChange ()
virtual void reload (::UIComponent const &rhs)
virtual::std::string const & getTextToSpeechComponentValue () const
MCAPI::ComponentReceiveActionType $receive (::ScreenEvent const &screenEvent)
MCAPI void $onNotifyChildRemoved ()
MCAPI void $onVisibilityChanged (bool visible)
MCAPI void $onEnabledChanged (bool enabled)
MCAPI bool $isRenderableComponent () const
MCAPI bool $isCustomFrameUpdateComponent () const
MCAPI bool $onLayoutChange ()
MCAPI void $reload (::UIComponent const &rhs)
MCAPI::std::string const & $getTextToSpeechComponentValue () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::weak_ptr<::LayoutVariables > > mAllVariables
::ll::TypedStorage< 8, 88, ::std::array<::std::unique_ptr<::LayoutVariable >, 11 > > mControlVariables
::ll::TypedStorage< 8, 56, ::ui::LayoutOffset > mOffset
::ll::TypedStorage< 8, 56, ::ui::LayoutOffset > mSize
::ll::TypedStorage< 8, 56, ::ui::LayoutOffset > mMinSize
::ll::TypedStorage< 8, 56, ::ui::LayoutOffset > mMaxSize
::ll::TypedStorage< 4, 8, ::glm::vec2 > mOffsetDelta
::ll::TypedStorage< 4, 8, ::glm::vec2 > mGridDimensions
::ll::TypedStorage< 4, 8, ::glm::vec2 > mDragPosition
::ll::TypedStorage< 1, 1, ::ui::Draggable > mDraggable
::ll::TypedStorage< 1, 1, ::ui::AnchorPoint > mAnchorFrom
::ll::TypedStorage< 1, 1, ::ui::AnchorPoint > mAnchorTo
::ll::TypedStorage< 1, 1, ::ui::PriorityRule > mPriorityRule
::ll::TypedStorage< 4, 4, int > mPriority
bool mIsBeingDragged: 1
bool mContained: 1
bool mFollowsCursor: 1
bool mFollowsCursorInsideParent: 1
bool mActive: 1
bool mInheritMaxSiblingWidth: 1
bool mInheritMaxSiblingHeight: 1
bool mIsDelayingLayout: 1
bool mIsInitialized: 1
::ll::TypedStorage< 8, 8, ::UIControl & > mOwner

Member Function Documentation

◆ clone()

virtual ::std::unique_ptr<::UIComponent > LayoutComponent::clone ( ::UIControl & cloneOwner) const
virtual

Implements UIComponent.

◆ reset()

virtual void LayoutComponent::reset ( )
virtual

Implements UIComponent.

◆ onNotifyChildAdded()

virtual void LayoutComponent::onNotifyChildAdded ( )
virtual

Reimplemented from UIComponent.

◆ onAdded()

virtual void LayoutComponent::onAdded ( )
virtual

Reimplemented from UIComponent.

◆ onRemoved()

virtual void LayoutComponent::onRemoved ( )
virtual

Reimplemented from UIComponent.

◆ _getLayoutVariables()

MCAPI ::std::shared_ptr<::LayoutVariables > LayoutComponent::_getLayoutVariables ( )
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.

◆ _isVariableIsSupported()

MCAPI bool LayoutComponent::_isVariableIsSupported ( ::LayoutVariableType type) const
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.

◆ _recursiveInitialize()

MCAPI int LayoutComponent::_recursiveInitialize ( ::std::shared_ptr<::LayoutVariables > & layoutVariables,
bool initializeInactive,
bool initializeTemplate )
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.

◆ getVariable()

MCAPI::LayoutVariable * LayoutComponent::getVariable ( ::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.

◆ layout()

MCAPI void LayoutComponent::layout ( ::std::initializer_list<::LayoutVariableType > invalidateVariableTypes,
bool forceInvalidation )
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.

◆ recursiveInitialize()

MCAPI int LayoutComponent::recursiveInitialize ( ::std::shared_ptr<::LayoutVariables > & layoutVariables,
bool initializeInactive )
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.

◆ reinitialize()

MCAPI void LayoutComponent::reinitialize ( ::std::initializer_list<::LayoutVariableType > variableTypes)
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.

◆ removeDeadDependencies()

MCAPI void LayoutComponent::removeDeadDependencies ( )
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.

◆ removeDependencies()

MCAPI void LayoutComponent::removeDependencies ( )
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.

◆ setMaxSize()

MCAPI void LayoutComponent::setMaxSize ( ::ui::LayoutOffset const & size)
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.

◆ setMinSize()

MCAPI void LayoutComponent::setMinSize ( ::ui::LayoutOffset const & size)
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.

◆ setOffset()

MCAPI void LayoutComponent::setOffset ( ::ui::LayoutOffset const & offset)
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.

◆ setOffsetDelta()

MCAPI void LayoutComponent::setOffsetDelta ( ::glm::vec2 const & offsetDelta,
::UIControl const *const primaryControl )
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.

◆ setSize()

MCAPI void LayoutComponent::setSize ( ::ui::LayoutOffset const & size)
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.

◆ $clone()

MCAPI ::std::unique_ptr<::UIComponent > LayoutComponent::$clone ( ::UIControl & cloneOwner) const
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.

◆ $reset()

MCAPI void LayoutComponent::$reset ( )
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.

◆ $receive() [1/2]

MCAPI::ComponentReceiveActionType LayoutComponent::$receive ( ::VisualTree & visualTree,
::ScreenInputContext & context,
::UIAnimationController & animationController,
::ScreenEvent const & screenEvent )
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.

◆ $onNotifyChildAdded()

MCAPI void LayoutComponent::$onNotifyChildAdded ( )
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.

◆ $onAdded()

MCAPI void LayoutComponent::$onAdded ( )
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.

◆ $onRemoved()

MCAPI void LayoutComponent::$onRemoved ( )
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.

◆ $vftable()

MCAPI void ** LayoutComponent::$vftable ( )
static
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.

◆ $receive() [2/2]

MCAPI::ComponentReceiveActionType UIComponent::$receive ( ::ScreenEvent const & screenEvent)
inherited
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.

◆ $onNotifyChildRemoved()

MCAPI void UIComponent::$onNotifyChildRemoved ( )
inherited
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.

◆ $onVisibilityChanged()

MCAPI void UIComponent::$onVisibilityChanged ( bool visible)
inherited
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.

◆ $onEnabledChanged()

MCAPI void UIComponent::$onEnabledChanged ( bool enabled)
inherited
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.

◆ $isRenderableComponent()

MCAPI bool UIComponent::$isRenderableComponent ( ) const
inherited
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.

◆ $isCustomFrameUpdateComponent()

MCAPI bool UIComponent::$isCustomFrameUpdateComponent ( ) const
inherited
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.

◆ $onLayoutChange()

MCAPI bool UIComponent::$onLayoutChange ( )
inherited
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.

◆ $reload()

MCAPI void UIComponent::$reload ( ::UIComponent const & rhs)
inherited
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.

◆ $getTextToSpeechComponentValue()

MCAPI::std::string const & UIComponent::$getTextToSpeechComponentValue ( ) const
inherited
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: