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 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-landscape-view.h>
23 #include <dali-toolkit/internal/controls/page-turn-view/page-turn-view-impl.h>
34 class PageTurnLandscapeView : public PageTurnView
39 * @copydoc Toolkit::PageTurnLandscapeView::New( PageFactory&, const Vector2& )
41 static Toolkit::PageTurnLandscapeView New( PageFactory& pageFactory, const Vector2& pageSize );
46 * It initializes the PageTurnPortraitView members
47 * @param[in] pageFactory The factory which provides image to PageTurnView as the page content.
48 * @param[in] pageSize The size of the page
50 PageTurnLandscapeView( PageFactory& pageFactory, const Vector2& pageSize );
53 * A reference counted object may only be deleted by calling Unreference()
55 virtual ~PageTurnLandscapeView();
57 protected: // From PageTurnView
60 * @copydoc PageTurnView::OnPageTurnViewInitialize
62 virtual void OnPageTurnViewInitialize();
65 * @copydoc PageTurnView::OnAddPage
67 virtual void OnAddPage( Actor newPage, bool isLeftSide );
70 * @copydoc PageTurnView::SetPanPosition
72 virtual Vector2 SetPanPosition( const Vector2& gesturePosition );
75 * @copydoc PageTurnView::SetPanActor
77 virtual void SetPanActor( const Vector2& panPosition );
82 PageTurnLandscapeView( const PageTurnLandscapeView& );
85 PageTurnLandscapeView& operator=(const PageTurnLandscapeView& rhs);
89 } // namespace Internal
91 } // namespace Toolkit
94 #endif /* __DALI_TOOLKIT_INTERNAL_PAGE_TURN_LANDSCAPE_VIEW_IMPL_H__ */