Fix text's highlight box. 59/81359/3
authorVictor Cebollada <v.cebollada@samsung.com>
Mon, 25 Jul 2016 09:33:41 +0000 (10:33 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Tue, 2 Aug 2016 10:55:28 +0000 (11:55 +0100)
commitb2d83201fba837ae079d0f608517884def2c43c7
treeaa0022033f37a12cb983974a7c576656075c02dd
parent549dd9160d48572dcbfbae6ae87ae6d8f749aa83
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