(HitTest) Added API to layer so that it can consume all touch if required
[platform/core/uifw/dali-core.git] / dali / public-api / actors / layer.cpp
index 15cb9a0..bfaa85e 100644 (file)
@@ -143,6 +143,16 @@ void Layer::SetSortFunction(SortFunctionType function)
   GetImplementation(*this).SetSortFunction(function);
 }
 
+void Layer::SetTouchConsumed( bool consume )
+{
+  GetImplementation( *this ).SetTouchConsumed( consume );
+}
+
+bool Layer::IsTouchConsumed() const
+{
+  return GetImplementation( *this ).IsTouchConsumed();
+}
+
 Layer::Layer(Internal::Layer* internal)
 : Actor(internal)
 {