Dali 3D User Interface Engine
Typedefs | Functions | Variables
anonymous_namespace{utc-Dali-ScrollViewEffect.cpp} Namespace Reference

Typedefs

typedef std::vector< Actor >
::iterator 
ActorIter
 

Functions

int Wait (ToolkitTestApplication &application, int duration=0)
 
RulerPtr CreateRuler (float gridSize=0.0f)
 Creates a Ruler that snaps to a specified grid size. More...
 
static void ResetScrollCallbackResults ()
 
static void OnScrollStart (const Vector2 &position)
 Invoked when scrolling starts. More...
 
static void OnScrollUpdate (const Vector2 &position)
 Invoked when scrolling updates (via dragging) More...
 
static void OnScrollComplete (const Vector2 &position)
 Invoked when scrolling finishes. More...
 
ScrollView SetupTestScrollView (int rows, int columns, Vector2 size)
 
void CleanupTest ()
 
Actor AddActorToPage (Actor page, float x, float y, float cols, float rows)
 

Variables

const int RENDER_FRAME_INTERVAL = 16
 Duration of each frame in ms. (at approx 60FPS) More...
 
static bool gOnScrollStartCalled
 Whether the OnScrollStart signal was invoked. More...
 
static bool gOnScrollUpdateCalled
 Whether the OnScrollUpdate signal was invoked. More...
 
static bool gOnScrollCompleteCalled
 Whether the OnScrollComplete signal was invoked. More...
 
static Vector3 gConstraintResult
 Result from constraint. More...
 
static std::vector< ActorgPages
 Keeps track of all the pages for applying effects. More...
 

Typedef Documentation

typedef std::vector< Actor >::iterator anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::ActorIter

Definition at line 97 of file utc-Dali-ScrollViewEffect.cpp.

Function Documentation

Actor anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::AddActorToPage ( Actor  page,
float  x,
float  y,
float  cols,
float  rows 
)
void anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::CleanupTest ( )

Definition at line 210 of file utc-Dali-ScrollViewEffect.cpp.

References ResetScrollCallbackResults().

Referenced by UtcDaliScrollViewPagePathEffectTest().

Here is the call graph for this function:

Here is the caller graph for this function:

RulerPtr anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::CreateRuler ( float  gridSize = 0.0f)

Creates a Ruler that snaps to a specified grid size.

If that grid size is 0.0 then this ruler does not snap.

Parameters
[in]gridSize(optional) The grid size for the ruler, (Default = 0.0 i.e. no snapping)
Returns
The ruler is returned.

Definition at line 80 of file utc-Dali-ScrollViewEffect.cpp.

References Dali::Math::MACHINE_EPSILON_0.

Referenced by SetupTestScrollView().

Here is the caller graph for this function:

static void anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::OnScrollComplete ( const Vector2 position)
static

Invoked when scrolling finishes.

Parameters
[in]positionThe current scroll position.

Definition at line 131 of file utc-Dali-ScrollViewEffect.cpp.

static void anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::OnScrollStart ( const Vector2 position)
static

Invoked when scrolling starts.

Parameters
[in]positionThe current scroll position.

Definition at line 111 of file utc-Dali-ScrollViewEffect.cpp.

static void anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::OnScrollUpdate ( const Vector2 position)
static

Invoked when scrolling updates (via dragging)

Parameters
[in]positionThe current scroll position.

Definition at line 121 of file utc-Dali-ScrollViewEffect.cpp.

static void anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::ResetScrollCallbackResults ( )
static

Definition at line 99 of file utc-Dali-ScrollViewEffect.cpp.

Referenced by CleanupTest(), and SetupTestScrollView().

Here is the caller graph for this function:

ScrollView anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::SetupTestScrollView ( int  rows,
int  columns,
Vector2  size 
)
int anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::Wait ( ToolkitTestApplication application,
int  duration = 0 
)

Variable Documentation

Vector3 anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::gConstraintResult
static

Result from constraint.

Definition at line 94 of file utc-Dali-ScrollViewEffect.cpp.

bool anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::gOnScrollCompleteCalled
static

Whether the OnScrollComplete signal was invoked.

Definition at line 93 of file utc-Dali-ScrollViewEffect.cpp.

bool anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::gOnScrollStartCalled
static

Whether the OnScrollStart signal was invoked.

Definition at line 91 of file utc-Dali-ScrollViewEffect.cpp.

bool anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::gOnScrollUpdateCalled
static

Whether the OnScrollUpdate signal was invoked.

Definition at line 92 of file utc-Dali-ScrollViewEffect.cpp.

std::vector< Actor > anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::gPages
static

Keeps track of all the pages for applying effects.

Definition at line 96 of file utc-Dali-ScrollViewEffect.cpp.

Referenced by UtcDaliScrollViewPagePathEffectTest().

const int anonymous_namespace{utc-Dali-ScrollViewEffect.cpp}::RENDER_FRAME_INTERVAL = 16

Duration of each frame in ms. (at approx 60FPS)

Definition at line 46 of file utc-Dali-ScrollViewEffect.cpp.

Dali Docs Home
Read more about Dali