New 1.13 property evas.Map.util_object_move_sync

This commit is contained in:
Davide Andreoli 2015-01-17 11:38:26 +01:00
parent 64e9c9ac96
commit 49d409db3a
2 changed files with 27 additions and 0 deletions

View File

@ -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

View File

@ -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)