1 #ifndef __DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H__
2 #define __DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H__
5 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali-toolkit/devel-api/controls/page-turn-view/page-turn-portrait-view.h>
23 #include <dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h>
35 * Implementation class of the PageTurnView in portrait mode
37 class PageTurnPortraitView : public PageTurnView
42 * @copydoc Toolkit::PageTurnPortraitView::New( PageFactory&, const Vector2& )
44 static Toolkit::PageTurnPortraitView New( PageFactory& pageFactory, const Vector2& pageSize );
50 * It initializes the PageTurnPortraitView members
51 * @param[in] pageFactory The factory which provides image to PageTurnView as the page content.
52 * @param[in] pageSize The size of the page
54 PageTurnPortraitView( PageFactory& pageFactory, const Vector2& pageSize );
57 * A reference counted object may only be deleted by calling Unreference()
59 virtual ~PageTurnPortraitView();
61 protected: // From PageTurnView
64 * @copydoc PageTurnView::OnPageTurnViewInitialize
66 virtual void OnPageTurnViewInitialize();
69 * @copydoc PageTurnView::SetPanPosition
71 virtual Vector2 SetPanPosition( const Vector2& gesturePosition );
74 * @copydoc PageTurnView::SetPanActor
76 virtual void SetPanActor( const Vector2& panPosition );
79 * @copydoc PageTurnView::OnPossibleOutwardsFlick
81 virtual void OnPossibleOutwardsFlick( const Vector2& panPosition, float gestureSpeed );
84 * @copydoc PageTurnView::OnTurnedOver
86 virtual void OnTurnedOver( Actor actor, bool isLeftSide );
91 * @copydoc PageTurnView::TurnedOver
93 void TurnedOverBackwards( Animation& animation );
98 PageTurnPortraitView( const PageTurnPortraitView& );
101 PageTurnPortraitView& operator=(const PageTurnPortraitView& rhs);
105 } // namespace Internal
107 } // namespace Toolkit
110 #endif /* __DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H__ */