[3.0] Fix text's highlight box. 39/85339/3
authorVictor Cebollada <v.cebollada@samsung.com>
Mon, 25 Jul 2016 09:33:41 +0000 (10:33 +0100)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Wed, 24 Aug 2016 18:09:37 +0000 (11:09 -0700)
commit7e9766197e6f289e21bb83bc07d5cc97d8e891fa
tree9801dd5a44b43cfe0b493c3fda167dc6312c37b7
parent6e526d1f4d35c49f70963e59063b8f347a3a094a
[3.0] Fix text's highlight box.

* Fixed a bug when calculating the size of the highlight box.
  It caused the highlight box to be culled.

* Replaces the std::vector<QuadCoordinates> by a Dali::Vector<Vector4>
  and resizes it with the number of quads to avoid reallocations.

Change-Id: Ia3c027c601de9c8c23693a6786fcfdfee57edaeb
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali-toolkit/internal/text/decorator/text-decorator.cpp
dali-toolkit/internal/text/decorator/text-decorator.h
dali-toolkit/internal/text/text-controller-impl.cpp