Text definitions added/modified
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / public-api / builder / builder.cpp
index c5f7eef..bd85719 100644 (file)
@@ -54,7 +54,7 @@ void Builder::LoadFromString( const std::string &data, UIFormat rep )
   GetImpl(*this).LoadFromString( data );
 }
 
-void Builder::AddConstants( const PropertyValueMap& map )
+void Builder::AddConstants( const Property::Map& map )
 {
   GetImpl(*this).AddConstants( map );
 }
@@ -64,7 +64,7 @@ void Builder::AddConstant( const std::string& key, const Property::Value& value
   GetImpl(*this).AddConstant( key, value );
 }
 
-const PropertyValueMap& Builder::GetConstants() const
+const Property::Map& Builder::GetConstants() const
 {
   return GetImpl(*this).GetConstants();
 }
@@ -79,7 +79,7 @@ Animation Builder::CreateAnimation( const std::string& animationName )
   return GetImpl(*this).CreateAnimation( animationName );
 }
 
-Animation Builder::CreateAnimation( const std::string& animationName, const PropertyValueMap& map )
+Animation Builder::CreateAnimation( const std::string& animationName, const Property::Map& map )
 {
   return GetImpl(*this).CreateAnimation( animationName, map );
 }
@@ -89,34 +89,34 @@ Animation Builder::CreateAnimation( const std::string& animationName, Dali::Acto
   return GetImpl(*this).CreateAnimation( animationName, sourceActor );
 }
 
-Animation Builder::CreateAnimation( const std::string& animationName, const PropertyValueMap& map, Dali::Actor sourceActor )
+Animation Builder::CreateAnimation( const std::string& animationName, const Property::Map& map, Dali::Actor sourceActor )
 {
   return GetImpl(*this).CreateAnimation( animationName, map, sourceActor );
 }
 
-BaseHandle Builder::CreateFromStyle( const std::string& styleName )
+BaseHandle Builder::Create( const std::string& templateName )
 {
-  return BaseHandle();
+  return GetImpl(*this).Create( templateName );
 }
 
-BaseHandle Builder::CreateFromStyle( const std::string& styleName, const PropertyValueMap& map )
+BaseHandle Builder::Create( const std::string& templateName, const Property::Map& map )
 {
-  return BaseHandle();
+  return GetImpl(*this).Create( templateName, map );
 }
 
-BaseHandle Builder::Create( const std::string& templateName )
+BaseHandle Builder::CreateFromJson( const std::string& json )
 {
-  return GetImpl(*this).Create( templateName );
+  return GetImpl(*this).CreateFromJson( json );
 }
 
-BaseHandle Builder::Create( const std::string& templateName, const PropertyValueMap& map )
+bool Builder::ApplyStyle( const std::string& styleName, Handle& handle )
 {
-  return GetImpl(*this).Create( templateName, map );
+  return GetImpl(*this).ApplyStyle( styleName, handle );
 }
 
-bool Builder::ApplyStyle( const std::string& styleName, Handle& handle )
+bool Builder::ApplyFromJson( Handle& handle, const std::string& json )
 {
-  return GetImpl(*this).ApplyStyle( styleName, handle );
+  return GetImpl(*this).ApplyFromJson( handle, json );
 }
 
 void Builder::AddActors( Actor toActor )
@@ -129,31 +129,6 @@ void Builder::AddActors( const std::string &sectionName, Actor toActor )
   GetImpl(*this).AddActors( sectionName, toActor );
 }
 
-Font Builder::GetFont( const std::string &name ) const
-{
-  return GetImpl(*this).GetFont( name );
-}
-
-TextStyle Builder::GetTextStyle( const std::string &name ) const
-{
-  return GetImpl(*this).GetTextStyle( name );
-}
-
-Image Builder::GetImage( const std::string &name ) const
-{
-  return GetImpl(*this).GetImage( name );
-}
-
-Actor Builder::GetActor( const std::string &name ) const
-{
-  return GetImpl(*this).GetActor( name );
-}
-
-Animation Builder::GetAnimation( const std::string &name ) const
-{
-  return GetImpl(*this).GetAnimation( name );
-}
-
 void Builder::CreateRenderTask( const std::string &name )
 {
   GetImpl(*this).CreateRenderTask( name );
@@ -169,9 +144,14 @@ FrameBufferImage Builder::GetFrameBufferImage( const std::string &name )
   return GetImpl(*this).GetFrameBufferImage( name );
 }
 
-ActorContainer Builder::GetTopLevelActors( void ) const
+Path Builder::GetPath( const std::string &name )
+{
+  return GetImpl(*this).GetPath( name );
+}
+
+Builder::Signal& Builder::QuitSignal()
 {
-  return GetImpl(*this).GetTopLevelActors();
+  return GetImpl( *this ).QuitSignal();
 }
 
 } // namespace Toolkit