Dali 3D User Interface Engine
List of all members | Public Member Functions
anonymous_namespace{scroll-bar-impl.cpp}::IndicatorPositionConstraint Struct Reference

Indicator position constraint Positions the indicator to reflect the current scroll position within the scroll domain. More...

Public Member Functions

 IndicatorPositionConstraint ()
 
void operator() (Vector3 &current, const PropertyInputContainer &inputs)
 Constraint operator. More...
 

Detailed Description

Indicator position constraint Positions the indicator to reflect the current scroll position within the scroll domain.

Definition at line 82 of file scroll-bar-impl.cpp.

Constructor & Destructor Documentation

anonymous_namespace{scroll-bar-impl.cpp}::IndicatorPositionConstraint::IndicatorPositionConstraint ( )
inline
Parameters
[in]minPositionThe minimum limit of scroll position
[in]maxPositionthe maximum limit of scroll position

Definition at line 88 of file scroll-bar-impl.cpp.

Member Function Documentation

void anonymous_namespace{scroll-bar-impl.cpp}::IndicatorPositionConstraint::operator() ( Vector3 current,
const PropertyInputContainer inputs 
)
inline

Constraint operator.

Parameters
[in,out]currentThe current indicator position
[in]inputsContains the size of indicator, the size of indicator's parent, and the scroll position of the scrollable container (from 0.0 -> 1.0 in each axis)
Returns
The new indicator position is returned.

Definition at line 98 of file scroll-bar-impl.cpp.

References anonymous_namespace{scroll-bar-impl.cpp}::DEFAULT_SLIDER_DEPTH(), Dali::Vector3::height, Dali::Toolkit::Text::min(), Dali::Vector3::y, and Dali::Vector3::z.

Here is the call graph for this function:


The documentation for this struct was generated from the following file:
Dali Docs Home
Read more about Dali