summaryrefslogtreecommitdiff
path: root/efl/elementary/map.pxd
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-01-05 01:16:03 +0100
committerDave Andreoli <dave@gurumeditation.it>2015-01-05 01:16:03 +0100
commit9be98bb979917932cc2850a54f6e79281c871401 (patch)
tree7346f40ea83207675093f4b54d358c0b51be3706 /efl/elementary/map.pxd
parent4bc8d227a9384c696dfb39d19f0411ff42ed10cd (diff)
And (finally) new style enums for elm
Diffstat (limited to 'efl/elementary/map.pxd')
-rw-r--r--efl/elementary/map.pxd50
1 files changed, 48 insertions, 2 deletions
diff --git a/efl/elementary/map.pxd b/efl/elementary/map.pxd
index b577866..1110f2a 100644
--- a/efl/elementary/map.pxd
+++ b/efl/elementary/map.pxd
@@ -1,8 +1,54 @@
1from efl.evas cimport Eina_Bool, Eina_List, Evas_Object, Evas_Coord 1from efl.evas cimport Eina_Bool, Eina_List, Evas_Object, Evas_Coord
2from enums cimport Elm_Map_Overlay_Type, Elm_Map_Route_Method, \ 2
3 Elm_Map_Route_Type, Elm_Map_Source_Type, Elm_Map_Zoom_Mode
4 3
5cdef extern from "Elementary.h": 4cdef extern from "Elementary.h":
5
6 cpdef enum Elm_Map_Overlay_Type:
7 ELM_MAP_OVERLAY_TYPE_NONE
8 ELM_MAP_OVERLAY_TYPE_DEFAULT
9 ELM_MAP_OVERLAY_TYPE_CLASS
10 ELM_MAP_OVERLAY_TYPE_GROUP
11 ELM_MAP_OVERLAY_TYPE_BUBBLE
12 ELM_MAP_OVERLAY_TYPE_ROUTE
13 ELM_MAP_OVERLAY_TYPE_LINE
14 ELM_MAP_OVERLAY_TYPE_POLYGON
15 ELM_MAP_OVERLAY_TYPE_CIRCLE
16 ELM_MAP_OVERLAY_TYPE_SCALE
17 ctypedef enum Elm_Map_Overlay_Type:
18 pass
19
20 cpdef enum Elm_Map_Route_Method:
21 ELM_MAP_ROUTE_METHOD_FASTEST
22 ELM_MAP_ROUTE_METHOD_SHORTEST
23 ELM_MAP_ROUTE_METHOD_LAST
24 ctypedef enum Elm_Map_Route_Method:
25 pass
26
27 cpdef enum Elm_Map_Route_Type:
28 ELM_MAP_ROUTE_TYPE_MOTOCAR
29 ELM_MAP_ROUTE_TYPE_BICYCLE
30 ELM_MAP_ROUTE_TYPE_FOOT
31 ELM_MAP_ROUTE_TYPE_LAST
32 ctypedef enum Elm_Map_Route_Type:
33 pass
34
35 cpdef enum Elm_Map_Source_Type:
36 ELM_MAP_SOURCE_TYPE_TILE
37 ELM_MAP_SOURCE_TYPE_ROUTE
38 ELM_MAP_SOURCE_TYPE_NAME
39 ELM_MAP_SOURCE_TYPE_LAST
40 ctypedef enum Elm_Map_Source_Type:
41 pass
42
43 cpdef enum Elm_Map_Zoom_Mode:
44 ELM_MAP_ZOOM_MODE_MANUAL
45 ELM_MAP_ZOOM_MODE_AUTO_FIT
46 ELM_MAP_ZOOM_MODE_AUTO_FILL
47 ELM_MAP_ZOOM_MODE_LAST
48 ctypedef enum Elm_Map_Zoom_Mode:
49 pass
50
51
6 ctypedef void *Elm_Map_Overlay 52 ctypedef void *Elm_Map_Overlay
7 ctypedef void *Elm_Map_Route 53 ctypedef void *Elm_Map_Route
8 ctypedef void *Elm_Map_Name 54 ctypedef void *Elm_Map_Name