Dali 3D User Interface Engine
Classes | Typedefs | Enumerations | Functions
Dali_toolkit_controls_scroll_view

Classes

class  Dali::Toolkit::ScrollViewEffect
 ScrollView Effect base class, used to apply custom effects to a ScrollView instance. More...
 
class  Dali::Toolkit::ScrollViewPagePathEffect
 ScrollView Page Path Effect. More...
 
struct  Dali::Toolkit::ClampState2D
 A 2 dimensional clamp .0. More...
 
class  Dali::Toolkit::RulerDomain
 Used for specifying minimum/maximum extents of a ruler. More...
 
class  Dali::Toolkit::Ruler
 Abstract class to define scroll axes. More...
 
class  Dali::Toolkit::DefaultRuler
 Concrete implementation of Ruler that has no snapping and has one single page. More...
 
class  Dali::Toolkit::FixedRuler
 Concrete implementation of Ruler that has fixed snapping. More...
 
class  Dali::Toolkit::ScrollView
 ScrollView contains actors that can be scrolled manually (via touch) or automatically. More...
 

Typedefs

typedef IntrusivePtr< Ruler > Dali::Toolkit::RulerPtr
 Pointer to Dali::Toolkit::Ruler object .0. More...
 

Enumerations

enum  Dali::Toolkit::ClampState { Dali::Toolkit::NotClamped, Dali::Toolkit::ClampedToMin, Dali::Toolkit::ClampedToMax }
 How axes/rotation or scale are clamped .0. More...
 
enum  Dali::Toolkit::SnapType { Dali::Toolkit::Snap, Dali::Toolkit::Flick }
 The snap type .0. More...
 
enum  Dali::Toolkit::DirectionBias { Dali::Toolkit::DirectionBiasLeft = -1, Dali::Toolkit::DirectionBiasNone = 0, Dali::Toolkit::DirectionBiasRight = 1 }
 DirectionBias types. More...
 

Functions

void Dali::Toolkit::MoveActorConstraint (Vector3 &current, const PropertyInputContainer &inputs)
 Useful constraints to apply to a ScrollView. More...
 
void Dali::Toolkit::WrapActorConstraint (Vector3 &position, const PropertyInputContainer &inputs)
 Wrap Actor constraint. More...
 

Detailed Description

Typedef Documentation

typedef IntrusivePtr<Ruler> Dali::Toolkit::RulerPtr

Pointer to Dali::Toolkit::Ruler object .0.

Definition at line 366 of file scroll-view.h.

Enumeration Type Documentation

How axes/rotation or scale are clamped .0.

Enumerator
NotClamped 

The quantity isn't clamped .0.

ClampedToMin 

The quantity is clamped to the min value .0.

ClampedToMax 

The quantity is clamped to the max value .0.

Definition at line 46 of file scroll-view.h.

DirectionBias types.

.0

Enumerator
DirectionBiasLeft 

Bias scroll snap to Left .0.

DirectionBiasNone 

Don't bias scroll snap .0.

DirectionBiasRight 

Bias scroll snap to Right .0.

Definition at line 77 of file scroll-view.h.

The snap type .0.

Enumerator
Snap 

Snap .0.

Flick 

Flick .0.

Definition at line 67 of file scroll-view.h.

Function Documentation

DALI_IMPORT_API void Dali::Toolkit::MoveActorConstraint ( Vector3 current,
const PropertyInputContainer inputs 
)

Useful constraints to apply to a ScrollView.

Move Actor constraint.

Moves an Actor in accordance to scroll position. .0

Definition at line 33 of file scroll-view-constraints.cpp.

References GetVector2().

Referenced by Dali::Toolkit::Internal::ScrollView::SetInternalConstraints(), and UtcDaliToolkitScrollViewConstraintsMove().

Here is the call graph for this function:

Here is the caller graph for this function:

DALI_IMPORT_API void Dali::Toolkit::WrapActorConstraint ( Vector3 position,
const PropertyInputContainer inputs 
)

Wrap Actor constraint.

Wraps an Actors position in accordance to min/max bounds of domain. .0

Definition at line 38 of file scroll-view-constraints.cpp.

References Dali::Math::MACHINE_EPSILON_1, Dali::Toolkit::Text::min(), Dali::WrapInDomain(), Dali::Vector2::x, Dali::Vector3::x, Dali::Vector2::y, and Dali::Vector3::y.

Referenced by Dali::Toolkit::Internal::ScrollView::SetInternalConstraints(), and UtcDaliToolkitScrollViewConstraintsWrap().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali