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) 2014 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/public-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 * Create a new PageTurnPortraitView
43 * @return A handle to the newly allocated PageTurnPortraitView
45 static Toolkit::PageTurnPortraitView New( PageFactory& pageFactory, const Vector2& pageSize );
51 * It initializes the PageTurnPortraitView members
53 PageTurnPortraitView( PageFactory& pageFactory, const Vector2& pageSize );
56 * A reference counted object may only be deleted by calling Unreference()
58 virtual ~PageTurnPortraitView();
60 protected: // From PageTurnView
63 * @copydoc PageTurnView::OnPageTurnViewInitialize
65 virtual void OnPageTurnViewInitialize();
68 * @copydoc PageTurnView::NewPageFromRenderBuffer
70 virtual ImageActor NewPageFromRenderBuffer( int pageIndex );
73 * @copydoc PageTurnView::SetPanPosition
75 virtual Vector2 SetPanPosition( const Vector2& gesturePosition );
78 * @copydoc PageTurnView::SetPanActor
80 virtual void SetPanActor( const Vector2& panPosition );
83 * @copydoc PageTurnView::SetSpineEffect
85 virtual void SetSpineEffect(ImageActor actor, bool isLeftSide);
88 * @copydoc PageTurnView::OnPossibleOutwardsFlick
90 virtual void OnPossibleOutwardsFlick( const Vector2& panPosition, float gestureSpeed );
95 * @copydoc PageTurnView::TurnedOver
97 void OnTurnedOver( Animation& animation );
102 PageTurnPortraitView( const PageTurnPortraitView& );
105 PageTurnPortraitView& operator=(const PageTurnPortraitView& rhs);
109 } // namespace Internal
111 } // namespace Toolkit
114 #endif /* __DALI_TOOLKIT_INTERNAL_PAGE_TURN_PORTRAIT_VIEW_IMPL_H__ */