/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
namespace Dali
{
-
namespace Toolkit
{
-
CubeTransitionEffect::CubeTransitionEffect()
{
}
{
}
-CubeTransitionEffect::CubeTransitionEffect( Internal::CubeTransitionEffect& implementation )
-: Control( implementation )
+CubeTransitionEffect::CubeTransitionEffect(Internal::CubeTransitionEffect& implementation)
+: Control(implementation)
{
}
-CubeTransitionEffect::CubeTransitionEffect( Dali::Internal::CustomActor* internal )
-: Control( internal )
+CubeTransitionEffect::CubeTransitionEffect(Dali::Internal::CustomActor* internal)
+: Control(internal)
{
VerifyCustomActorPointer<Internal::CubeTransitionEffect>(internal);
}
-CubeTransitionEffect CubeTransitionEffect::DownCast( BaseHandle handle )
+CubeTransitionEffect CubeTransitionEffect::DownCast(BaseHandle handle)
{
- return Control::DownCast<CubeTransitionEffect, Internal::CubeTransitionEffect>( handle );
+ return Control::DownCast<CubeTransitionEffect, Internal::CubeTransitionEffect>(handle);
}
-void CubeTransitionEffect::SetTransitionDuration( float duration )
+void CubeTransitionEffect::SetTransitionDuration(float duration)
{
- GetImpl(*this).SetTransitionDuration( duration );
+ GetImpl(*this).SetTransitionDuration(duration);
}
float CubeTransitionEffect::GetTransitionDuration() const
return GetImpl(*this).GetTransitionDuration();
}
-void CubeTransitionEffect::SetCubeDisplacement( float displacement )
+void CubeTransitionEffect::SetCubeDisplacement(float displacement)
{
- GetImpl(*this).SetCubeDisplacement( displacement );
+ GetImpl(*this).SetCubeDisplacement(displacement);
}
float CubeTransitionEffect::GetCubeDisplacement() const
return GetImpl(*this).IsTransitioning();
}
-void CubeTransitionEffect::SetCurrentImage( Image image )
+void CubeTransitionEffect::SetCurrentTexture(Texture texture)
{
- GetImpl(*this).SetCurrentImage( image );
+ GetImpl(*this).SetCurrentTexture(texture);
}
-void CubeTransitionEffect::SetTargetImage( Image image )
+void CubeTransitionEffect::SetTargetTexture(Texture texture)
{
- GetImpl(*this).SetTargetImage( image );
+ GetImpl(*this).SetTargetTexture(texture);
}
-void CubeTransitionEffect::StartTransition( bool toNextImage )
+void CubeTransitionEffect::StartTransition(bool toNextImage)
{
- GetImpl(*this).StartTransition( toNextImage );
+ GetImpl(*this).StartTransition(toNextImage);
}
-void CubeTransitionEffect::StartTransition( Vector2 panPosition, Vector2 panDisplacement )
+void CubeTransitionEffect::StartTransition(Vector2 panPosition, Vector2 panDisplacement)
{
- GetImpl(*this).StartTransition( panPosition, panDisplacement );
+ GetImpl(*this).StartTransition(panPosition, panDisplacement);
}
void CubeTransitionEffect::PauseTransition()
CubeTransitionEffect::TransitionCompletedSignalType& CubeTransitionEffect::TransitionCompletedSignal()
{
- return GetImpl( *this ).TransitionCompletedSignal();
+ return GetImpl(*this).TransitionCompletedSignal();
}
} // namespace Toolkit