diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-07-25 14:57:59 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-07-25 14:57:59 +0200 |
commit | 910eb7d52fa8c07e1739f9854017174130dc08d5 (patch) | |
tree | 24e5515b7ca7a5a04ee267ef3536d19349cc0880 /lib/efl | |
parent | 7d54032f8fac0cf60f4f83213ac8c3619fef2387 (diff) | |
download | ffi-efl-910eb7d52fa8c07e1739f9854017174130dc08d5.zip ffi-efl-910eb7d52fa8c07e1739f9854017174130dc08d5.tar.gz |
update elmementary API
Diffstat (limited to 'lib/efl')
-rw-r--r-- | lib/efl/native/elm/elm_diskselector.rb | 8 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_flip.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_gengrid.rb | 20 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_genlist.rb | 8 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_scroller.rb | 4 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_win.rb | 6 |
6 files changed, 12 insertions, 36 deletions
diff --git a/lib/efl/native/elm/elm_diskselector.rb b/lib/efl/native/elm/elm_diskselector.rb index 612c976..f289dda 100644 --- a/lib/efl/native/elm/elm_diskselector.rb +++ b/lib/efl/native/elm/elm_diskselector.rb @@ -38,14 +38,6 @@ module Efl [ :elm_diskselector_display_item_num_set, [ :evas_object, :int ], :void ], # EAPI int elm_diskselector_display_item_num_get(const Evas_Object *obj); [ :elm_diskselector_display_item_num_get, [ :evas_object ], :int ], - # EAPI void elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); - [ :elm_diskselector_bounce_set, [ :evas_object, :bool, :bool ], :void ], - # EAPI void elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); - [ :elm_diskselector_bounce_get, [ :evas_object, :pointer, :pointer ], :void ], - # EAPI void elm_diskselector_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v); - [ :elm_diskselector_scroller_policy_get, [ :evas_object, :pointer, :pointer ], :void ], - # EAPI void elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v); - [ :elm_diskselector_scroller_policy_set, [ :evas_object, :elm_scroller_policy, :elm_scroller_policy ], :void ], # EAPI void elm_diskselector_clear(Evas_Object *obj); [ :elm_diskselector_clear, [ :evas_object ], :void ], # EAPI const Eina_List *elm_diskselector_items_get(const Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_flip.rb b/lib/efl/native/elm/elm_flip.rb index 2df0435..2dc719c 100644 --- a/lib/efl/native/elm/elm_flip.rb +++ b/lib/efl/native/elm/elm_flip.rb @@ -40,6 +40,8 @@ module Efl [ :elm_flip_perspective_set, [ :evas_object, :int, :int, :int ], :void ], # EAPI void elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode); [ :elm_flip_go, [ :evas_object, :elm_flip_mode ], :void ], + # EAPI void elm_flip_go_to(Evas_Object *obj, Eina_Bool front, Elm_Flip_Mode mode); + [ :elm_flip_go_to, [ :evas_object, :bool, :elm_flip_mode ], :void ], # EAPI void elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode); [ :elm_flip_interaction_set, [ :evas_object, :elm_flip_interaction ], :void ], # EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_gengrid.rb b/lib/efl/native/elm/elm_gengrid.rb index 839895d..fb81651 100644 --- a/lib/efl/native/elm/elm_gengrid.rb +++ b/lib/efl/native/elm/elm_gengrid.rb @@ -54,10 +54,6 @@ module Efl [ :elm_gengrid_horizontal_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_gengrid_horizontal_get(const Evas_Object *obj); [ :elm_gengrid_horizontal_get, [ :evas_object ], :bool ], - # EAPI void elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); - [ :elm_gengrid_bounce_set, [ :evas_object, :bool, :bool ], :void ], - # EAPI void elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); - [ :elm_gengrid_bounce_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI Elm_Object_Item *elm_gengrid_item_append(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data); [ :elm_gengrid_item_append, [ :evas_object, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_gengrid_item_prepend(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data); @@ -80,10 +76,6 @@ module Efl [ :elm_gengrid_first_item_get, [ :evas_object ], :elm_object_item ], # EAPI Elm_Object_Item *elm_gengrid_last_item_get(const Evas_Object *obj); [ :elm_gengrid_last_item_get, [ :evas_object ], :elm_object_item ], - # EAPI void elm_gengrid_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v); - [ :elm_gengrid_scroller_policy_set, [ :evas_object, :elm_scroller_policy, :elm_scroller_policy ], :void ], - # EAPI void elm_gengrid_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v); - [ :elm_gengrid_scroller_policy_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI Elm_Object_Item *elm_gengrid_item_next_get(const Elm_Object_Item *it); [ :elm_gengrid_item_next_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_gengrid_item_prev_get(const Elm_Object_Item *it); @@ -158,20 +150,8 @@ module Efl [ :elm_gengrid_reorder_mode_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_gengrid_reorder_mode_get(const Evas_Object *obj); [ :elm_gengrid_reorder_mode_get, [ :evas_object ], :bool ], - # EAPI void elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel); - [ :elm_gengrid_page_relative_set, [ :evas_object, :double, :double ], :void ], - # EAPI void elm_gengrid_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel); - [ :elm_gengrid_page_relative_get, [ :evas_object, :pointer, :pointer ], :void ], - # EAPI void elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize); - [ :elm_gengrid_page_size_set, [ :evas_object, :int, :int ], :void ], - # EAPI void elm_gengrid_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber); - [ :elm_gengrid_current_page_get, [ :evas_object, :pointer, :pointer ], :void ], - # EAPI void elm_gengrid_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber); - [ :elm_gengrid_last_page_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_gengrid_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber); [ :elm_gengrid_page_show, [ :evas_object, :int, :int ], :void ], - # EAPI void elm_gengrid_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber); - [ :elm_gengrid_page_bring_in, [ :evas_object, :int, :int ], :void ], # EAPI void elm_gengrid_item_pos_get(const Elm_Object_Item *it, unsigned int *x, unsigned int *y); [ :elm_gengrid_item_pos_get, [ :elm_object_item, :pointer, :pointer ], :void ], # EAPI void elm_gengrid_filled_set(Evas_Object *obj, Eina_Bool fill); diff --git a/lib/efl/native/elm/elm_genlist.rb b/lib/efl/native/elm/elm_genlist.rb index 4401950..3e803f2 100644 --- a/lib/efl/native/elm/elm_genlist.rb +++ b/lib/efl/native/elm/elm_genlist.rb @@ -61,10 +61,6 @@ module Efl [ :elm_genlist_mode_set, [ :evas_object, :elm_list_mode ], :void ], # EAPI Elm_List_Mode elm_genlist_mode_get(const Evas_Object *obj); [ :elm_genlist_mode_get, [ :evas_object ], :elm_list_mode ], - # EAPI void elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); - [ :elm_genlist_bounce_set, [ :evas_object, :bool, :bool ], :void ], - # EAPI void elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); - [ :elm_genlist_bounce_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI Elm_Object_Item *elm_genlist_item_append(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); [ :elm_genlist_item_append, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_genlist_item_type, :evas_smart_cb, :pointer ], :elm_object_item ], @@ -90,10 +86,6 @@ module Efl [ :elm_genlist_first_item_get, [ :evas_object ], :elm_object_item ], # EAPI Elm_Object_Item *elm_genlist_last_item_get(const Evas_Object *obj); [ :elm_genlist_last_item_get, [ :evas_object ], :elm_object_item ], - # EAPI void elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v); - [ :elm_genlist_scroller_policy_set, [ :evas_object, :elm_scroller_policy, :elm_scroller_policy ], :void ], - # EAPI void elm_genlist_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v); - [ :elm_genlist_scroller_policy_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI Elm_Object_Item *elm_genlist_item_next_get(const Elm_Object_Item *it); [ :elm_genlist_item_next_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_genlist_item_prev_get(const Elm_Object_Item *it); diff --git a/lib/efl/native/elm/elm_scroller.rb b/lib/efl/native/elm/elm_scroller.rb index 2f1c552..9027544 100644 --- a/lib/efl/native/elm/elm_scroller.rb +++ b/lib/efl/native/elm/elm_scroller.rb @@ -48,8 +48,12 @@ module Efl [ :elm_scroller_bounce_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel); [ :elm_scroller_page_relative_set, [ :evas_object, :double, :double ], :void ], + # EAPI void elm_scroller_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel); + [ :elm_scroller_page_relative_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize); [ :elm_scroller_page_size_set, [ :evas_object, :int, :int ], :void ], + # EAPI void elm_scroller_page_size_get(const Evas_Object *obj, Evas_Coord *h_pagesize, Evas_Coord *v_pagesize); + [ :elm_scroller_page_size_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_scroller_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber); [ :elm_scroller_current_page_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_scroller_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber); diff --git a/lib/efl/native/elm/elm_win.rb b/lib/efl/native/elm/elm_win.rb index b62a6ab..4f0f174 100644 --- a/lib/efl/native/elm/elm_win.rb +++ b/lib/efl/native/elm/elm_win.rb @@ -40,6 +40,10 @@ module Efl enum :elm_illume_command, [ :elm_illume_command_focus_back, :elm_illume_command_focus_forward, :elm_illume_command_focus_home, :elm_illume_command_close ] # + # TYPEDEFS + # typedef struct _Elm_Win_Trap Elm_Win_Trap; + typedef :pointer, :elm_win_trap + # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type); @@ -216,6 +220,8 @@ module Efl [ :elm_win_xwindow_get, [ :evas_object ], :uint ], # EAPI Ecore_Wl_Window *elm_win_wl_window_get(const Evas_Object *obj); [ :elm_win_wl_window_get, [ :evas_object ], :ecore_wl_window ], + # EAPI Eina_Bool elm_win_trap_set(const Elm_Win_Trap *trap); + [ :elm_win_trap_set, [ :elm_win_trap ], :bool ], ] # attach_fcts fcts |