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

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 &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
virtual void onNotifyChildRemoved ()
virtual bool onLayoutChange ()
MCAPI ScrollViewComponent (::UIControl &owner)
MCAPI::glm::vec2 _getContentSize () const
MCAPI void _makeScrollBarVisible ()
MCAPI void _setContentOffset (::LayoutComponent &layout, ::glm::vec2 offset, ::glm::vec2 const &scrollContentSize, ::glm::vec2 const &scrollViewPortSize)
MCAPI::ui::AnimationStatus _updateDynamicsAndScrollPosition (::mce::TimeStep const &timeStep)
MCAPI void _updateScroll (::glm::vec2 const &delta, bool updateScrollBoxLayout)
MCAPI void _updateScrollBoxSize ()
MCAPI void _updateScrollFromScrollBox (::ScreenEvent const &screenEvent)
MCAPI void _updateTouchScrollbarVisibility (::mce::TimeStep const &timeStep)
MCAPI::ui::AnimationStatus animationScrollingTick (::mce::TimeStep const &timeStep)
MCAPI bool handleScrollDirection (::VisualTree &visualTree, ::UIAnimationController &animationController, ::ScreenInputContext &context, ::glm::vec2 const &position, ::glm::vec2 const &deltaPosition, bool alreadyHandled)
MCAPI bool isPointInViewPort (::glm::vec2 const &pointerPosition) const
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 &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCAPI void $onNotifyChildRemoved ()
MCAPI bool $onLayoutChange ()
virtual::ComponentReceiveActionType receive (::ScreenEvent const &screenEvent)
virtual void onNotifyChildAdded ()
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::std::string const & getTextToSpeechComponentValue () const
MCAPI::ComponentReceiveActionType $receive (::ScreenEvent const &screenEvent)
MCAPI void $onNotifyChildAdded ()
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::std::string const & $getTextToSpeechComponentValue () const

Public Attributes

::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mScrollViewPort
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mScrollContent
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mScrollTrack
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mScrollBox
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::UIControl > > mBoxAndTrackPanel
::ll::TypedStorage< 4, 4, uint > mTrackScrollButtonId
::ll::TypedStorage< 4, 4, uint > mTouchScrollButtonId
::ll::TypedStorage< 4, 4, uint > mScrollingActiveEventId
::ll::TypedStorage< 4, 4, uint > mScrollBarReleasedEventId
::ll::TypedStorage< 4, 4, uint > mScrollBarBottomEventId
::ll::TypedStorage< 1, 1, ::ButtonState > mLastTouchButtonState
::ll::TypedStorage< 1, 1, ::ButtonState > mLastScrollBoxPressedState
::ll::TypedStorage< 4, 4, float > mDistanceForScrollEventsToPassOn
::ll::TypedStorage< 4, 4, float > mScrollSpeed
::ll::TypedStorage< 1, 1, bool > mGestureControlMode
::ll::TypedStorage< 1, 1, bool > mAlwaysHandleScrolling
::ll::TypedStorage< 1, 1, bool > mTouchMode
::ll::TypedStorage< 1, 1, bool > mAllowScrollEvenWhenContentFits
::ll::TypedStorage< 1, 1, bool > mScrollbarAlwaysVisible
::ll::TypedStorage< 4, 76, ::ScrollbarDynamics > mScrollbarDynamics
::ll::TypedStorage< 1, 1, bool > mTouchScrollBarVisible
::ll::TypedStorage< 4, 4, float > mTouchScrollBarIntensity
::ll::TypedStorage< 1, 1, bool > mJumpToBottomOnUpdate
::ll::TypedStorage< 4, 4, float > mContentSize
::ll::TypedStorage< 8, 8, ::UIControl & > mOwner

Constructor & Destructor Documentation

◆ ScrollViewComponent()

MCAPI ScrollViewComponent::ScrollViewComponent ( ::UIControl & owner)
explicit
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.

Member Function Documentation

◆ clone()

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

Implements UIComponent.

◆ reset()

virtual void ScrollViewComponent::reset ( )
virtual

Implements UIComponent.

◆ reload()

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

Reimplemented from UIComponent.

◆ onNotifyChildRemoved()

virtual void ScrollViewComponent::onNotifyChildRemoved ( )
virtual

Reimplemented from UIComponent.

◆ onLayoutChange()

virtual bool ScrollViewComponent::onLayoutChange ( )
virtual

Reimplemented from UIComponent.

◆ _getContentSize()

MCAPI::glm::vec2 ScrollViewComponent::_getContentSize ( ) 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.

◆ _makeScrollBarVisible()

MCAPI void ScrollViewComponent::_makeScrollBarVisible ( )
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.

◆ _setContentOffset()

MCAPI void ScrollViewComponent::_setContentOffset ( ::LayoutComponent & layout,
::glm::vec2 offset,
::glm::vec2 const & scrollContentSize,
::glm::vec2 const & scrollViewPortSize )
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.

◆ _updateDynamicsAndScrollPosition()

MCAPI::ui::AnimationStatus ScrollViewComponent::_updateDynamicsAndScrollPosition ( ::mce::TimeStep const & timeStep)
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.

◆ _updateScroll()

MCAPI void ScrollViewComponent::_updateScroll ( ::glm::vec2 const & delta,
bool updateScrollBoxLayout )
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.

◆ _updateScrollBoxSize()

MCAPI void ScrollViewComponent::_updateScrollBoxSize ( )
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.

◆ _updateScrollFromScrollBox()

MCAPI void ScrollViewComponent::_updateScrollFromScrollBox ( ::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.

◆ _updateTouchScrollbarVisibility()

MCAPI void ScrollViewComponent::_updateTouchScrollbarVisibility ( ::mce::TimeStep const & timeStep)
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.

◆ animationScrollingTick()

MCAPI::ui::AnimationStatus ScrollViewComponent::animationScrollingTick ( ::mce::TimeStep const & timeStep)
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.

◆ handleScrollDirection()

MCAPI bool ScrollViewComponent::handleScrollDirection ( ::VisualTree & visualTree,
::UIAnimationController & animationController,
::ScreenInputContext & context,
::glm::vec2 const & position,
::glm::vec2 const & deltaPosition,
bool alreadyHandled )
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.

◆ isPointInViewPort()

MCAPI bool ScrollViewComponent::isPointInViewPort ( ::glm::vec2 const & pointerPosition) 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.

◆ $ctor()

MCAPI void * ScrollViewComponent::$ctor ( ::UIControl & owner)
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 > ScrollViewComponent::$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 ScrollViewComponent::$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.

◆ $reload()

MCAPI void ScrollViewComponent::$reload ( ::UIComponent const & rhs)
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 ScrollViewComponent::$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.

◆ $onNotifyChildRemoved()

MCAPI void ScrollViewComponent::$onNotifyChildRemoved ( )
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 ScrollViewComponent::$onLayoutChange ( )
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 UIComponent::$receive ( ::ScreenEvent const & screenEvent)
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.

◆ $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.

◆ $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.

◆ $getTextToSpeechComponentValue()

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

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