/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
void Transition::OnPlay()
{
- Dali::Toolkit::Control sourceControl = mSourceControl.GetHandle();
+ Dali::Toolkit::Control sourceControl = mSourceControl.GetHandle();
Dali::Toolkit::Control destinationControl = mDestinationControl.GetHandle();
if(!sourceControl || !sourceControl[Dali::Actor::Property::CONNECTED_TO_SCENE] ||
!destinationControl || !destinationControl[Dali::Actor::Property::CONNECTED_TO_SCENE])
}
//Make startPropertyMap and finishPropertyMap to use for property animation.
- Matrix sourceWorldTransform = GetWorldTransform(sourceControl);
+ Matrix sourceWorldTransform = DevelActor::GetWorldTransform(sourceControl);
Vector3 sourcePosition, sourceScale;
Quaternion sourceOrientation;
sourceWorldTransform.GetTransformComponents(sourcePosition, sourceOrientation, sourceScale);
- Matrix destinationWorldTransform = GetWorldTransform(destinationControl);
+ Matrix destinationWorldTransform = DevelActor::GetWorldTransform(destinationControl);
Vector3 destinationPosition, destinationScale;
Quaternion destinationOrientation;
destinationWorldTransform.GetTransformComponents(destinationPosition, destinationOrientation, destinationScale);
startPropertyMap.Insert(Dali::Actor::Property::SCALE, sourceScale);
finishPropertyMap.Insert(Dali::Actor::Property::SCALE, destinationScale);
- Vector4 sourceColor = GetWorldColor(sourceControl);
- Vector4 destinationColor = GetWorldColor(destinationControl);
+ Vector4 sourceColor = DevelActor::GetWorldColor(sourceControl);
+ Vector4 destinationColor = DevelActor::GetWorldColor(destinationControl);
startPropertyMap.Insert(Dali::Actor::Property::COLOR, sourceColor);
finishPropertyMap.Insert(Dali::Actor::Property::COLOR, destinationColor);