2 * Copyright (c) 2020 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali-toolkit/devel-api/controls/page-turn-view/page-turn-portrait-view.h>
22 #include <dali-toolkit/internal/controls/page-turn-view/page-turn-portrait-view-impl.h>
28 PageTurnPortraitView::PageTurnPortraitView()
33 PageTurnPortraitView::PageTurnPortraitView(const PageTurnPortraitView& pageTurnPortraitView)
34 : PageTurnView(pageTurnPortraitView)
38 PageTurnPortraitView::PageTurnPortraitView(Internal::PageTurnPortraitView& implementation)
39 : PageTurnView(implementation)
43 PageTurnPortraitView::PageTurnPortraitView(Dali::Internal::CustomActor* internal)
44 : PageTurnView(internal)
46 VerifyCustomActorPointer<Internal::PageTurnPortraitView>(internal);
49 PageTurnPortraitView& PageTurnPortraitView::operator=(const PageTurnPortraitView& pageTurnPortraitView)
51 if(&pageTurnPortraitView != this)
53 PageTurnView::operator=(pageTurnPortraitView);
58 PageTurnPortraitView::~PageTurnPortraitView()
62 PageTurnPortraitView PageTurnPortraitView::New(PageFactory& pageFactory, const Vector2& viewPageSize)
64 return Internal::PageTurnPortraitView::New(pageFactory, viewPageSize);
67 PageTurnPortraitView PageTurnPortraitView::DownCast(BaseHandle handle)
69 return Control::DownCast<PageTurnPortraitView, Internal::PageTurnPortraitView>(handle);
72 } // namespace Toolkit