X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fpage-turn-view%2Fpage-turn-portrait-view-impl.h;h=3cf9ef4a27c25eba8e2b066de5d8a4bee34ad353;hp=f64e3511adbc2611209db0aff81375f12b0a62d7;hb=b1e8521ad77e7b4e62b59613b2edef64429130e9;hpb=820c66e71516e7a25600b8b5de2e84b5d44d8ff3 diff --git a/dali-toolkit/internal/controls/page-turn-view/page-turn-portrait-view-impl.h b/dali-toolkit/internal/controls/page-turn-view/page-turn-portrait-view-impl.h index f64e351..3cf9ef4 100644 --- a/dali-toolkit/internal/controls/page-turn-view/page-turn-portrait-view-impl.h +++ b/dali-toolkit/internal/controls/page-turn-view/page-turn-portrait-view-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H__ -#define __DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H__ +#ifndef DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H +#define DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -39,18 +39,19 @@ class PageTurnPortraitView : public PageTurnView 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 ); + static Toolkit::PageTurnPortraitView New( PageFactory& pageFactory, const Vector2& viewPageSize ); protected: /** * Constructor. * It initializes the PageTurnPortraitView members + * @param[in] pageFactory The factory which provides image to PageTurnView as the page content. + * @param[in] viewPageSize The size of the page */ - PageTurnPortraitView( PageFactory& pageFactory, const Vector2& pageSize ); + PageTurnPortraitView( PageFactory& pageFactory, const Vector2& viewPageSize ); /** * A reference counted object may only be deleted by calling Unreference() @@ -65,11 +66,6 @@ protected: // From PageTurnView virtual void OnPageTurnViewInitialize(); /** - * @copydoc PageTurnView::NewPageFromRenderBuffer - */ - virtual ImageActor NewPageFromRenderBuffer( int pageIndex ); - - /** * @copydoc PageTurnView::SetPanPosition */ virtual Vector2 SetPanPosition( const Vector2& gesturePosition ); @@ -80,21 +76,21 @@ protected: // From PageTurnView 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: @@ -111,4 +107,5 @@ private: } // namespace Toolkit } // namespace Dali -#endif /* __DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H__ */ + +#endif // DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H