/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
using Dali::Layer;
-const char* const Layer::ACTION_RAISE = "raise";
-const char* const Layer::ACTION_LOWER = "lower";
-const char* const Layer::ACTION_RAISE_TO_TOP = "raise-to-top";
-const char* const Layer::ACTION_LOWER_TO_BOTTOM = "lower-to-bottom";
-
-
Layer::Layer()
{
}
return *this;
}
-Layer& Layer::operator=(BaseHandle::NullType* rhs)
-{
- DALI_ASSERT_ALWAYS( (rhs == NULL) && "Can only assign NULL pointer to handle");
- Reset();
- return *this;
-}
-
unsigned int Layer::GetDepth() const
{
return GetImplementation(*this).GetDepth();
return GetImplementation(*this).IsDepthTestDisabled();
}
-float Layer::ZValue(const Vector3& position, float sortModifier)
-{
- return Internal::Layer::ZValue( position, sortModifier );
-}
-
void Layer::SetSortFunction(SortFunctionType function)
{
GetImplementation(*this).SetSortFunction(function);
return GetImplementation( *this ).IsTouchConsumed();
}
+void Layer::SetHoverConsumed( bool consume )
+{
+ GetImplementation( *this ).SetHoverConsumed( consume );
+}
+
+bool Layer::IsHoverConsumed() const
+{
+ return GetImplementation( *this ).IsHoverConsumed();
+}
+
Layer::Layer(Internal::Layer* internal)
: Actor(internal)
{
}
} // namespace Dali
-