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 &screenEvent, ::ScreenInputContext &, ::UIAnimationController &, ::ScreenEvent const &)
virtual void onNotifyChildAdded ()
virtual void onAdded ()
virtual void onRemoved ()
MCAPI LayoutComponent (::UIControl &owner)
MCAPI ::std::shared_ptr<::LayoutVariables_getLayoutVariables ()
MCAPI void _initialize (::std::shared_ptr<::LayoutVariables > &layoutVariables, bool initializeInactive)
MCAPI void _initializeVariables ()
MCAPI bool _isVariableIsSupported (::LayoutVariableType type) const
MCAPI int _recursiveInitialize (::std::shared_ptr<::LayoutVariables > &layoutVariables, bool initializeInactive, bool initializeTemplate)
MCAPI::ui::AnchorPoint getAnchorFrom () const
MCAPI::ui::AnchorPoint getAnchorTo () const
MCFOLD::ui::Draggable getDraggable () const
MCAPI bool getInheritMaxSiblingHeight () const
MCAPI bool getInheritMaxSiblingWidth () const
MCFOLD::ui::LayoutOffset const & getMaxSize () const
MCFOLD::ui::LayoutOffset const & getMinSize () const
MCFOLD::ui::LayoutOffset const & getOffset () const
MCFOLD::glm::vec2 const & getOffsetDelta () const
MCAPI::glm::vec2 const getPositionMinusOffsetDelta () const
MCFOLD int getPriority () const
MCAPI::ui::PriorityRule getPriorityRule () const
MCFOLD::ui::LayoutOffset const & getSize () const
MCAPI::LayoutVariable * getVariable (::LayoutVariableType type)
MCAPI bool hasMaxSize () const
MCAPI bool hasOffsetAxisType (::LayoutVariableType axis, ::ui::LayoutAxisOffsetContainerType checkType) const
MCAPI bool hasSizeAxisType (::LayoutVariableType axis, ::ui::LayoutAxisOffsetContainerType checkType) const
MCAPI void invalidateVariableDependencies (::VariableRef &var, bool forceInvalidation)
MCAPI bool isActive () const
MCAPI bool isDelayingLayout () const
MCAPI bool isInitialized () const
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 removeReferencesToMe ()
MCAPI void setAnchorFrom (::ui::AnchorPoint anchorFrom)
MCAPI void setAnchorTo (::ui::AnchorPoint anchorTo)
MCAPI void setContained (bool contained)
MCAPI void setDelayLayout (bool delayLayout)
MCAPI void setDraggable (::ui::Draggable draggable)
MCAPI void setFollowsCursor (bool followsCursor)
MCAPI void setFollowsCursorInsideParent (bool followsCursorInsideParent)
MCAPI void setInactive ()
MCAPI void setInheritMaxSiblingHeight (bool inheritMaxSiblingHeight)
MCAPI void setInheritMaxSiblingWidth (bool inheritMaxSiblingWidth)
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 setPriority (int priority)
MCAPI void setPriorityRule (::ui::PriorityRule priorityRule)
MCAPI void setSize (::ui::LayoutOffset const &size)
MCAPI void setVariableOverrideValue (::LayoutVariableType type, float value)
MCAPI void * $ctor (::UIControl &owner)
MCAPI void $dtor ()
MCAPI ::std::unique_ptr<::UIComponent > $clone (::UIControl &cloneOwner) const
MCAPI void $reset ()
MCAPI::ComponentReceiveActionType $receive (::VisualTree &screenEvent, ::ScreenInputContext &, ::UIAnimationController &, ::ScreenEvent const &)
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::UIControl const & getOwner () const
MCFOLD::UIControl & getOwner ()
MCAPI bool isLocked () const
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: