2 * Copyright (c) 2015 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 "vertical-layout.h"
22 #include "vertical-layout-impl.h"
30 VerticalLayout VerticalLayout::New()
32 return Internal::VerticalLayout::New();
35 VerticalLayout::VerticalLayout()
39 VerticalLayout::VerticalLayout( const VerticalLayout& handle )
44 VerticalLayout& VerticalLayout::operator=( const VerticalLayout& handle )
48 Control::operator=( handle );
53 VerticalLayout VerticalLayout::DownCast( BaseHandle handle )
55 return Control::DownCast<VerticalLayout, Internal::VerticalLayout>( handle );
58 VerticalLayout::~VerticalLayout()
62 VerticalLayout::VerticalLayout( Internal::VerticalLayout& internal )
67 VerticalLayout::VerticalLayout( Dali::Internal::CustomActor* internal )
72 void VerticalLayout::AddLabel( TextLabel label )
74 GetImpl( *this ).AddLabel( label );
77 Internal::VerticalLayout& VerticalLayout::GetImpl( VerticalLayout& verticalLayout )
79 DALI_ASSERT_ALWAYS( verticalLayout );
81 Dali::RefObject& handle = verticalLayout.GetImplementation();
83 return static_cast<Internal::VerticalLayout&>(handle);
86 } // namespace Toolkit