1 #ifndef __DALI_TOOLKIT_INTERNAL_PAGE_TURN_LANDSCAPE_VIEW_IMPL_H__
2 #define __DALI_TOOLKIT_INTERNAL_PAGE_TURN_LANDSCAPE_VIEW_IMPL_H__
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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.
21 #include <dali-toolkit/public-api/controls/page-turn-view/page-turn-landscape-view.h>
22 #include <dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h>
33 class PageTurnLandscapeView : public PageTurnView
38 * Create a new PageTurnLandscapeView
39 * @return A handle to the newly allocated PageTurnLandscapeView
41 static Toolkit::PageTurnLandscapeView New( PageFactory& pageFactory, const Vector2& pageSize );
46 * It initializes the PageTurnLandscapeView members
48 PageTurnLandscapeView( PageFactory& pageFactory, const Vector2& pageSize );
51 * A reference counted object may only be deleted by calling Unreference()
53 virtual ~PageTurnLandscapeView();
55 protected: // From PageTurnView
58 * @copydoc PageTurnView::OnPageTurnViewInitialize
60 virtual void OnPageTurnViewInitialize();
63 * copydoc PageTurnView::NewPAgeFromRenderBuffer
65 virtual ImageActor NewPageFromRenderBuffer( int pageIndex );
68 * @copydoc PageTurnView::OnAddPage
70 virtual void OnAddPage( ImageActor newPage, bool isLeftSide );
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(Actor actor, bool isLeftSide);
90 PageTurnLandscapeView( const PageTurnLandscapeView& );
93 PageTurnLandscapeView& operator=(const PageTurnLandscapeView& rhs);
97 } // namespace Internal
99 } // namespace Toolkit
102 #endif /* __DALI_TOOLKIT_INTERNAL_PAGE_TURN_LANDSCAPE_VIEW_IMPL_H__ */