diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-29 09:04:02 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-29 09:04:02 +0100 |
commit | a19eefaa43f4531a1a03a9a66072b5c9f56f8a50 (patch) | |
tree | f550562d3226d88caf5540e98f4ce7b6505cc824 /lib/efl/native/elm | |
parent | 04170bc0a407b106a10576e51369f91dc95ce19f (diff) | |
download | ffi-efl-a19eefaa43f4531a1a03a9a66072b5c9f56f8a50.zip ffi-efl-a19eefaa43f4531a1a03a9a66072b5c9f56f8a50.tar.gz |
update elementary API
Diffstat (limited to 'lib/efl/native/elm')
-rw-r--r-- | lib/efl/native/elm/elm_bubble.rb | 13 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_entry.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_gengrid.rb | 12 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_genlist.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_panes.rb | 4 |
5 files changed, 18 insertions, 15 deletions
diff --git a/lib/efl/native/elm/elm_bubble.rb b/lib/efl/native/elm/elm_bubble.rb index 11b000b..635d3e8 100644 --- a/lib/efl/native/elm/elm_bubble.rb +++ b/lib/efl/native/elm/elm_bubble.rb @@ -21,14 +21,19 @@ module Efl # ffi_lib 'elementary-ver-pre-svn-09.so.0' # + # ENUMS + # typedef enum {...} Elm_Bubble_Pos; + enum :elm_bubble_pos, [ :elm_bubble_pos_invalid, -1, :elm_bubble_pos_top_left, 0, :elm_bubble_pos_top_right, 1, :elm_bubble_pos_bottom_left, + 2, :elm_bubble_pos_bottom_right, 3 ] + # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_bubble_add(Evas_Object *parent); [ :elm_bubble_add, [ :evas_object ], :evas_object ], - # EAPI void elm_bubble_corner_set(Evas_Object *obj, const char *corner); - [ :elm_bubble_corner_set, [ :evas_object, :string ], :void ], - # EAPI const char *elm_bubble_corner_get(const Evas_Object *obj); - [ :elm_bubble_corner_get, [ :evas_object ], :string ], + # EAPI void elm_bubble_pos_set(Evas_Object *obj, Elm_Bubble_Pos pos); + [ :elm_bubble_pos_set, [ :evas_object, :elm_bubble_pos ], :void ], + # EAPI Elm_Bubble_Pos elm_bubble_pos_get(const Evas_Object *obj); + [ :elm_bubble_pos_get, [ :evas_object ], :elm_bubble_pos ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_entry.rb b/lib/efl/native/elm/elm_entry.rb index 2cd4800..7eb6b15 100644 --- a/lib/efl/native/elm/elm_entry.rb +++ b/lib/efl/native/elm/elm_entry.rb @@ -222,7 +222,7 @@ module Efl [ :elm_entry_input_panel_return_key_disabled_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_entry_input_panel_return_key_disabled_get(const Evas_Object *obj); [ :elm_entry_input_panel_return_key_disabled_get, [ :evas_object ], :bool ], - # EAPI void elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool on); + # EAPI void elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool enabled); [ :elm_entry_input_panel_return_key_autoenabled_set, [ :evas_object, :bool ], :void ], # EAPI void elm_entry_imf_context_reset(Evas_Object *obj); [ :elm_entry_imf_context_reset, [ :evas_object ], :void ], diff --git a/lib/efl/native/elm/elm_gengrid.rb b/lib/efl/native/elm/elm_gengrid.rb index 250822e..df79e26 100644 --- a/lib/efl/native/elm/elm_gengrid.rb +++ b/lib/efl/native/elm/elm_gengrid.rb @@ -103,7 +103,7 @@ module Efl [ :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_horizontal_set(Evas_Object *obj, Eina_Bool setting); + # EAPI void elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); [ :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 ], @@ -125,10 +125,12 @@ module Efl [ :elm_gengrid_item_pos_get, [ :elm_object_item, :pointer, :pointer ], :void ], # EAPI void elm_gengrid_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); [ :elm_gengrid_item_selected_set, [ :elm_object_item, :bool ], :void ], + # EAPI Elm_Object_Item *elm_gengrid_selected_item_get(const Evas_Object *obj); + [ :elm_gengrid_selected_item_get, [ :evas_object ], :elm_object_item ], + # EAPI const Eina_List *elm_gengrid_selected_items_get(const Evas_Object *obj); + [ :elm_gengrid_selected_items_get, [ :evas_object ], :eina_list ], # EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Object_Item *it); [ :elm_gengrid_item_selected_get, [ :elm_object_item ], :bool ], - # EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Object_Item *it); - [ :elm_gengrid_item_object_get, [ :elm_object_item ], :evas_object ], # EAPI void elm_gengrid_item_show(Elm_Object_Item *it); [ :elm_gengrid_item_show, [ :elm_object_item ], :void ], # EAPI void elm_gengrid_item_bring_in(Elm_Object_Item *it); @@ -163,10 +165,6 @@ module Efl [ :elm_gengrid_item_cursor_engine_only_get, [ :elm_object_item ], :bool ], # EAPI void elm_gengrid_clear(Evas_Object *obj); [ :elm_gengrid_clear, [ :evas_object ], :void ], - # EAPI Elm_Object_Item *elm_gengrid_selected_item_get(const Evas_Object *obj); - [ :elm_gengrid_selected_item_get, [ :evas_object ], :elm_object_item ], - # EAPI const Eina_List *elm_gengrid_selected_items_get(const Evas_Object *obj); - [ :elm_gengrid_selected_items_get, [ :evas_object ], :eina_list ], # EAPI void elm_gengrid_filled_set(Evas_Object *obj, Eina_Bool fill); [ :elm_gengrid_filled_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_gengrid_filled_get(const Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_genlist.rb b/lib/efl/native/elm/elm_genlist.rb index 39add48..b3ed10c 100644 --- a/lib/efl/native/elm/elm_genlist.rb +++ b/lib/efl/native/elm/elm_genlist.rb @@ -28,7 +28,7 @@ module Efl enum :elm_genlist_item_flags, [ :elm_genlist_item_none, 0, :elm_genlist_item_subitems, (1<<0), :elm_genlist_item_group, (1<<1), :elm_genlist_item_max, (1<<2) ] # typedef enum {...} Elm_Genlist_Item_Field_Flags; - enum :elm_genlist_item_field_flags, [ :elm_genlist_item_field_all, 0, :elm_genlist_item_field_label, (1<<0), :elm_genlist_item_field_content, + enum :elm_genlist_item_field_flags, [ :elm_genlist_item_field_all, 0, :elm_genlist_item_field_text, (1<<0), :elm_genlist_item_field_content, (1<<1), :elm_genlist_item_field_state, (1<<2) ] # # TYPEDEFS diff --git a/lib/efl/native/elm/elm_panes.rb b/lib/efl/native/elm/elm_panes.rb index b804375..f54939f 100644 --- a/lib/efl/native/elm/elm_panes.rb +++ b/lib/efl/native/elm/elm_panes.rb @@ -34,9 +34,9 @@ module Efl # EAPI void elm_panes_content_left_size_set(Evas_Object *obj, double size); [ :elm_panes_content_left_size_set, [ :evas_object, :double ], :void ], # EAPI double elm_panes_content_right_size_get(const Evas_Object *obj); - #[ :elm_panes_content_right_size_get, [ :evas_object ], :double ], + [ :elm_panes_content_right_size_get, [ :evas_object ], :double ], # EAPI void elm_panes_content_right_size_set(Evas_Object *obj, double size); - #[ :elm_panes_content_right_size_set, [ :evas_object, :double ], :void ], + [ :elm_panes_content_right_size_set, [ :evas_object, :double ], :void ], # EAPI void elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); [ :elm_panes_horizontal_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_panes_horizontal_get(const Evas_Object *obj); |