#define __DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H__
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public:
/**
- * Create a new PageTurnPortraitView
- * @return A handle to the newly allocated PageTurnPortraitView
+ * @copydoc Toolkit::PageTurnPortraitView::New( PageFactory&, const Vector2& )
*/
static Toolkit::PageTurnPortraitView New( PageFactory& pageFactory, const Vector2& pageSize );
/**
* Constructor.
* It initializes the PageTurnPortraitView members
+ * @param[in] pageFactory The factory which provides image to PageTurnView as the page content.
+ * @param[in] pageSize The size of the page
*/
PageTurnPortraitView( PageFactory& pageFactory, const Vector2& pageSize );
virtual void OnPageTurnViewInitialize();
/**
- * @copydoc PageTurnView::NewPageFromRenderBuffer
- */
- virtual ImageActor NewPageFromRenderBuffer( int pageIndex );
-
- /**
* @copydoc PageTurnView::SetPanPosition
*/
virtual Vector2 SetPanPosition( const Vector2& gesturePosition );
virtual void SetPanActor( const Vector2& panPosition );
/**
- * @copydoc PageTurnView::SetSpineEffect
+ * @copydoc PageTurnView::OnPossibleOutwardsFlick
*/
- virtual void SetSpineEffect(ImageActor actor, bool isLeftSide);
+ virtual void OnPossibleOutwardsFlick( const Vector2& panPosition, float gestureSpeed );
/**
- * @copydoc PageTurnView::OnPossibleOutwardsFlick
+ * @copydoc PageTurnView::OnTurnedOver
*/
- virtual void OnPossibleOutwardsFlick( const Vector2& panPosition, float gestureSpeed );
+ virtual void OnTurnedOver( Actor actor, bool isLeftSide );
private:
/**
* @copydoc PageTurnView::TurnedOver
*/
- void OnTurnedOver( Animation& animation );
+ void TurnedOverBackwards( Animation& animation );
private: