summaryrefslogtreecommitdiffstats
path: root/lib/efl
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-03-27 10:18:23 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-03-29 15:03:37 +0200
commit65256cefd457e6128fbf51d0b7efedf9be659dab (patch)
tree0fd17b3fb0e90980fdc73a68fa3cf2c13afd558e /lib/efl
parent725a08945810facb63eeb5aa7a16d08299b965d8 (diff)
downloadffi-efl-65256cefd457e6128fbf51d0b7efedf9be659dab.zip
ffi-efl-65256cefd457e6128fbf51d0b7efedf9be659dab.tar.gz
C API update: elm_map, ecore_evas
Diffstat (limited to 'lib/efl')
-rw-r--r--lib/efl/native/ecore_evas.rb6
-rw-r--r--lib/efl/native/elm/elm_map.rb23
2 files changed, 24 insertions, 5 deletions
diff --git a/lib/efl/native/ecore_evas.rb b/lib/efl/native/ecore_evas.rb
index 808d693..a7c8857 100644
--- a/lib/efl/native/ecore_evas.rb
+++ b/lib/efl/native/ecore_evas.rb
@@ -276,6 +276,12 @@ module Efl
[ :ecore_evas_wayland_egl_new, [ :string, :uint, :int, :int, :int, :int, :bool ], :ecore_evas ],
# EAPI void ecore_evas_wayland_resize(Ecore_Evas *ee, int location);
[ :ecore_evas_wayland_resize, [ :ecore_evas, :int ], :void ],
+ # EAPI void ecore_evas_wayland_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y);
+ [ :ecore_evas_wayland_pointer_set, [ :ecore_evas, :int, :int ], :void ],
+ # EAPI void ecore_evas_wayland_type_set(Ecore_Evas *ee, int type);
+ [ :ecore_evas_wayland_type_set, [ :ecore_evas, :int ], :void ],
+ # EAPI Ecore_Wl_Window *ecore_evas_wayland_window_get(const Ecore_Evas *ee);
+ [ :ecore_evas_wayland_window_get, [ :ecore_evas ], :ecore_wl_window ],
# EAPI Ecore_Evas *ecore_evas_buffer_new(int w, int h);
[ :ecore_evas_buffer_new, [ :int, :int ], :ecore_evas ],
# EAPI Ecore_Evas *ecore_evas_buffer_allocfunc_new(int w, int h, void *(*alloc_func) (void *data, int size), void (*free_func) (void *data, void *pix), const void *data);
diff --git a/lib/efl/native/elm/elm_map.rb b/lib/efl/native/elm/elm_map.rb
index 40a76fc..ee607b6 100644
--- a/lib/efl/native/elm/elm_map.rb
+++ b/lib/efl/native/elm/elm_map.rb
@@ -35,7 +35,8 @@ module Efl
enum :elm_map_name_method, [ :elm_map_name_method_search, :elm_map_name_method_reverse, :elm_map_name_method_last ]
# typedef enum _Elm_Map_Overlay_Type {...} Elm_Map_Overlay_Type;
enum :elm_map_overlay_type, [ :elm_map_overlay_type_none, 0, :elm_map_overlay_type_default, 1, :elm_map_overlay_type_class, 2,
- :elm_map_overlay_type_bubble, 3, :elm_map_overlay_type_route, 4 ]
+ :elm_map_overlay_type_group, 3, :elm_map_overlay_type_bubble, 4, :elm_map_overlay_type_route, 5, :elm_map_overlay_type_line, 6,
+ :elm_map_overlay_type_polygon, 7, :elm_map_overlay_type_circle, 8, :elm_map_overlay_type_scale, 9 ]
#
# TYPEDEFS
# typedef struct _Elm_Map_Marker Elm_Map_Marker;
@@ -60,11 +61,11 @@ module Efl
callback :elm_map_marker_icon_get_func_cb, [ :evas_object, :elm_map_marker, :pointer ], :evas_object
# typedef Evas_Object *(*Elm_Map_Group_Icon_Get_Func) (Evas_Object *obj, void *data);
callback :elm_map_group_icon_get_func_cb, [ :evas_object, :pointer ], :evas_object
- # typedef void (*Elm_Map_Overlay_Get_Cb) (void *data, Evas_Object *map, const Elm_Map_Overlay *overlay);
+ # typedef void (*Elm_Map_Overlay_Get_Cb) (void *data, Evas_Object *map, Elm_Map_Overlay *overlay);
callback :elm_map_overlay_get_cb, [ :pointer, :evas_object, :elm_map_overlay ], :void
- # typedef void (*Elm_Map_Name_Cb) (void *data, Evas_Object *map, const Elm_Map_Name *name);
+ # typedef void (*Elm_Map_Name_Cb) (void *data, Evas_Object *map, Elm_Map_Name *name);
callback :elm_map_name_cb, [ :pointer, :evas_object, :elm_map_name ], :void
- # typedef void (*Elm_Map_Route_Cb) (void *data, Evas_Object *map, const Elm_Map_Route *route);
+ # typedef void (*Elm_Map_Route_Cb) (void *data, Evas_Object *map, Elm_Map_Route *route);
callback :elm_map_route_cb, [ :pointer, :evas_object, :elm_map_route ], :void
#
# FUNCTIONS
@@ -167,9 +168,11 @@ module Efl
[ :elm_map_overlay_class_zoom_max_set, [ :elm_map_overlay, :int ], :void ],
# EAPI int elm_map_overlay_class_zoom_max_get(const Elm_Map_Overlay *clas);
[ :elm_map_overlay_class_zoom_max_get, [ :elm_map_overlay ], :int ],
+ # EAPI Eina_List * elm_map_overlay_group_members_get(const Elm_Map_Overlay *grp);
+ [ :elm_map_overlay_group_members_get, [ :elm_map_overlay ], :eina_list ],
# EAPI Elm_Map_Overlay * elm_map_overlay_bubble_add(Evas_Object *obj);
[ :elm_map_overlay_bubble_add, [ :evas_object ], :elm_map_overlay ],
- # EAPI void elm_map_overlay_bubble_follow(Elm_Map_Overlay *bubble, Elm_Map_Overlay *parent);
+ # EAPI void elm_map_overlay_bubble_follow(Elm_Map_Overlay *bubble, const Elm_Map_Overlay *parent);
[ :elm_map_overlay_bubble_follow, [ :elm_map_overlay, :elm_map_overlay ], :void ],
# EAPI void elm_map_overlay_bubble_content_append(Elm_Map_Overlay *bubble, Evas_Object *content);
[ :elm_map_overlay_bubble_content_append, [ :elm_map_overlay, :evas_object ], :void ],
@@ -177,6 +180,16 @@ module Efl
[ :elm_map_overlay_bubble_content_clear, [ :elm_map_overlay ], :void ],
# EAPI Elm_Map_Overlay * elm_map_overlay_route_add(Evas_Object *obj, const Elm_Map_Route *route);
[ :elm_map_overlay_route_add, [ :evas_object, :elm_map_route ], :elm_map_overlay ],
+ # EAPI Elm_Map_Overlay * elm_map_overlay_line_add(Evas_Object *obj, double flon, double flat, double tlon, double tlat);
+ [ :elm_map_overlay_line_add, [ :evas_object, :double, :double, :double, :double ], :elm_map_overlay ],
+ # EAPI Elm_Map_Overlay * elm_map_overlay_polygon_add(Evas_Object *obj);
+ [ :elm_map_overlay_polygon_add, [ :evas_object ], :elm_map_overlay ],
+ # EAPI void elm_map_overlay_polygon_region_add(Elm_Map_Overlay *overlay, double lon, double lat);
+ [ :elm_map_overlay_polygon_region_add, [ :elm_map_overlay, :double, :double ], :void ],
+ # EAPI Elm_Map_Overlay * elm_map_overlay_circle_add(Evas_Object *obj, double lon, double lat, double radius);
+ [ :elm_map_overlay_circle_add, [ :evas_object, :double, :double, :double ], :elm_map_overlay ],
+ # EAPI Elm_Map_Overlay * elm_map_overlay_scale_add(Evas_Object *obj, Evas_Coord x, Evas_Coord y);
+ [ :elm_map_overlay_scale_add, [ :evas_object, :int, :int ], :elm_map_overlay ],
# EAPI void elm_map_tile_load_status_get(const Evas_Object *obj, int *try_num, int *finish_num);
[ :elm_map_tile_load_status_get, [ :evas_object, :pointer, :pointer ], :void ],
# EAPI const char **elm_map_sources_get(const Evas_Object *obj, Elm_Map_Source_Type type);