[Tizen] Adds transition effect
[platform/core/uifw/dali-core.git] / dali / devel-api / actors / actor-devel.cpp
old mode 100644 (file)
new mode 100755 (executable)
index eabcb3a..650fe92
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 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 DevelActor
 {
+Rect<> CalculateScreenExtents(Actor actor)
+{
+  return GetImplementation(actor).CalculateScreenExtents();
+}
+
+VisibilityChangedSignalType& VisibilityChangedSignal(Actor actor)
+{
+  return GetImplementation(actor).VisibilityChangedSignal();
+}
+
+ChildChangedSignalType& ChildAddedSignal(Actor actor)
+{
+  return GetImplementation(actor).ChildAddedSignal();
+}
+
+ChildChangedSignalType& ChildRemovedSignal(Actor actor)
+{
+  return GetImplementation(actor).ChildRemovedSignal();
+}
+
+ChildOrderChangedSignalType& ChildOrderChangedSignal(Actor actor)
+{
+  return GetImplementation(actor).ChildOrderChangedSignal();
+}
+
+Actor::TouchEventSignalType& InterceptTouchedSignal(Actor actor)
+{
+  return GetImplementation(actor).InterceptTouchedSignal();
+}
 
-VisibilityChangedSignalType& VisibilityChangedSignal( Actor actor )
+void SwitchParent(Actor actor, Actor newParent)
 {
-  return GetImplementation( actor ).VisibilityChangedSignal();
+  return GetImplementation(actor).SwitchParent(GetImplementation(newParent));
 }
 
 } // namespace DevelActor