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

Indicator size constraint Indicator size depends on both indicator's parent size and the scroll content size. More...

Public Member Functions

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

Detailed Description

Indicator size constraint Indicator size depends on both indicator's parent size and the scroll content size.

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

Constructor & Destructor Documentation

anonymous_namespace{scroll-bar-impl.cpp}::IndicatorSizeConstraint::IndicatorSizeConstraint ( )
inline

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

Member Function Documentation

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

Constraint operator.

Parameters
[in]currentThe current indicator size
[in]parentSizePropertyThe parent size of scroll indicator.
Returns
The new scroll indicator size.

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

References height, Dali::Vector3::height, anonymous_namespace{scroll-bar-impl.cpp}::MINIMUM_INDICATOR_HEIGHT(), and Dali::Vector3::y.

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