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

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::ComponentReceiveActionType receive (::ScreenEvent const &screenEvent)
virtual::std::string const & getTextToSpeechComponentValue () const
MCAPI void _createSteps ()
MCAPI void _finalizeSliderBox ()
MCAPI void _sendSliderChangeEvent (::ScreenInputContext &context, bool finalized)
MCAPI void _setSelected (bool selected)
MCAPI void _setSliderValue (float value)
MCAPI void _updateSliderFromPosition (::glm::vec2 const &pointerPosition, bool finalize)
MCAPI void _updateSliderFromStepSize (int stepSize)
MCAPI bool getSliderSelected () const
MCAPI void setNumberSteps (int steps)
MCAPI void setSliderValue (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::ComponentReceiveActionType $receive (::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 visible)
virtual void onEnabledChanged (bool enabled)
virtual bool isRenderableComponent () const
virtual bool isCustomFrameUpdateComponent () const
virtual bool onLayoutChange ()
virtual void reload (::UIComponent const &rhs)
MCAPI void $onNotifyChildAdded ()
MCAPI void $onNotifyChildRemoved ()
MCAPI void $onRemoved ()
MCAPI void $onAdded ()
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)

Public Attributes

::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mSliderBoxControl
::ll::TypedStorage< 4, 4, uint > mTrackScrollButtonId
::ll::TypedStorage< 4, 4, uint > mSmallDecreaseButtonId
::ll::TypedStorage< 4, 4, uint > mSmallIncreaseButtonId
::ll::TypedStorage< 4, 4, uint > mSelectedButtonId
::ll::TypedStorage< 4, 4, uint > mDeselectedButtonId
::ll::TypedStorage< 1, 1, bool > mTrackActive
::ll::TypedStorage< 1, 1, bool > mDragActive
::ll::TypedStorage< 1, 1, ::ui::OrientationType > mSliderDirection
::ll::TypedStorage< 1, 1, bool > mInverted
::ll::TypedStorage< 4, 4, float > mPercentage
::ll::TypedStorage< 4, 4, int > mCurrentStep
::ll::TypedStorage< 4, 4, int > mNumberSteps
::ll::TypedStorage< 4, 4, float > mSliderSpeed
::ll::TypedStorage< 4, 8, ::std::optional< float > > mSliderTimeout
::ll::TypedStorage< 8, 8, double > mLastRefreshTime
bool mStepSlider: 1
bool mHover: 1
bool mSelectOnHover: 1
::ll::TypedStorage< 4, 4, uint > mSliderNameId
::ll::TypedStorage< 8, 32, ::std::string > mSliderCollectionName
::ll::TypedStorage< 1, 1, ::ui::CardinalDirection > mLastDirection
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mBackground
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mBackgroundHover
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mProgress
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mProgressHover
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mDefaultControl
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mHoverControl
::ll::TypedStorage< 8, 32, ::std::string > mTTSSliderValue
::ll::TypedStorage< 8, 8, ::UIControl & > mOwner

Member Function Documentation

◆ clone()

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

Implements UIComponent.

◆ reset()

virtual void SliderComponent::reset ( )
virtual

Implements UIComponent.

◆ _createSteps()

MCAPI void SliderComponent::_createSteps ( )
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.

◆ _finalizeSliderBox()

MCAPI void SliderComponent::_finalizeSliderBox ( )
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.

◆ _sendSliderChangeEvent()

MCAPI void SliderComponent::_sendSliderChangeEvent ( ::ScreenInputContext & context,
bool finalized )
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.

◆ _setSelected()

MCAPI void SliderComponent::_setSelected ( bool selected)
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.

◆ _setSliderValue()

MCAPI void SliderComponent::_setSliderValue ( float value)
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.

◆ _updateSliderFromPosition()

MCAPI void SliderComponent::_updateSliderFromPosition ( ::glm::vec2 const & pointerPosition,
bool finalize )
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.

◆ _updateSliderFromStepSize()

MCAPI void SliderComponent::_updateSliderFromStepSize ( int stepSize)
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.

◆ getSliderSelected()

MCAPI bool SliderComponent::getSliderSelected ( ) 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.

◆ setNumberSteps()

MCAPI void SliderComponent::setNumberSteps ( int steps)
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.

◆ setSliderValue()

MCAPI void SliderComponent::setSliderValue ( float value)
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 > SliderComponent::$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 SliderComponent::$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 SliderComponent::$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.

◆ $receive() [2/2]

MCAPI::ComponentReceiveActionType SliderComponent::$receive ( ::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.

◆ $getTextToSpeechComponentValue()

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

◆ $onNotifyChildAdded()

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

◆ $onRemoved()

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

◆ $onAdded()

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

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