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

Public Member Functions

virtual ::std::unique_ptr<::UIComponent > clone (::UIControl &cloneOwner) const
virtual void reset ()
virtual::ComponentReceiveActionType receive (::ScreenEvent const &screenEvent)
virtual::ComponentReceiveActionType receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
virtual::std::string const & getTextToSpeechComponentValue () const
MCAPI ToggleComponent (::UIControl &owner)
MCAPI void _handleHoverEvent (::VisualTree &visualTree, ::ScreenInputContext &context, ::HoverScreenEventData const &hoverData)
MCAPI void _setChecked (::ScreenInputContext &context, bool checked, bool toggledByButtonClick)
MCAPI void _toggleOff (::VisualTree &visualTree, ::ScreenInputContext &context, bool toggledByButtonClick)
MCAPI void _toggleOn (::VisualTree &visualTree, ::ScreenInputContext &context, bool toggledByButtonClick)
MCAPI void _updateControlVisibility ()
MCAPI void _updateToggleGroupState (::VisualTree &visualTree, bool toggleState)
MCAPI void setChecked (bool checked)
MCAPI void setForcedGroupIndex (int forcedIndex)
MCAPI void * $ctor (::UIControl &owner)
MCAPI void $dtor ()
MCAPI ::std::unique_ptr<::UIComponent > $clone (::UIControl &cloneOwner) const
MCAPI void $reset ()
MCAPI::ComponentReceiveActionType $receive (::ScreenEvent const &screenEvent)
MCAPI::ComponentReceiveActionType $receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCAPI::std::string const & $getTextToSpeechComponentValue () const
virtual void onNotifyChildAdded ()
virtual void onNotifyChildRemoved ()
virtual void onRemoved ()
virtual void onAdded ()
virtual void onVisibilityChanged (bool)
virtual void onEnabledChanged (bool)
virtual bool isRenderableComponent () const
virtual bool isCustomFrameUpdateComponent () const
virtual bool onLayoutChange ()
virtual void reload (::UIComponent const &rhs)
MCFOLD void $onNotifyChildAdded ()
MCFOLD void $onNotifyChildRemoved ()
MCFOLD void $onRemoved ()
MCFOLD void $onAdded ()
MCFOLD void $onVisibilityChanged (bool)
MCFOLD void $onEnabledChanged (bool)
MCFOLD bool $isRenderableComponent () const
MCFOLD bool $isCustomFrameUpdateComponent () const
MCFOLD bool $onLayoutChange ()
MCFOLD void $reload (::UIComponent const &rhs)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mCheckedStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mUncheckedStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mCheckedHoverStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mUncheckedHoverStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mCheckedLockedStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mCheckedLockedHoverStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mUncheckedLockedStateControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mUncheckedLockedHoverStateControl
bool mChecked: 1
bool mHover: 1
bool mRadioToggleGroup: 1
bool mDefaultState: 1
bool mEnableDirectionalToggling: 1
::ll::TypedStorage< 8, 32, ::std::string > mGridCollectionName
::ll::TypedStorage< 4, 4, uint > mToggleNameId
::ll::TypedStorage< 4, 4, uint > mToggleOnButtonId
::ll::TypedStorage< 4, 4, uint > mToggleOffButtonId
::ll::TypedStorage< 4, 4, int > mForcedIndex
::ll::TypedStorage< 4, 4, int > mDefaultGroupSelectedIndex
::ll::TypedStorage< 8, 32, ::std::string > mTTSValueOn
::ll::TypedStorage< 8, 32, ::std::string > mTTSValueOff
::ll::TypedStorage< 8, 32, ::std::string > mDescriptiveText
::ll::TypedStorage< 8, 8, ::UIControl & > mOwner

Member Function Documentation

◆ clone()

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

Implements UIComponent.

◆ reset()

virtual void ToggleComponent::reset ( )
virtual

Implements UIComponent.

◆ $vftable()

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