jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1df890d51a867d19e0eba840d5e9da511a5012f0

commit 1df890d51a867d19e0eba840d5e9da511a5012f0
Author: Jee-Yong Um <jc9...@samsung.com>
Date:   Thu Aug 11 13:39:27 2016 +0900

    edje: clean up part text item APIs
---
 src/lib/edje/edje_object.eo | 44 ++++++++++++++++++++++++++------------------
 1 file changed, 26 insertions(+), 18 deletions(-)

diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo
index 090a376..97071a6 100644
--- a/src/lib/edje/edje_object.eo
+++ b/src/lib/edje/edje_object.eo
@@ -2042,28 +2042,36 @@ class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, 
Efl.Container, Efl.Part)
             @in data: void_ptr; [[The data passed to the callback function]]
          }
       }
-      part_text_item_geometry_get @const {
-         [[Return item geometry.
+      @property part_text_item_geometry {
+         get {
+            [[Return item geometry.
 
-           This function return a list of Evas_Textblock_Rectangle item
-           rectangles.]]
-         return: bool; [[1 if item exists, 0 if not]]
-         params {
-            @in part: string; [[The part name]]
-            @in item: string; [[The item name]]
-            @out cx: Evas.Coord; [[Item x return (relative to entry part)]]
-            @out cy: Evas.Coord; [[Item y return (relative to entry part)]]
-            @out cw: Evas.Coord; [[Item width return]]
-            @out ch: Evas.Coord; [[Item height return]]
+              This function return a list of Evas_Textblock_Rectangle item
+              rectangles.]]
+            return: bool; [[1 if item exists, 0 if not]]
+         }
+         keys {
+            part: string; [[The part name]]
+            item: string; [[The item name]]
+         }
+         values {
+            cx: Evas.Coord; [[Item x return (relative to entry part)]]
+            cy: Evas.Coord; [[Item y return (relative to entry part)]]
+            cw: Evas.Coord; [[Item width return]]
+            ch: Evas.Coord; [[Item height return]]
          }
       }
-      part_text_item_list_get @const {
-         [[Return a list of char item names.
+      @property part_text_item_list {
+         get {
+            [[Return a list of char item names.
 
-           This function returns a list of char item names.]]
-         return: const(list<string>); [[The list of items (const char *), do 
not modify!]]
-         params {
-            @in part: string; [[The part name]]
+              This function returns a list of char item names.]]
+         }
+         keys {
+            part: string; [[The part name]]
+         }
+         values {
+            item_list: const(list<string>); [[The list of items (const char 
*), do not modify!]]
          }
       }
    }

-- 


Reply via email to