summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2015-08-25 17:49:06 +0300
committerDaniel Hirt <daniel.hirt@samsung.com>2015-08-25 17:49:06 +0300
commite137c5770a0debbbe5853cec2a6d9d22674570e8 (patch)
tree9c8c19ffc2fa4351dc81f2094be9ad60583b3a95
parent58bce14fe58ca680cd9f1f9dfc5a869fa5c0d670 (diff)
Item decoration: add logical index
-rw-r--r--src/lib/eo_preload.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/eo_preload.c b/src/lib/eo_preload.c
index 2a5b53e..75a9e91 100644
--- a/src/lib/eo_preload.c
+++ b/src/lib/eo_preload.c
@@ -231,6 +231,7 @@ typedef struct _Textblock_Item_Debug_Data Textblock_Item_Debug_Data;
231struct _Textblock_Item_Debug_Data 231struct _Textblock_Item_Debug_Data
232{ 232{
233 int idx; 233 int idx;
234 int log_idx;
234 Evas_Coord x, y, w, h; 235 Evas_Coord x, y, w, h;
235 Evas_Textblock_Item_Type type; 236 Evas_Textblock_Item_Type type;
236 Evas_Script_Type script; 237 Evas_Script_Type script;
@@ -251,11 +252,11 @@ _handle_item_in(void *data)
251 if (d->type == EVAS_TEXTBLOCK_ITEM_TEXT) 252 if (d->type == EVAS_TEXTBLOCK_ITEM_TEXT)
252 { 253 {
253 sprintf(buf, 254 sprintf(buf,
254 "Text Item %d<ps>" 255 "Text Item: %d (logical: %d)<ps>"
255 "Coords: (%d,%d), Size: %dx%d<ps>" 256 "Coords: (%d,%d), Size: %dx%d<ps>"
256 "Font: %s<ps>" 257 "Font: %s<ps>"
257 "Dir: %s, Script: %s, Bidi_level: %d", 258 "Dir: %s, Script: %s, Bidi_level: %d",
258 d->idx, 259 d->idx, d->log_idx,
259 d->x, d->y, d->w, d->h, 260 d->x, d->y, d->w, d->h,
260 d->font_src, 261 d->font_src,
261 (d->is_rtl ? "RTL" : "LTR"), 262 (d->is_rtl ? "RTL" : "LTR"),