Dali 3D User Interface Engine
Classes | Functions | Variables
anonymous_namespace{spiral-layout.cpp} Namespace Reference

Classes

struct  SpiralPositionConstraint
 
struct  SpiralRotationConstraint
 
struct  SpiralColorConstraint
 
struct  SpiralVisibilityConstraint
 

Functions

float GetDefaultSpiralRadiusFunction (const Vector3 &layoutSize)
 

Variables

const float DEFAULT_ITEMS_PER_SPIRAL_TURN = 9.5f
 
const float DEFAULT_ITEM_SPACING_RADIANS = Math::PI*2.0f/DEFAULT_ITEMS_PER_SPIRAL_TURN
 
const float DEFAULT_REVOLUTION_DISTANCE = 190.0f
 
const float DEFAULT_ITEM_DESCENT = DEFAULT_REVOLUTION_DISTANCE / DEFAULT_ITEMS_PER_SPIRAL_TURN
 
const float DEFAULT_TOP_ITEM_ALIGNMENT = -0.125f
 
const float DEFAULT_SCROLL_SPEED_FACTOR = 0.01f
 
const float DEFAULT_MAXIMUM_SWIPE_SPEED = 30.0f
 
const float DEFAULT_ITEM_FLICK_ANIMATION_DURATION = 0.1f
 

Function Documentation

float anonymous_namespace{spiral-layout.cpp}::GetDefaultSpiralRadiusFunction ( const Vector3 layoutSize)

Definition at line 47 of file spiral-layout.cpp.

References Dali::Vector3::width.

Referenced by Dali::Toolkit::Internal::SpiralLayout::ApplyConstraints(), and Dali::Toolkit::Internal::SpiralLayout::GetItemPosition().

Here is the caller graph for this function:

Variable Documentation

const float anonymous_namespace{spiral-layout.cpp}::DEFAULT_ITEM_DESCENT = DEFAULT_REVOLUTION_DISTANCE / DEFAULT_ITEMS_PER_SPIRAL_TURN

Definition at line 39 of file spiral-layout.cpp.

const float anonymous_namespace{spiral-layout.cpp}::DEFAULT_ITEM_FLICK_ANIMATION_DURATION = 0.1f

Definition at line 45 of file spiral-layout.cpp.

const float anonymous_namespace{spiral-layout.cpp}::DEFAULT_ITEM_SPACING_RADIANS = Math::PI*2.0f/DEFAULT_ITEMS_PER_SPIRAL_TURN

Definition at line 36 of file spiral-layout.cpp.

const float anonymous_namespace{spiral-layout.cpp}::DEFAULT_ITEMS_PER_SPIRAL_TURN = 9.5f

Definition at line 35 of file spiral-layout.cpp.

const float anonymous_namespace{spiral-layout.cpp}::DEFAULT_MAXIMUM_SWIPE_SPEED = 30.0f

Definition at line 44 of file spiral-layout.cpp.

const float anonymous_namespace{spiral-layout.cpp}::DEFAULT_REVOLUTION_DISTANCE = 190.0f

Definition at line 38 of file spiral-layout.cpp.

const float anonymous_namespace{spiral-layout.cpp}::DEFAULT_SCROLL_SPEED_FACTOR = 0.01f

Definition at line 43 of file spiral-layout.cpp.

const float anonymous_namespace{spiral-layout.cpp}::DEFAULT_TOP_ITEM_ALIGNMENT = -0.125f

Definition at line 41 of file spiral-layout.cpp.

Dali Docs Home
Read more about Dali