Merge "TextView - Uses new TextActor's constructor." into tizen
authorPaul Wisbey <p.wisbey@samsung.com>
Thu, 24 Jul 2014 17:41:08 +0000 (10:41 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Thu, 24 Jul 2014 17:41:08 +0000 (10:41 -0700)
base/dali-toolkit/internal/controls/text-view/relayout-utilities.cpp
base/dali-toolkit/internal/controls/text-view/text-view-processor.cpp

index 87f0984..6c7dd1c 100644 (file)
@@ -1982,7 +1982,8 @@ RenderableActor CreateGlyphActor( const Text& text, const TextStyle& style, Text
   else
   {
     // The text-actor cache is empty. Create a new one.
-    textActor = TextActor::New( text, style, false, true );
+    TextActorParameters parameters( style, TextActorParameters::FONT_DETECTION_OFF );
+    textActor = TextActor::New( text, parameters );
   }
 
   return textActor;
index 28ebb83..8d33877 100644 (file)
@@ -1176,7 +1176,8 @@ void InitializeTextActorInfo( TextView::RelayoutData& relayoutData )
                     // If still there is no text-actor, create one.
                     if( !textActor )
                     {
-                      textActor = TextActor::New( Text(), characterLayout.mStyledText.mStyle, false, true );
+                      TextActorParameters parameters( characterLayout.mStyledText.mStyle, TextActorParameters::FONT_DETECTION_OFF );
+                      textActor = TextActor::New( NULL, parameters );
                     }
                     else
                     {