namespace Dali
{
-
using Dali::Layer;
Layer::Layer()
return Layer(internal.Get());
}
-Layer Layer::DownCast( BaseHandle handle )
+Layer Layer::DownCast(BaseHandle handle)
{
- return Layer( dynamic_cast<Dali::Internal::Layer*>(handle.GetObjectPtr()) );
+ return Layer(dynamic_cast<Dali::Internal::Layer*>(handle.GetObjectPtr()));
}
Layer::~Layer()
{
}
-Layer::Layer(const Layer& copy)
-: Actor(copy)
-{
-}
+Layer::Layer(const Layer& copy) = default;
-Layer& Layer::operator=(const Layer& rhs)
-{
- BaseHandle::operator=(rhs);
- return *this;
-}
+Layer& Layer::operator=(const Layer& rhs) = default;
-Layer::Layer( Layer&& rhs ) = default;
+Layer::Layer(Layer&& rhs) = default;
-Layer& Layer::operator=( Layer&& rhs ) = default;
+Layer& Layer::operator=(Layer&& rhs) = default;
void Layer::Raise()
{
GetImplementation(*this).Lower();
}
-void Layer::RaiseAbove( Layer target )
+void Layer::RaiseAbove(Layer target)
{
- GetImplementation(*this).RaiseAbove( GetImplementation( target ) );
+ GetImplementation(*this).RaiseAbove(GetImplementation(target));
}
-void Layer::LowerBelow( Layer target )
+void Layer::LowerBelow(Layer target)
{
- GetImplementation(*this).LowerBelow( GetImplementation( target ) );
+ GetImplementation(*this).LowerBelow(GetImplementation(target));
}
void Layer::RaiseToTop()
GetImplementation(*this).LowerToBottom();
}
-void Layer::MoveAbove( Layer target )
+void Layer::MoveAbove(Layer target)
{
- GetImplementation(*this).MoveAbove( GetImplementation( target ) );
+ GetImplementation(*this).MoveAbove(GetImplementation(target));
}
-void Layer::MoveBelow( Layer target )
+void Layer::MoveBelow(Layer target)
{
- GetImplementation(*this).MoveBelow( GetImplementation( target ) );
+ GetImplementation(*this).MoveBelow(GetImplementation(target));
}
void Layer::SetSortFunction(SortFunctionType function)