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::ComponentReceiveActionType _handleButtonEvent (::VisualTree &visualTree, ::ScreenInputContext &context, ::ButtonScreenEventData const &buttonData)
MCAPI void _handleControllerDirectionEvent (::VisualTree &visualTree, ::ScreenInputContext &context, ::ControllerDirectionEventData const &controllerData)
MCAPI void _handleHoverEvent (::VisualTree &visualTree, ::HoverScreenEventData const &hoverData)
MCAPI void _moveSliderBox (::glm::vec2 offsetDelta)
MCAPI void _sendSliderChangeEvent (::ScreenInputContext &context, bool finalized)
MCAPI void _setSelected (bool selected)
MCAPI void _setSliderValue (float value)
MCAPI void _updateControlVisibility ()
MCAPI void _updateSliderBarProgress ()
MCAPI void _updateSliderFromDirection (::ui::CardinalDirection direction)
MCAPI void _updateSliderFromPosition (::glm::vec2 const &pointerPosition, bool finalize)
MCAPI void _updateSliderFromStepSize (int stepSize)
MCAPI bool getSliderSelected () const
MCAPI void setSliderValue (float value)
MCAPI void $dtor ()
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)
MCFOLD::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 > > 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.

◆ $vftable()

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