Scripting: Create animation on tree of actors starting at a specific root actor.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / builder / builder.cpp
index 4a3fdfc..669dd37 100644 (file)
@@ -58,6 +58,21 @@ void Builder::AddConstants( const PropertyValueMap& map )
   GetImpl(*this).AddConstants( map );
 }
 
+void Builder::AddConstant( const std::string& key, const Property::Value& value )
+{
+  GetImpl(*this).AddConstant( key, value );
+}
+
+const PropertyValueMap& Builder::GetConstants() const
+{
+  return GetImpl(*this).GetConstants();
+}
+
+const Property::Value& Builder::GetConstant( const std::string& key ) const
+{
+  return GetImpl(*this).GetConstant( key );
+}
+
 Animation Builder::CreateAnimation( const std::string& animationName )
 {
   return GetImpl(*this).CreateAnimation( animationName );
@@ -68,6 +83,16 @@ Animation Builder::CreateAnimation( const std::string& animationName, const Prop
   return GetImpl(*this).CreateAnimation( animationName, map );
 }
 
+Animation Builder::CreateAnimation( const std::string& animationName, Dali::Actor sourceActor )
+{
+  return GetImpl(*this).CreateAnimation( animationName, sourceActor );
+}
+
+Animation Builder::CreateAnimation( const std::string& animationName, const PropertyValueMap& map, Dali::Actor sourceActor )
+{
+  return GetImpl(*this).CreateAnimation( animationName, map, sourceActor );
+}
+
 BaseHandle Builder::CreateFromStyle( const std::string& styleName )
 {
   return GetImpl(*this).CreateFromStyle( styleName );