TextActor - New constructor with a parameter object replaces previous constructors. 47/24947/7
authorVictor Cebollada <v.cebollada@samsung.com>
Thu, 24 Jul 2014 06:26:34 +0000 (07:26 +0100)
committerVíctor Cebollada <v.cebollada@samsung.com>
Thu, 24 Jul 2014 13:13:46 +0000 (06:13 -0700)
commit9d7f91d6c8618a81a9979542301f6d4d3a28d2a0
tree24bd1dd499d5c15225396c8f2375e8fd003aed41
parent5258d413982cb5932d8e3fcfb5a3a649cfbe2672
TextActor - New constructor with a parameter object replaces previous constructors.

The isLeftToRight parameter has been removed.

Text - New constructor with a const char* parameter to allow Text::New( "Hello" ) or TextActor::New( "world." ), ...

This new constructor allows to remove duplicated methods from public API, using std::string or Character as text parameter:
  Font::GetFamilyForText()
  Font::MeasureTextWidth()
  Font::MeasureTextHeight()
  Font::MeasureText()
  Font::AllGlyphsSupported()
  Text::SetText()
  TextActor::SetText()

Duplicated text related internal methods( with std::string, Text and Character parameters ) have been removed in Text, Font and TextActor.

Removed text style deprecated methods.

Change-Id: Ic0c24bcc8825902eceda713c7dbb41cee683be24
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
28 files changed:
automated-tests/src/dali/utc-Dali-Font.cpp
automated-tests/src/dali/utc-Dali-Text.cpp
automated-tests/src/dali/utc-Dali-TextActor.cpp
dali/internal/event/actor-attachments/text-attachment-impl.cpp
dali/internal/event/actor-attachments/text-attachment-impl.h
dali/internal/event/actors/text-actor-impl.cpp
dali/internal/event/actors/text-actor-impl.h
dali/internal/event/text/font-impl.cpp
dali/internal/event/text/font-impl.h
dali/internal/event/text/generator/text-vertex-generator.cpp
dali/internal/event/text/generator/text-vertex-generator.h
dali/internal/event/text/text-format.cpp
dali/internal/event/text/text-format.h
dali/internal/event/text/text-impl.cpp
dali/internal/event/text/text-impl.h
dali/public-api/actors/text-actor.cpp
dali/public-api/actors/text-actor.h
dali/public-api/dali-core.h
dali/public-api/file.list
dali/public-api/text/font-parameters.cpp
dali/public-api/text/font.cpp
dali/public-api/text/font.h
dali/public-api/text/text-actor-parameters.cpp [new file with mode: 0644]
dali/public-api/text/text-actor-parameters.h [new file with mode: 0644]
dali/public-api/text/text-style.cpp
dali/public-api/text/text-style.h
dali/public-api/text/text.cpp
dali/public-api/text/text.h