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


class  PageSignalCallback
class  TestPageFactory


const Vector2 PAGE_SIZE (300.f, 400.f)
static void TestCallback (BaseHandle handle)
void Wait (ToolkitTestApplication &application, int duration=0)
Integration::PanGestureEvent GeneratePan (Gesture::State state, const Vector2 &previousPosition, const Vector2 &currentPosition, unsigned long timeDelta, unsigned int numberOfTouches=1)
static void SendPan (ToolkitTestApplication &application, Gesture::State state, const Vector2 &pos)
 Helper to generate PanGestureEvent. More...
static Vector2 PerformGestureDiagonalSwipe (ToolkitTestApplication &application, Vector2 start, Vector2 direction, int frames, bool toStart=true, bool toFinish=true)


 Duration of each frame in ms. (at approx 60FPS) More...
const unsigned int TOTAL_PAGE_NUMBER = 20
const unsigned int IMAGE_WIDTH = 30
const unsigned int IMAGE_HEIGHT = 30
const Vector2 IMAGE_SIZE (static_cast< float >(IMAGE_WIDTH), static_cast< float >(IMAGE_HEIGHT))
const Vector2 SPINE_SHADOW_PARAMETER (60.0f, 30.0f)
static bool gObjectCreatedCallBackCalled

Function Documentation

Integration::PanGestureEvent anonymous_namespace{utc-Dali-PageTurnView.cpp}::GeneratePan ( Gesture::State  state,
const Vector2 previousPosition,
const Vector2 currentPosition,
unsigned long  timeDelta,
unsigned int  numberOfTouches = 1 

Definition at line 68 of file utc-Dali-PageTurnView.cpp.

const Vector2 anonymous_namespace{utc-Dali-PageTurnView.cpp}::PAGE_SIZE ( 300.  f,
400.  f 
static Vector2 anonymous_namespace{utc-Dali-PageTurnView.cpp}::PerformGestureDiagonalSwipe ( ToolkitTestApplication application,
Vector2  start,
Vector2  direction,
int  frames,
bool  toStart = true,
bool  toFinish = true 
static void anonymous_namespace{utc-Dali-PageTurnView.cpp}::SendPan ( ToolkitTestApplication application,
Gesture::State  state,
const Vector2 pos 

Helper to generate PanGestureEvent.

[in]applicationApplication instance
[in]stateThe Gesture State
[in]posThe current position of touch.

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

References anonymous_namespace{utc-Dali-PanGestureDetector.cpp}::GeneratePan(), Dali::Gesture::Possible, Dali::TestApplication::ProcessEvent(), Dali::Gesture::Started, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

static void anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestCallback ( BaseHandle  handle)

Definition at line 45 of file utc-Dali-PageTurnView.cpp.

void anonymous_namespace{utc-Dali-PageTurnView.cpp}::Wait ( ToolkitTestApplication application,
int  duration = 0 

Variable Documentation

bool anonymous_namespace{utc-Dali-PageTurnView.cpp}::gObjectCreatedCallBackCalled

Definition at line 44 of file utc-Dali-PageTurnView.cpp.

const unsigned int anonymous_namespace{utc-Dali-PageTurnView.cpp}::IMAGE_HEIGHT = 30

Definition at line 40 of file utc-Dali-PageTurnView.cpp.

const Vector2 anonymous_namespace{utc-Dali-PageTurnView.cpp}::IMAGE_SIZE(static_cast< float >(IMAGE_WIDTH), static_cast< float >(IMAGE_HEIGHT))
const unsigned int anonymous_namespace{utc-Dali-PageTurnView.cpp}::IMAGE_WIDTH = 30

Definition at line 39 of file utc-Dali-PageTurnView.cpp.

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

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

Definition at line 36 of file utc-Dali-PageTurnView.cpp.

const Vector2 anonymous_namespace{utc-Dali-PageTurnView.cpp}::SPINE_SHADOW_PARAMETER(60.0f, 30.0f)
const unsigned int anonymous_namespace{utc-Dali-PageTurnView.cpp}::TOTAL_PAGE_NUMBER = 20
Dali Docs Home
Read more about Dali