diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-02 01:34:54 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-02 01:34:54 +0200 |
commit | 9104c34f52655e9fb0803907c3c667f2b364a7f2 (patch) | |
tree | 03b1afb86b21395a2b94a6f27e5b1f452e07e51b | |
parent | c0ca65e4dfa1233e452209e624d749709d7502f0 (diff) | |
download | ffi-efl-9104c34f52655e9fb0803907c3c667f2b364a7f2.zip ffi-efl-9104c34f52655e9fb0803907c3c667f2b364a7f2.tar.gz |
add box_transition, box_layout ffi definitions
-rw-r--r-- | lib/efl/native/elementary.rb | 7 | ||||
-rw-r--r-- | lib/efl/native/evas.rb | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lib/efl/native/elementary.rb b/lib/efl/native/elementary.rb index 699592d..f5f3df3 100644 --- a/lib/efl/native/elementary.rb +++ b/lib/efl/native/elementary.rb @@ -159,6 +159,7 @@ module Efl typedef :pointer, :elm_theme_p # typedef struct _Elm_Box_Transition Elm_Box_Transition; typedef :pointer, :elm_box_transition + typedef :pointer, :elm_box_transition_p # typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class; typedef :pointer, :elm_gengrid_item_class typedef :pointer, :elm_gengrid_item_class_p @@ -373,6 +374,8 @@ module Efl callback :elm_store_item_unfetch_cb, [ :void_p, :elm_store_item_p ], :void # typedef void *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part); callback :elm_store_item_mapping_cb, [ :void_p, :elm_store_item_p, :string ], :void_p + # void(*transition_end_cb)(void *data) + callback :elm_box_transition_end_cb, [ :void_p ], :void # # VARIABLES # EAPI extern Elm_Version *elm_version; @@ -1077,11 +1080,11 @@ module Efl # EAPI void elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical); [ :elm_box_align_get, [ :evas_object_p, :double_p, :double_p ], :void ], # EAPI void elm_box_layout_set(Evas_Object *obj, Evas_Object_Box_Layout cb, const void *data, void (*free_data)(void *data)); - # FIXME + [ :elm_box_layout_set, [ :evas_object_p, :evas_object_box_layout, :void_p, :evas_free_data_cb ], :void ], # EAPI void elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data); [ :elm_box_layout_transition, [ :evas_object_p, :evas_object_box_data_p, :void_p ], :void ], # EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, Evas_Object_Box_Layout start_layout, void *start_layout_data, void(*start_layout_free_data)(void *data), Evas_Object_Box_Layout end_layout, void *end_layout_data, void(*end_layout_free_data)(void *data), void(*transition_end_cb)(void *data), void *transition_end_data); - # FIXME + [ :elm_box_transition_new, [ :double, :evas_object_box_layout, :void_p, :evas_free_data_cb, :evas_object_box_layout, :void_p, :evas_free_data_cb, :elm_box_transition_end_cb, :void_p ], :elm_box_transition_p ], # EAPI void elm_box_transition_free(void *data); [ :elm_box_transition_free, [ :void_p ], :void ], # EAPI Evas_Object *elm_button_add(Evas_Object *parent); diff --git a/lib/efl/native/evas.rb b/lib/efl/native/evas.rb index d7d99cc..cea2f4c 100644 --- a/lib/efl/native/evas.rb +++ b/lib/efl/native/evas.rb @@ -251,6 +251,8 @@ module Efl callback :evas_object_image_pixels_get_cb, [ :void_p, :evas_object_p ], :void # typedef void (*Evas_Object_Box_Layout) (Evas_Object *o, Evas_Object_Box_Data *priv, void *user_data); callback :evas_object_box_layout, [ :evas_object_p, :evas_object_box_data_p, :void_p ], :void + # void (*free_data)(void *data) + callback :evas_free_data_cb, [ :void_p ], :void # # VARIABLES # EAPI extern Evas_Version *evas_version; @@ -1131,7 +1133,7 @@ module Efl # EAPI const Evas_Object_Box_Api *evas_object_box_smart_class_get (void); [ :evas_object_box_smart_class_get, [ ], :evas_object_box_api_p ], # EAPI void evas_object_box_layout_set (Evas_Object *o, Evas_Object_Box_Layout cb, const void *data, void (*free_data)(void *data)); - # FIXME + [ :evas_object_box_layout_set, [ :evas_object_p, :evas_object_box_layout, :void_p, :evas_free_data_cb ], :void ], # EAPI Evas_Object *evas_object_box_add (Evas *evas); [ :evas_object_box_add, [ :evas_p ], :evas_object_p ], # EAPI Evas_Object *evas_object_box_add_to (Evas_Object *parent); |