From: Enlightenment S. <no-...@en...> - 2010-09-08 07:29:07
|
Log: Edje entry: fix the usage of the new evas_textblock_cursor_geometry_get function. Author: tasn Date: 2010-09-08 00:29:00 -0700 (Wed, 08 Sep 2010) New Revision: 51980 Modified: trunk/edje/src/lib/edje_entry.c Modified: trunk/edje/src/lib/edje_entry.c =================================================================== --- trunk/edje/src/lib/edje_entry.c 2010-09-08 07:28:16 UTC (rev 51979) +++ trunk/edje/src/lib/edje_entry.c 2010-09-08 07:29:00 UTC (rev 51980) @@ -206,7 +206,7 @@ { Evas_Coord cx, cy, cw, ch; if (c != en->cursor) return; - evas_textblock_cursor_geometry_get(c, &cx, &cy, &cw, &ch, EVAS_TEXTBLOCK_CURSOR_UNDER); + evas_textblock_cursor_geometry_get(c, &cx, &cy, &cw, &ch, NULL, EVAS_TEXTBLOCK_CURSOR_UNDER); en->cx = cx + (cw / 2); en->cy = cy + (ch / 2); } @@ -1835,7 +1835,7 @@ x = y = w = h = -1; xx = yy = ww = hh = -1; evas_object_geometry_get(rp->object, &x, &y, &w, &h); - evas_textblock_cursor_geometry_get(en->cursor, &xx, &yy, &ww, &hh, EVAS_TEXTBLOCK_CURSOR_UNDER); + evas_textblock_cursor_geometry_get(en->cursor, &xx, &yy, &ww, &hh, NULL, EVAS_TEXTBLOCK_CURSOR_UNDER); if (ww < 1) ww = 1; if (hh < 1) ww = 1; if (en->cursor_bg) @@ -2103,7 +2103,7 @@ x = y = w = h = -1; xx = yy = ww = hh = -1; evas_object_geometry_get(rp->object, &x, &y, &w, &h); - evas_textblock_cursor_geometry_get(en->cursor, &xx, &yy, &ww, &hh, EVAS_TEXTBLOCK_CURSOR_UNDER); + evas_textblock_cursor_geometry_get(en->cursor, &xx, &yy, &ww, &hh, NULL, EVAS_TEXTBLOCK_CURSOR_UNDER); if (ww < 1) ww = 1; if (hh < 1) ww = 1; if (cx) *cx = x + xx; |