LeviLamina
Loading...
Searching...
No Matches
ButtonComponent Class Reference
Inheritance diagram for ButtonComponent:

Public Member Functions

virtual ::std::unique_ptr<::UIComponent > clone (::UIControl &cloneOwner) const
virtual void reset ()
virtual void reload (::UIComponent const &rhs)
virtual::ComponentReceiveActionType receive (::VisualTree &screenEvent, ::ScreenInputContext &, ::UIAnimationController &, ::ScreenEvent const &)
virtual::ComponentReceiveActionType receive (::ScreenEvent const &screenEvent)
virtual void onVisibilityChanged (bool visible)
virtual void onEnabledChanged (bool enabled)
MCAPI ButtonComponent (::UIControl &owner)
MCAPI void _updateControlVisibility ()
MCFOLD ::std::weak_ptr<::UIControlgetDefaultStateControl () const
MCFOLD ::std::weak_ptr<::UIControlgetHoverStateControl () const
MCFOLD ::std::weak_ptr<::UIControlgetLockedStateControl () const
MCFOLD ::std::weak_ptr<::UIControlgetPressedStateControl () const
MCFOLD void setConsumeEvents (bool consumeEvents)
MCAPI void setDefaultStateControl (::std::weak_ptr<::UIControl > control)
MCAPI void setHoverStateControl (::std::weak_ptr<::UIControl > control)
MCAPI void setLockedStateControl (::std::weak_ptr<::UIControl > control)
MCAPI void setPressedStateControl (::std::weak_ptr<::UIControl > control)
MCAPI void * $ctor (::UIControl &owner)
MCAPI ::std::unique_ptr<::UIComponent > $clone (::UIControl &cloneOwner) const
MCAPI void $reset ()
MCAPI void $reload (::UIComponent const &rhs)
MCAPI::ComponentReceiveActionType $receive (::VisualTree &screenEvent, ::ScreenInputContext &, ::UIAnimationController &, ::ScreenEvent const &)
MCAPI::ComponentReceiveActionType $receive (::ScreenEvent const &screenEvent)
MCAPI void $onVisibilityChanged (bool visible)
MCAPI void $onEnabledChanged (bool enabled)
virtual void onNotifyChildAdded ()
virtual void onNotifyChildRemoved ()
virtual void onRemoved ()
virtual void onAdded ()
virtual bool isRenderableComponent () const
virtual bool isCustomFrameUpdateComponent () const
virtual bool onLayoutChange ()
virtual::std::string const & getTextToSpeechComponentValue () const
MCFOLD::UIControl const & getOwner () const
MCFOLD::UIControl & getOwner ()
MCAPI bool isLocked () const
MCFOLD void $dtor ()
MCFOLD void $onNotifyChildAdded ()
MCFOLD void $onNotifyChildRemoved ()
MCFOLD void $onRemoved ()
MCFOLD void $onAdded ()
MCFOLD bool $isRenderableComponent () const
MCFOLD bool $isCustomFrameUpdateComponent () const
MCFOLD bool $onLayoutChange ()
MCFOLD::std::string const & $getTextToSpeechComponentValue () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mDefaultStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mHoverStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mPressedStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mLockedStateControl
::ll::TypedStorage< 1, 1, bool > mPressed
::ll::TypedStorage< 1, 1, bool > mHover
::ll::TypedStorage< 1, 1, bool > mConsumeEvents
::ll::TypedStorage< 8, 8, ::UIControl & > mOwner

Member Function Documentation

◆ clone()

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

Implements UIComponent.

◆ reset()

virtual void ButtonComponent::reset ( )
virtual

Implements UIComponent.

◆ reload()

virtual void ButtonComponent::reload ( ::UIComponent const & rhs)
virtual

Reimplemented from UIComponent.

◆ onVisibilityChanged()

virtual void ButtonComponent::onVisibilityChanged ( bool visible)
virtual

Reimplemented from UIComponent.

◆ onEnabledChanged()

virtual void ButtonComponent::onEnabledChanged ( bool enabled)
virtual

Reimplemented from UIComponent.

◆ $vftable()

MCAPI void ** ButtonComponent::$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: