2 * Copyright (c) 2018 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/devel-api/update/update-proxy.h>
22 #include <dali/internal/update/manager/update-proxy-impl.h>
27 bool UpdateProxy::GetPosition( uint32_t id, Vector3& position ) const
29 return mImpl.GetPosition( id, position );
32 bool UpdateProxy::SetPosition( uint32_t id, const Vector3& position )
34 return mImpl.SetPosition( id, position );
37 bool UpdateProxy::BakePosition( uint32_t id, const Vector3& position )
39 return mImpl.BakePosition( id, position );
42 bool UpdateProxy::GetSize( uint32_t id, Vector3& size ) const
44 return mImpl.GetSize( id, size );
47 bool UpdateProxy::SetSize( uint32_t id, const Vector3& size )
49 return mImpl.SetSize( id, size );
52 bool UpdateProxy::BakeSize( uint32_t id, const Vector3& size )
54 return mImpl.BakeSize( id, size );
57 bool UpdateProxy::GetPositionAndSize( uint32_t id, Vector3& position, Vector3& size ) const
59 return mImpl.GetPositionAndSize( id, position, size );
62 bool UpdateProxy::GetScale( uint32_t id, Vector3& scale ) const
64 return mImpl.GetScale( id, scale );
67 bool UpdateProxy::SetScale( uint32_t id, const Vector3& scale )
69 return mImpl.SetScale( id, scale );
72 bool UpdateProxy::BakeScale( uint32_t id, const Vector3& scale )
74 return mImpl.BakeScale( id, scale );
77 bool UpdateProxy::GetColor( uint32_t id, Vector4& color ) const
79 return mImpl.GetColor( id, color );
82 bool UpdateProxy::SetColor( uint32_t id, const Vector4& color )
84 return mImpl.SetColor( id, color );
87 bool UpdateProxy::BakeColor( uint32_t id, const Vector4& color )
89 return mImpl.BakeColor( id, color );
92 UpdateProxy::UpdateProxy( Internal::UpdateProxy& impl )
97 UpdateProxy::~UpdateProxy()