davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=49d409db3aa58461cdc32e215f020b189d5ede49

commit 49d409db3aa58461cdc32e215f020b189d5ede49
Author: Dave Andreoli <[email protected]>
Date:   Sat Jan 17 11:38:26 2015 +0100

    New 1.13 property evas.Map.util_object_move_sync
---
 efl/evas/efl.evas_map.pxi | 25 +++++++++++++++++++++++++
 include/efl.evas.pxd      |  2 ++
 2 files changed, 27 insertions(+)

diff --git a/efl/evas/efl.evas_map.pxi b/efl/evas/efl.evas_map.pxi
index c05b914..598f377 100644
--- a/efl/evas/efl.evas_map.pxi
+++ b/efl/evas/efl.evas_map.pxi
@@ -270,6 +270,31 @@ cdef class Map(object):
     def util_clockwise_get(self):
         return bool(evas_map_util_clockwise_get(self.map))
 
+    property util_object_move_sync:
+        """The flag of the object move synchronization for map rendering
+
+        This sets the flag of the object move synchronization for map
+        rendering. If the flag is True, the map will be moved as the object
+        of the map is moved. By default, the flag of the object move
+        synchronization is not enabled.
+
+        :type: bool
+
+        .. versionadded:: 1.13
+
+        """
+        def __get__(self):
+            return bool(evas_map_util_object_move_sync_get(self.map))
+
+        def __set__(self, bint value):
+            evas_map_util_object_move_sync_set(self.map, value)
+
+    def util_object_move_sync_set(self, bint enabled):
+        evas_map_util_object_move_sync_set(self.map, enabled)
+
+    def util_object_move_sync_get(self):
+        return bool(evas_map_util_object_move_sync_get(self.map))
+
     property smooth:
         """The smoothing state for map rendering
 
diff --git a/include/efl.evas.pxd b/include/efl.evas.pxd
index f549a69..913fb19 100644
--- a/include/efl.evas.pxd
+++ b/include/efl.evas.pxd
@@ -1059,6 +1059,8 @@ cdef extern from "Evas.h":
     void            evas_map_util_3d_lighting(Evas_Map *m, Evas_Coord lx, 
Evas_Coord ly, Evas_Coord lz, int lr, int lg, int lb, int ar, int ag, int ab)
     void            evas_map_util_3d_perspective(Evas_Map *m, Evas_Coord px, 
Evas_Coord py, Evas_Coord z0, Evas_Coord foc)
     Eina_Bool       evas_map_util_clockwise_get(Evas_Map *m)
+    void            evas_map_util_object_move_sync_set(Evas_Map *m, Eina_Bool 
enabled)
+    Eina_Bool       evas_map_util_object_move_sync_get(const Evas_Map *m)
 
     void            evas_map_smooth_set(Evas_Map *m, Eina_Bool enabled)
     Eina_Bool       evas_map_smooth_get(const Evas_Map *m)

-- 


Reply via email to