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 void _initialize (::std::shared_ptr<::LayoutVariables > &layoutVariables, bool initializeInactive)
MCAPI void _initializeVariables ()
MCAPI int _recursiveInitialize (::std::shared_ptr<::LayoutVariables > &layoutVariables, bool initializeInactive, bool initializeTemplate)
MCAPI::LayoutVariable * getVariable (::LayoutVariableType type)
MCAPI void invalidateVariableDependencies (::VariableRef &var, bool forceInvalidation)
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 removeDependencies ()
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 void setVariableOverrideValue (::LayoutVariableType type, float value)
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
MCFOLD void $dtor ()
MCFOLD::ComponentReceiveActionType $receive (::ScreenEvent const &screenEvent)
MCFOLD void $onNotifyChildRemoved ()
MCFOLD void $onVisibilityChanged (bool visible)
MCFOLD void $onEnabledChanged (bool enabled)
MCFOLD bool $isRenderableComponent () const
MCFOLD bool $isCustomFrameUpdateComponent () const
MCFOLD bool $onLayoutChange ()
MCFOLD void $reload (::UIComponent const &rhs)
MCFOLD::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::LayoutOffsetmOffset
::ll::TypedStorage< 8, 56, ::ui::LayoutOffsetmSize
::ll::TypedStorage< 8, 56, ::ui::LayoutOffsetmMinSize
::ll::TypedStorage< 8, 56, ::ui::LayoutOffsetmMaxSize
::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.

◆ $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.

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