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)
MCFOLD::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)
MCFOLD void $onNotifyChildAdded ()
MCFOLD void $onNotifyChildRemoved ()
MCFOLD void $onRemoved ()
MCFOLD void $onAdded ()
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)

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.


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