From 71e3a0bc514fbd28fe9600448c40b7bb53627378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 7 Mar 2012 09:29:47 +0100 Subject: update elm API --- lib/efl/native/elm/elm_bg.rb | 6 +- lib/efl/native/elm/elm_box.rb | 6 +- lib/efl/native/elm/elm_cache.rb | 24 ---- lib/efl/native/elm/elm_calendar.rb | 18 ++- lib/efl/native/elm/elm_config.rb | 206 ++++++++++++++++++++--------- lib/efl/native/elm/elm_conform.rb | 2 - lib/efl/native/elm/elm_ctxpopup.rb | 2 + lib/efl/native/elm/elm_cursor.rb | 12 +- lib/efl/native/elm/elm_entry.rb | 28 +++- lib/efl/native/elm/elm_finger.rb | 4 - lib/efl/native/elm/elm_flipselector.rb | 8 +- lib/efl/native/elm/elm_focus.rb | 20 +-- lib/efl/native/elm/elm_fonts.rb | 16 --- lib/efl/native/elm/elm_frame.rb | 4 +- lib/efl/native/elm/elm_gengrid.rb | 49 +++---- lib/efl/native/elm/elm_genlist.rb | 90 ++++++------- lib/efl/native/elm/elm_glview.rb | 6 + lib/efl/native/elm/elm_icon.rb | 12 +- lib/efl/native/elm/elm_image.rb | 10 +- lib/efl/native/elm/elm_index.rb | 48 ++++--- lib/efl/native/elm/elm_label.rb | 4 - lib/efl/native/elm/elm_layout.rb | 32 ++--- lib/efl/native/elm/elm_map.rb | 137 ++++++++++++++----- lib/efl/native/elm/elm_menu.rb | 10 +- lib/efl/native/elm/elm_mirroring.rb | 4 - lib/efl/native/elm/elm_multibuttonentry.rb | 52 ++++---- lib/efl/native/elm/elm_notify.rb | 8 +- lib/efl/native/elm/elm_object.rb | 4 +- lib/efl/native/elm/elm_photocam.rb | 4 +- lib/efl/native/elm/elm_scale.rb | 4 - lib/efl/native/elm/elm_slideshow.rb | 4 +- lib/efl/native/elm/elm_store.rb | 14 +- lib/efl/native/elm/elm_theme.rb | 6 +- lib/efl/native/elm/elm_toolbar.rb | 2 +- lib/efl/native/elm/elm_video.rb | 4 +- lib/efl/native/elm/elm_web.rb | 8 +- lib/efl/native/elm/elm_win.rb | 4 - 37 files changed, 487 insertions(+), 385 deletions(-) diff --git a/lib/efl/native/elm/elm_bg.rb b/lib/efl/native/elm/elm_bg.rb index 7aa1c61..da6fcfb 100644 --- a/lib/efl/native/elm/elm_bg.rb +++ b/lib/efl/native/elm/elm_bg.rb @@ -23,14 +23,14 @@ module Efl # # ENUMS # typedef enum {...} Elm_Bg_Option; - enum :elm_bg_option, [ :elm_bg_option_center, :elm_bg_option_scale, :elm_bg_option_stretch, :elm_bg_option_tile ] + enum :elm_bg_option, [ :elm_bg_option_center, :elm_bg_option_scale, :elm_bg_option_stretch, :elm_bg_option_tile, :elm_bg_option_last ] # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_bg_add(Evas_Object *parent); [ :elm_bg_add, [ :evas_object ], :evas_object ], - # EAPI void elm_bg_file_set(Evas_Object *obj, const char *file, const char *group); - [ :elm_bg_file_set, [ :evas_object, :string, :string ], :void ], + # EAPI Eina_Bool elm_bg_file_set(Evas_Object *obj, const char *file, const char *group); + [ :elm_bg_file_set, [ :evas_object, :string, :string ], :bool ], # EAPI void elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group); [ :elm_bg_file_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option); diff --git a/lib/efl/native/elm/elm_box.rb b/lib/efl/native/elm/elm_box.rb index 4b776cd..f227fb4 100644 --- a/lib/efl/native/elm/elm_box.rb +++ b/lib/efl/native/elm/elm_box.rb @@ -63,11 +63,11 @@ module Efl [ :elm_box_align_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_box_recalculate(Evas_Object *obj); [ :elm_box_recalculate, [ :evas_object ], :void ], - # EAPI void elm_box_layout_set(Evas_Object *obj, Evas_Object_Box_Layout cb, const void *data, void (*free_data)(void *data)); - # FIXME + # EAPI void elm_box_layout_set(Evas_Object *obj, Evas_Object_Box_Layout cb, const void *data, Ecore_Cb free_data); + [ :elm_box_layout_set, [ :evas_object, :evas_object_box_layout_cb, :pointer, :ecore_cb ], :void ], # EAPI void elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data); [ :elm_box_layout_transition, [ :evas_object, :evas_object_box_data, :pointer ], :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); + # 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, Ecore_Cb end_layout_free_data, Ecore_Cb transition_end_cb, void *transition_end_data); # FIXME # EAPI void elm_box_transition_free(void *data); [ :elm_box_transition_free, [ :pointer ], :void ], diff --git a/lib/efl/native/elm/elm_cache.rb b/lib/efl/native/elm/elm_cache.rb index b3d51de..7ad7c4e 100644 --- a/lib/efl/native/elm/elm_cache.rb +++ b/lib/efl/native/elm/elm_cache.rb @@ -25,30 +25,6 @@ module Efl fcts = [ # EAPI void elm_cache_all_flush(void); [ :elm_cache_all_flush, [ ], :void ], - # EAPI int elm_cache_flush_interval_get(void); - [ :elm_cache_flush_interval_get, [ ], :int ], - # EAPI void elm_cache_flush_interval_set(int size); - [ :elm_cache_flush_interval_set, [ :int ], :void ], - # EAPI Eina_Bool elm_cache_flush_enabled_get(void); - [ :elm_cache_flush_enabled_get, [ ], :bool ], - # EAPI void elm_cache_flush_enabled_set(Eina_Bool enabled); - [ :elm_cache_flush_enabled_set, [ :bool ], :void ], - # EAPI int elm_font_cache_get(void); - [ :elm_font_cache_get, [ ], :int ], - # EAPI void elm_font_cache_set(int size); - [ :elm_font_cache_set, [ :int ], :void ], - # EAPI int elm_image_cache_get(void); - [ :elm_image_cache_get, [ ], :int ], - # EAPI void elm_image_cache_set(int size); - [ :elm_image_cache_set, [ :int ], :void ], - # EAPI int elm_edje_file_cache_get(void); - [ :elm_edje_file_cache_get, [ ], :int ], - # EAPI void elm_edje_file_cache_set(int size); - [ :elm_edje_file_cache_set, [ :int ], :void ], - # EAPI int elm_edje_collection_cache_get(void); - [ :elm_edje_collection_cache_get, [ ], :int ], - # EAPI void elm_edje_collection_cache_set(int size); - [ :elm_edje_collection_cache_set, [ :int ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_calendar.rb b/lib/efl/native/elm/elm_calendar.rb index 6c7282e..7840ce3 100644 --- a/lib/efl/native/elm/elm_calendar.rb +++ b/lib/efl/native/elm/elm_calendar.rb @@ -22,14 +22,20 @@ module Efl ffi_lib 'elementary-ver-pre-svn-09.so.0' # # ENUMS - # typedef enum {...} Elm_Calendar_Mark_Repeat; - enum :elm_calendar_mark_repeat, [ :elm_calendar_unique, :elm_calendar_daily, :elm_calendar_weekly, :elm_calendar_monthly, + # typedef enum {...} _Elm_Calendar_Mark_Repeat_Type; + enum :_elm_calendar_mark_repeat_type, [ :elm_calendar_unique, :elm_calendar_daily, :elm_calendar_weekly, :elm_calendar_monthly, :elm_calendar_annually ] # # TYPEDEFS + # typedef _Elm_Calendar_Mark_Repeat_Type Elm_Calendar_Mark_Repeat_Type; + typedef :_elm_calendar_mark_repeat_type, :elm_calendar_mark_repeat_type # typedef struct _Elm_Calendar_Mark Elm_Calendar_Mark; typedef :pointer, :elm_calendar_mark # + # CALLBACKS + # typedef char * (*Elm_Calendar_Format_Cb) (struct tm *stime); + callback :elm_calendar_format_cb, [ :pointer ], :string + # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_calendar_add(Evas_Object *parent); @@ -50,10 +56,10 @@ module Efl [ :elm_calendar_selected_time_set, [ :evas_object, :pointer ], :void ], # EAPI Eina_Bool elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time); [ :elm_calendar_selected_time_get, [ :evas_object, :pointer ], :bool ], - # EAPI void elm_calendar_format_function_set(Evas_Object *obj, char *(*format_function)(struct tm *stime)); - # FIXME - # EAPI Elm_Calendar_Mark *elm_calendar_mark_add(Evas_Object *obj, const char *mark_type, struct tm *mark_time, Elm_Calendar_Mark_Repeat repeat); - [ :elm_calendar_mark_add, [ :evas_object, :string, :pointer, :elm_calendar_mark_repeat ], :elm_calendar_mark ], + # EAPI void elm_calendar_format_function_set(Evas_Object *obj, Elm_Calendar_Format_Cb format_func); + [ :elm_calendar_format_function_set, [ :evas_object, :elm_calendar_format_cb ], :void ], + # EAPI Elm_Calendar_Mark *elm_calendar_mark_add(Evas_Object *obj, const char *mark_type, struct tm *mark_time, Elm_Calendar_Mark_Repeat_Type repeat); + [ :elm_calendar_mark_add, [ :evas_object, :string, :pointer, :_elm_calendar_mark_repeat_type ], :elm_calendar_mark ], # EAPI void elm_calendar_mark_del(Elm_Calendar_Mark *mark); [ :elm_calendar_mark_del, [ :elm_calendar_mark ], :void ], # EAPI void elm_calendar_marks_clear(Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_config.rb b/lib/efl/native/elm/elm_config.rb index d1fc955..0feef18 100644 --- a/lib/efl/native/elm/elm_config.rb +++ b/lib/efl/native/elm/elm_config.rb @@ -21,6 +21,12 @@ module Efl # ffi_lib 'elementary-ver-pre-svn-09.so.0' # + # TYPEDEFS + # typedef struct _Elm_Text_Class Elm_Text_Class; + typedef :pointer, :elm_text_class + # typedef struct _Elm_Font_Overlay Elm_Font_Overlay; + typedef :pointer, :elm_font_overlay + # # FUNCTIONS fcts = [ # EAPI Eina_Bool elm_config_save(void); @@ -29,70 +35,146 @@ module Efl [ :elm_config_reload, [ ], :void ], # EAPI void elm_config_all_flush(void); [ :elm_config_all_flush, [ ], :void ], - # EAPI const char *elm_profile_current_get(void); - [ :elm_profile_current_get, [ ], :string ], - # EAPI const char *elm_profile_dir_get(const char *profile, Eina_Bool is_user); - [ :elm_profile_dir_get, [ :string, :bool ], :string ], - # EAPI void elm_profile_dir_free(const char *p_dir); - [ :elm_profile_dir_free, [ :string ], :void ], - # EAPI Eina_List *elm_profile_list_get(void); - [ :elm_profile_list_get, [ ], :eina_list ], - # EAPI void elm_profile_list_free(Eina_List *l); - [ :elm_profile_list_free, [ :eina_list ], :void ], - # EAPI void elm_profile_set(const char *profile); - [ :elm_profile_set, [ :string ], :void ], - # EAPI Eina_Bool elm_scroll_bounce_enabled_get(void); - [ :elm_scroll_bounce_enabled_get, [ ], :bool ], - # EAPI void elm_scroll_bounce_enabled_set(Eina_Bool enabled); - [ :elm_scroll_bounce_enabled_set, [ :bool ], :void ], - # EAPI double elm_scroll_bounce_friction_get(void); - [ :elm_scroll_bounce_friction_get, [ ], :double ], - # EAPI void elm_scroll_bounce_friction_set(double friction); - [ :elm_scroll_bounce_friction_set, [ :double ], :void ], - # EAPI double elm_scroll_page_scroll_friction_get(void); - [ :elm_scroll_page_scroll_friction_get, [ ], :double ], - # EAPI void elm_scroll_page_scroll_friction_set(double friction); - [ :elm_scroll_page_scroll_friction_set, [ :double ], :void ], - # EAPI double elm_scroll_bring_in_scroll_friction_get(void); - [ :elm_scroll_bring_in_scroll_friction_get, [ ], :double ], - # EAPI void elm_scroll_bring_in_scroll_friction_set(double friction); - [ :elm_scroll_bring_in_scroll_friction_set, [ :double ], :void ], - # EAPI double elm_scroll_zoom_friction_get(void); - [ :elm_scroll_zoom_friction_get, [ ], :double ], - # EAPI void elm_scroll_zoom_friction_set(double friction); - [ :elm_scroll_zoom_friction_set, [ :double ], :void ], - # EAPI Eina_Bool elm_scroll_thumbscroll_enabled_get(void); - [ :elm_scroll_thumbscroll_enabled_get, [ ], :bool ], - # EAPI void elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled); - [ :elm_scroll_thumbscroll_enabled_set, [ :bool ], :void ], - # EAPI unsigned int elm_scroll_thumbscroll_threshold_get(void); - [ :elm_scroll_thumbscroll_threshold_get, [ ], :uint ], - # EAPI void elm_scroll_thumbscroll_threshold_set(unsigned int threshold); - [ :elm_scroll_thumbscroll_threshold_set, [ :uint ], :void ], - # EAPI double elm_scroll_thumbscroll_momentum_threshold_get(void); - [ :elm_scroll_thumbscroll_momentum_threshold_get, [ ], :double ], - # EAPI void elm_scroll_thumbscroll_momentum_threshold_set(double threshold); - [ :elm_scroll_thumbscroll_momentum_threshold_set, [ :double ], :void ], - # EAPI double elm_scroll_thumbscroll_friction_get(void); - [ :elm_scroll_thumbscroll_friction_get, [ ], :double ], - # EAPI void elm_scroll_thumbscroll_friction_set(double friction); - [ :elm_scroll_thumbscroll_friction_set, [ :double ], :void ], - # EAPI double elm_scroll_thumbscroll_border_friction_get(void); - [ :elm_scroll_thumbscroll_border_friction_get, [ ], :double ], - # EAPI void elm_scroll_thumbscroll_border_friction_set(double friction); - [ :elm_scroll_thumbscroll_border_friction_set, [ :double ], :void ], - # EAPI double elm_scroll_thumbscroll_sensitivity_friction_get(void); - [ :elm_scroll_thumbscroll_sensitivity_friction_get, [ ], :double ], - # EAPI void elm_scroll_thumbscroll_sensitivity_friction_set(double friction); - [ :elm_scroll_thumbscroll_sensitivity_friction_set, [ :double ], :void ], - # EAPI double elm_longpress_timeout_get(void); - [ :elm_longpress_timeout_get, [ ], :double ], - # EAPI void elm_longpress_timeout_set(double longpress_timeout); - [ :elm_longpress_timeout_set, [ :double ], :void ], + # EAPI const char *elm_config_profile_get(void); + [ :elm_config_profile_get, [ ], :string ], + # EAPI const char *elm_config_profile_dir_get(const char *profile, Eina_Bool is_user); + [ :elm_config_profile_dir_get, [ :string, :bool ], :string ], + # EAPI void elm_config_profile_dir_free(const char *p_dir); + [ :elm_config_profile_dir_free, [ :string ], :void ], + # EAPI Eina_List *elm_config_profile_list_get(void); + [ :elm_config_profile_list_get, [ ], :eina_list ], + # EAPI void elm_config_profile_list_free(Eina_List *l); + [ :elm_config_profile_list_free, [ :eina_list ], :void ], + # EAPI void elm_config_profile_set(const char *profile); + [ :elm_config_profile_set, [ :string ], :void ], + # EAPI Eina_Bool elm_config_scroll_bounce_enabled_get(void); + [ :elm_config_scroll_bounce_enabled_get, [ ], :bool ], + # EAPI void elm_config_scroll_bounce_enabled_set(Eina_Bool enabled); + [ :elm_config_scroll_bounce_enabled_set, [ :bool ], :void ], + # EAPI double elm_config_scroll_bounce_friction_get(void); + [ :elm_config_scroll_bounce_friction_get, [ ], :double ], + # EAPI void elm_config_scroll_bounce_friction_set(double friction); + [ :elm_config_scroll_bounce_friction_set, [ :double ], :void ], + # EAPI double elm_config_scroll_page_scroll_friction_get(void); + [ :elm_config_scroll_page_scroll_friction_get, [ ], :double ], + # EAPI void elm_config_scroll_page_scroll_friction_set(double friction); + [ :elm_config_scroll_page_scroll_friction_set, [ :double ], :void ], + # EAPI double elm_config_scroll_bring_in_scroll_friction_get(void); + [ :elm_config_scroll_bring_in_scroll_friction_get, [ ], :double ], + # EAPI void elm_config_scroll_bring_in_scroll_friction_set(double friction); + [ :elm_config_scroll_bring_in_scroll_friction_set, [ :double ], :void ], + # EAPI double elm_config_scroll_zoom_friction_get(void); + [ :elm_config_scroll_zoom_friction_get, [ ], :double ], + # EAPI void elm_config_scroll_zoom_friction_set(double friction); + [ :elm_config_scroll_zoom_friction_set, [ :double ], :void ], + # EAPI Eina_Bool elm_config_scroll_thumbscroll_enabled_get(void); + [ :elm_config_scroll_thumbscroll_enabled_get, [ ], :bool ], + # EAPI void elm_config_scroll_thumbscroll_enabled_set(Eina_Bool enabled); + [ :elm_config_scroll_thumbscroll_enabled_set, [ :bool ], :void ], + # EAPI unsigned int elm_config_scroll_thumbscroll_threshold_get(void); + [ :elm_config_scroll_thumbscroll_threshold_get, [ ], :uint ], + # EAPI void elm_config_scroll_thumbscroll_threshold_set(unsigned int threshold); + [ :elm_config_scroll_thumbscroll_threshold_set, [ :uint ], :void ], + # EAPI double elm_config_scroll_thumbscroll_momentum_threshold_get(void); + [ :elm_config_scroll_thumbscroll_momentum_threshold_get, [ ], :double ], + # EAPI void elm_config_scroll_thumbscroll_momentum_threshold_set(double threshold); + [ :elm_config_scroll_thumbscroll_momentum_threshold_set, [ :double ], :void ], + # EAPI double elm_config_scroll_thumbscroll_friction_get(void); + [ :elm_config_scroll_thumbscroll_friction_get, [ ], :double ], + # EAPI void elm_config_scroll_thumbscroll_friction_set(double friction); + [ :elm_config_scroll_thumbscroll_friction_set, [ :double ], :void ], + # EAPI double elm_config_scroll_thumbscroll_border_friction_get(void); + [ :elm_config_scroll_thumbscroll_border_friction_get, [ ], :double ], + # EAPI void elm_config_scroll_thumbscroll_border_friction_set(double friction); + [ :elm_config_scroll_thumbscroll_border_friction_set, [ :double ], :void ], + # EAPI double elm_config_scroll_thumbscroll_sensitivity_friction_get(void); + [ :elm_config_scroll_thumbscroll_sensitivity_friction_get, [ ], :double ], + # EAPI void elm_config_scroll_thumbscroll_sensitivity_friction_set(double friction); + [ :elm_config_scroll_thumbscroll_sensitivity_friction_set, [ :double ], :void ], + # EAPI double elm_config_longpress_timeout_get(void); + [ :elm_config_longpress_timeout_get, [ ], :double ], + # EAPI void elm_config_longpress_timeout_set(double longpress_timeout); + [ :elm_config_longpress_timeout_set, [ :double ], :void ], # EAPI double elm_config_tooltip_delay_get(void); [ :elm_config_tooltip_delay_get, [ ], :double ], - # EAPI Eina_Bool elm_config_tooltip_delay_set(double delay); - [ :elm_config_tooltip_delay_set, [ :double ], :bool ], + # EAPI void elm_config_tooltip_delay_set(double delay); + [ :elm_config_tooltip_delay_set, [ :double ], :void ], + # EAPI Eina_Bool elm_config_cursor_engine_only_get(void); + [ :elm_config_cursor_engine_only_get, [ ], :bool ], + # EAPI void elm_config_cursor_engine_only_set(Eina_Bool engine_only); + [ :elm_config_cursor_engine_only_set, [ :bool ], :void ], + # EAPI double elm_config_scale_get(void); + [ :elm_config_scale_get, [ ], :double ], + # EAPI void elm_config_scale_set(double scale); + [ :elm_config_scale_set, [ :double ], :void ], + # EAPI Eina_Bool elm_config_password_show_last_get(void); + [ :elm_config_password_show_last_get, [ ], :bool ], + # EAPI void elm_config_password_show_last_set(Eina_Bool password_show_last); + [ :elm_config_password_show_last_set, [ :bool ], :void ], + # EAPI double elm_config_password_show_last_timeout_get(void); + [ :elm_config_password_show_last_timeout_get, [ ], :double ], + # EAPI void elm_config_password_show_last_timeout_set(double password_show_last_timeout); + [ :elm_config_password_show_last_timeout_set, [ :double ], :void ], + # EAPI const char *elm_config_engine_get(void); + [ :elm_config_engine_get, [ ], :string ], + # EAPI void elm_config_engine_set(const char *engine); + [ :elm_config_engine_set, [ :string ], :void ], + # EAPI const char *elm_config_preferred_engine_get(void); + [ :elm_config_preferred_engine_get, [ ], :string ], + # EAPI void elm_config_preferred_engine_set(const char *engine); + [ :elm_config_preferred_engine_set, [ :string ], :void ], + # EAPI Eina_List *elm_config_text_classes_list_get(void); + [ :elm_config_text_classes_list_get, [ ], :eina_list ], + # EAPI void elm_config_text_classes_list_free(Eina_List *list); + [ :elm_config_text_classes_list_free, [ :eina_list ], :void ], + # EAPI const Eina_List *elm_config_font_overlay_list_get(void); + [ :elm_config_font_overlay_list_get, [ ], :eina_list ], + # EAPI void elm_config_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size); + [ :elm_config_font_overlay_set, [ :string, :string, :int ], :void ], + # EAPI void elm_config_font_overlay_unset(const char *text_class); + [ :elm_config_font_overlay_unset, [ :string ], :void ], + # EAPI void elm_config_font_overlay_apply(void); + [ :elm_config_font_overlay_apply, [ ], :void ], + # EAPI Evas_Coord elm_config_finger_size_get(void); + [ :elm_config_finger_size_get, [ ], :int ], + # EAPI void elm_config_finger_size_set(Evas_Coord size); + [ :elm_config_finger_size_set, [ :int ], :void ], + # EAPI int elm_config_cache_flush_interval_get(void); + [ :elm_config_cache_flush_interval_get, [ ], :int ], + # EAPI void elm_config_cache_flush_interval_set(int size); + [ :elm_config_cache_flush_interval_set, [ :int ], :void ], + # EAPI Eina_Bool elm_config_cache_flush_enabled_get(void); + [ :elm_config_cache_flush_enabled_get, [ ], :bool ], + # EAPI void elm_config_cache_flush_enabled_set(Eina_Bool enabled); + [ :elm_config_cache_flush_enabled_set, [ :bool ], :void ], + # EAPI int elm_config_cache_font_cache_size_get(void); + [ :elm_config_cache_font_cache_size_get, [ ], :int ], + # EAPI void elm_config_cache_font_cache_size_set(int size); + [ :elm_config_cache_font_cache_size_set, [ :int ], :void ], + # EAPI int elm_config_cache_image_cache_size_get(void); + [ :elm_config_cache_image_cache_size_get, [ ], :int ], + # EAPI void elm_config_cache_image_cache_size_set(int size); + [ :elm_config_cache_image_cache_size_set, [ :int ], :void ], + # EAPI int elm_config_cache_edje_file_cache_size_get(void); + [ :elm_config_cache_edje_file_cache_size_get, [ ], :int ], + # EAPI void elm_config_cache_edje_file_cache_size_set(int size); + [ :elm_config_cache_edje_file_cache_size_set, [ :int ], :void ], + # EAPI int elm_config_cache_edje_collection_cache_size_get(void); + [ :elm_config_cache_edje_collection_cache_size_get, [ ], :int ], + # EAPI void elm_config_cache_edje_collection_cache_size_set(int size); + [ :elm_config_cache_edje_collection_cache_size_set, [ :int ], :void ], + # EAPI Eina_Bool elm_config_focus_highlight_enabled_get(void); + [ :elm_config_focus_highlight_enabled_get, [ ], :bool ], + # EAPI void elm_config_focus_highlight_enabled_set(Eina_Bool enable); + [ :elm_config_focus_highlight_enabled_set, [ :bool ], :void ], + # EAPI Eina_Bool elm_config_focus_highlight_animate_get(void); + [ :elm_config_focus_highlight_animate_get, [ ], :bool ], + # EAPI void elm_config_focus_highlight_animate_set(Eina_Bool animate); + [ :elm_config_focus_highlight_animate_set, [ :bool ], :void ], + # EAPI Eina_Bool elm_config_mirrored_get(void); + [ :elm_config_mirrored_get, [ ], :bool ], + # EAPI void elm_config_mirrored_set(Eina_Bool mirrored); + [ :elm_config_mirrored_set, [ :bool ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_conform.rb b/lib/efl/native/elm/elm_conform.rb index abf4ecb..aa321ba 100644 --- a/lib/efl/native/elm/elm_conform.rb +++ b/lib/efl/native/elm/elm_conform.rb @@ -25,8 +25,6 @@ module Efl fcts = [ # EAPI Evas_Object *elm_conformant_add(Evas_Object *parent); [ :elm_conformant_add, [ :evas_object ], :evas_object ], - # EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj); - [ :elm_conformant_content_area_get, [ :evas_object ], :evas_object ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_ctxpopup.rb b/lib/efl/native/elm/elm_ctxpopup.rb index 1578b75..0c768b1 100644 --- a/lib/efl/native/elm/elm_ctxpopup.rb +++ b/lib/efl/native/elm/elm_ctxpopup.rb @@ -49,6 +49,8 @@ module Efl [ :elm_ctxpopup_direction_priority_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(const Evas_Object *obj); [ :elm_ctxpopup_direction_get, [ :evas_object ], :elm_ctxpopup_direction ], + # EAPI void elm_ctxpopup_dismiss(Evas_Object *obj); + [ :elm_ctxpopup_dismiss, [ :evas_object ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_cursor.rb b/lib/efl/native/elm/elm_cursor.rb index 1a0b6fe..c3d8703 100644 --- a/lib/efl/native/elm/elm_cursor.rb +++ b/lib/efl/native/elm/elm_cursor.rb @@ -33,14 +33,10 @@ module Efl [ :elm_object_cursor_style_set, [ :evas_object, :string ], :void ], # EAPI const char *elm_object_cursor_style_get(const Evas_Object *obj); [ :elm_object_cursor_style_get, [ :evas_object ], :string ], - # EAPI void elm_object_cursor_engine_only_set(Evas_Object *obj, Eina_Bool engine_only); - [ :elm_object_cursor_engine_only_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_object_cursor_engine_only_get(const Evas_Object *obj); - [ :elm_object_cursor_engine_only_get, [ :evas_object ], :bool ], - # EAPI int elm_cursor_engine_only_get(void); - [ :elm_cursor_engine_only_get, [ ], :int ], - # EAPI Eina_Bool elm_cursor_engine_only_set(int engine_only); - [ :elm_cursor_engine_only_set, [ :int ], :bool ], + # EAPI void elm_object_cursor_theme_search_enabled_set(Evas_Object *obj, Eina_Bool theme_search); + [ :elm_object_cursor_theme_search_enabled_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_object_cursor_theme_search_enabled_get(const Evas_Object *obj); + [ :elm_object_cursor_theme_search_enabled_get, [ :evas_object ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_entry.rb b/lib/efl/native/elm/elm_entry.rb index 7eb6b15..2c0719a 100644 --- a/lib/efl/native/elm/elm_entry.rb +++ b/lib/efl/native/elm/elm_entry.rb @@ -43,10 +43,14 @@ module Efl enum :elm_input_panel_return_key_type, [ :elm_input_panel_return_key_type_default, :elm_input_panel_return_key_type_done, :elm_input_panel_return_key_type_go, :elm_input_panel_return_key_type_join, :elm_input_panel_return_key_type_login, :elm_input_panel_return_key_type_next, :elm_input_panel_return_key_type_search, :elm_input_panel_return_key_type_send ] + # typedef enum _Elm_Cnp_Mode {...} Elm_Cnp_Mode; + enum :elm_cnp_mode, [ :elm_cnp_mode_markup, :elm_cnp_mode_no_image, :elm_cnp_mode_plaintext ] # # TYPEDEFS # typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info; typedef :pointer, :elm_entry_anchor_info + # typedef struct _Elm_Entry_Anchor_Hover_Info Elm_Entry_Anchor_Hover_Info; + typedef :pointer, :elm_entry_anchor_hover_info # typedef Edje_Entry_Change_Info Elm_Entry_Change_Info; typedef :edje_entry_change_info, :elm_entry_change_info # typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size; @@ -162,8 +166,8 @@ module Efl [ :elm_entry_markup_to_utf8, [ :string ], :string ], # EAPI char *elm_entry_utf8_to_markup(const char *s); [ :elm_entry_utf8_to_markup, [ :string ], :string ], - # EAPI void elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format); - [ :elm_entry_file_set, [ :evas_object, :string, :elm_text_format ], :void ], + # EAPI Eina_Bool elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format); + [ :elm_entry_file_set, [ :evas_object, :string, :elm_text_format ], :bool ], # EAPI void elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format); [ :elm_entry_file_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_entry_file_save(Evas_Object *obj); @@ -172,10 +176,6 @@ module Efl [ :elm_entry_autosave_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_entry_autosave_get(const Evas_Object *obj); [ :elm_entry_autosave_get, [ :evas_object ], :bool ], - # EAPI void elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly); - [ :elm_entry_cnp_textonly_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_entry_cnp_textonly_get(const Evas_Object *obj); - [ :elm_entry_cnp_textonly_get, [ :evas_object ], :bool ], # EAPI void elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll); [ :elm_entry_scrollable_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_entry_scrollable_get(const Evas_Object *obj); @@ -234,6 +234,22 @@ module Efl [ :elm_entry_filter_limit_size, [ :pointer, :evas_object, :pointer ], :void ], # EAPI void elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text); [ :elm_entry_filter_accept_set, [ :pointer, :evas_object, :pointer ], :void ], + # EAPI void *elm_entry_imf_context_get(Evas_Object *obj); + [ :elm_entry_imf_context_get, [ :evas_object ], :pointer ], + # EAPI void elm_entry_cnp_mode_set(Evas_Object *obj, Elm_Cnp_Mode cnp_mode); + [ :elm_entry_cnp_mode_set, [ :evas_object, :elm_cnp_mode ], :void ], + # EAPI Elm_Cnp_Mode elm_entry_cnp_mode_get(const Evas_Object *obj); + [ :elm_entry_cnp_mode_get, [ :evas_object ], :elm_cnp_mode ], + # EAPI void elm_entry_anchor_hover_parent_set(Evas_Object *obj, Evas_Object *parent); + [ :elm_entry_anchor_hover_parent_set, [ :evas_object, :evas_object ], :void ], + # EAPI Evas_Object *elm_entry_anchor_hover_parent_get(const Evas_Object *obj); + [ :elm_entry_anchor_hover_parent_get, [ :evas_object ], :evas_object ], + # EAPI void elm_entry_anchor_hover_style_set(Evas_Object *obj, const char *style); + [ :elm_entry_anchor_hover_style_set, [ :evas_object, :string ], :void ], + # EAPI const char *elm_entry_anchor_hover_style_get(const Evas_Object *obj); + [ :elm_entry_anchor_hover_style_get, [ :evas_object ], :string ], + # EAPI void elm_entry_anchor_hover_end(Evas_Object *obj); + [ :elm_entry_anchor_hover_end, [ :evas_object ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_finger.rb b/lib/efl/native/elm/elm_finger.rb index de374e5..819960d 100644 --- a/lib/efl/native/elm/elm_finger.rb +++ b/lib/efl/native/elm/elm_finger.rb @@ -23,10 +23,6 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI Evas_Coord elm_finger_size_get(void); - [ :elm_finger_size_get, [ ], :int ], - # EAPI void elm_finger_size_set(Evas_Coord size); - [ :elm_finger_size_set, [ :int ], :void ], # EAPI void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h); [ :elm_coords_finger_size_adjust, [ :int, :pointer, :int, :pointer ], :void ], ] diff --git a/lib/efl/native/elm/elm_flipselector.rb b/lib/efl/native/elm/elm_flipselector.rb index a9995b9..fd80fad 100644 --- a/lib/efl/native/elm/elm_flipselector.rb +++ b/lib/efl/native/elm/elm_flipselector.rb @@ -49,10 +49,10 @@ module Efl [ :elm_flipselector_item_prev_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_flipselector_item_next_get(const Elm_Object_Item *it); [ :elm_flipselector_item_next_get, [ :elm_object_item ], :elm_object_item ], - # EAPI void elm_flipselector_interval_set(Evas_Object *obj, double interval); - [ :elm_flipselector_interval_set, [ :evas_object, :double ], :void ], - # EAPI double elm_flipselector_interval_get(const Evas_Object *obj); - [ :elm_flipselector_interval_get, [ :evas_object ], :double ], + # EAPI void elm_flipselector_first_interval_set(Evas_Object *obj, double interval); + [ :elm_flipselector_first_interval_set, [ :evas_object, :double ], :void ], + # EAPI double elm_flipselector_first_interval_get(const Evas_Object *obj); + [ :elm_flipselector_first_interval_get, [ :evas_object ], :double ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_focus.rb b/lib/efl/native/elm/elm_focus.rb index df1e6c3..e911ecd 100644 --- a/lib/efl/native/elm/elm_focus.rb +++ b/lib/efl/native/elm/elm_focus.rb @@ -23,14 +23,6 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI Eina_Bool elm_focus_highlight_enabled_get(void); - [ :elm_focus_highlight_enabled_get, [ ], :bool ], - # EAPI void elm_focus_highlight_enabled_set(Eina_Bool enable); - [ :elm_focus_highlight_enabled_set, [ :bool ], :void ], - # EAPI Eina_Bool elm_focus_highlight_animate_get(void); - [ :elm_focus_highlight_animate_get, [ ], :bool ], - # EAPI void elm_focus_highlight_animate_set(Eina_Bool animate); - [ :elm_focus_highlight_animate_set, [ :bool ], :void ], # EAPI Eina_Bool elm_object_focus_get(const Evas_Object *obj); [ :elm_object_focus_get, [ :evas_object ], :bool ], # EAPI void elm_object_focus_set(Evas_Object *obj, Eina_Bool focus); @@ -49,12 +41,12 @@ module Efl [ :elm_object_focus_custom_chain_append, [ :evas_object, :evas_object, :evas_object ], :void ], # EAPI void elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child); [ :elm_object_focus_custom_chain_prepend, [ :evas_object, :evas_object, :evas_object ], :void ], - # EAPI void elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir); - [ :elm_object_focus_cycle, [ :evas_object, :elm_focus_direction ], :void ], - # EAPI void elm_object_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable); - [ :elm_object_tree_unfocusable_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_object_tree_unfocusable_get(const Evas_Object *obj); - [ :elm_object_tree_unfocusable_get, [ :evas_object ], :bool ], + # EAPI void elm_object_focus_next(Evas_Object *obj, Elm_Focus_Direction dir); + [ :elm_object_focus_next, [ :evas_object, :elm_focus_direction ], :void ], + # EAPI void elm_object_tree_focus_allow_set(Evas_Object *obj, Eina_Bool focusable); + [ :elm_object_tree_focus_allow_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_object_tree_focus_allow_get(const Evas_Object *obj); + [ :elm_object_tree_focus_allow_get, [ :evas_object ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_fonts.rb b/lib/efl/native/elm/elm_fonts.rb index 14c7123..13021dc 100644 --- a/lib/efl/native/elm/elm_fonts.rb +++ b/lib/efl/native/elm/elm_fonts.rb @@ -23,27 +23,11 @@ module Efl ffi_lib 'elementary-ver-pre-svn-09.so.0' # # TYPEDEFS - # typedef struct _Elm_Text_Class Elm_Text_Class; - typedef :pointer, :elm_text_class - # typedef struct _Elm_Font_Overlay Elm_Font_Overlay; - typedef :pointer, :elm_font_overlay # typedef struct _Elm_Font_Properties Elm_Font_Properties; typedef :pointer, :elm_font_properties # # FUNCTIONS fcts = [ - # EAPI Eina_List *elm_text_classes_list_get(void); - [ :elm_text_classes_list_get, [ ], :eina_list ], - # EAPI void elm_text_classes_list_free(Eina_List *list); - [ :elm_text_classes_list_free, [ :eina_list ], :void ], - # EAPI const Eina_List *elm_font_overlay_list_get(void); - [ :elm_font_overlay_list_get, [ ], :eina_list ], - # EAPI void elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size); - [ :elm_font_overlay_set, [ :string, :string, :int ], :void ], - # EAPI void elm_font_overlay_unset(const char *text_class); - [ :elm_font_overlay_unset, [ :string ], :void ], - # EAPI void elm_font_overlay_apply(void); - [ :elm_font_overlay_apply, [ ], :void ], # EAPI Elm_Font_Properties *elm_font_properties_get(const char *font); [ :elm_font_properties_get, [ :string ], :elm_font_properties ], # EAPI void elm_font_properties_free(Elm_Font_Properties *efp); diff --git a/lib/efl/native/elm/elm_frame.rb b/lib/efl/native/elm/elm_frame.rb index e941b82..4c6e921 100644 --- a/lib/efl/native/elm/elm_frame.rb +++ b/lib/efl/native/elm/elm_frame.rb @@ -31,10 +31,10 @@ module Efl [ :elm_frame_autocollapse_get, [ :evas_object ], :bool ], # EAPI void elm_frame_collapse_set(Evas_Object *obj, Eina_Bool collapse); [ :elm_frame_collapse_set, [ :evas_object, :bool ], :void ], - # EAPI void elm_frame_collapse_go(Evas_Object *obj, Eina_Bool collapse); - [ :elm_frame_collapse_go, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_frame_collapse_get(const Evas_Object *obj); [ :elm_frame_collapse_get, [ :evas_object ], :bool ], + # EAPI void elm_frame_collapse_go(Evas_Object *obj, Eina_Bool collapse); + [ :elm_frame_collapse_go, [ :evas_object, :bool ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_gengrid.rb b/lib/efl/native/elm/elm_gengrid.rb index 309e5d6..27b3d84 100644 --- a/lib/efl/native/elm/elm_gengrid.rb +++ b/lib/efl/native/elm/elm_gengrid.rb @@ -22,20 +22,16 @@ module Efl ffi_lib 'elementary-ver-pre-svn-09.so.0' # # TYPEDEFS - # typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class; - typedef :pointer, :elm_gengrid_item_class - # typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func; - typedef :pointer, :elm_gengrid_item_class_func - # - # CALLBACKS - # typedef char *(*Elm_Gengrid_Item_Text_Get_Cb) (void *data, Evas_Object *obj, const char *part); - callback :elm_gengrid_item_text_get_cb, [ :pointer, :evas_object, :string ], :string - # typedef Evas_Object *(*Elm_Gengrid_Item_Content_Get_Cb) (void *data, Evas_Object *obj, const char *part); - callback :elm_gengrid_item_content_get_cb, [ :pointer, :evas_object, :string ], :evas_object - # typedef Eina_Bool (*Elm_Gengrid_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part); - callback :elm_gengrid_item_state_get_cb, [ :pointer, :evas_object, :string ], :bool - # typedef void (*Elm_Gengrid_Item_Del_Cb) (void *data, Evas_Object *obj); - callback :elm_gengrid_item_del_cb, [ :pointer, :evas_object ], :void + # typedef Elm_Gen_Item_Class Elm_Gengrid_Item_Class; + typedef :elm_gen_item_class, :elm_gengrid_item_class + # typedef Elm_Gen_Item_Text_Get_Cb Elm_Gengrid_Item_Text_Get_Cb; + typedef :elm_gen_item_text_get_cb, :elm_gengrid_item_text_get_cb + # typedef Elm_Gen_Item_Content_Get_Cb Elm_Gengrid_Item_Content_Get_Cb; + typedef :elm_gen_item_content_get_cb, :elm_gengrid_item_content_get_cb + # typedef Elm_Gen_Item_State_Get_Cb Elm_Gengrid_Item_State_Get_Cb; + typedef :elm_gen_item_state_get_cb, :elm_gengrid_item_state_get_cb + # typedef Elm_Gen_Item_Del_Cb Elm_Gengrid_Item_Del_Cb; + typedef :elm_gen_item_del_cb, :elm_gengrid_item_del_cb # # FUNCTIONS fcts = [ @@ -64,18 +60,15 @@ module Efl # 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, :elm_gengrid_item_class, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :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); - [ :elm_gengrid_item_prepend, [ :evas_object, :elm_gengrid_item_class, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_gengrid_item_prepend, [ :evas_object, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_gengrid_item_insert_before(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Object_Item *relative, Evas_Smart_Cb func, const void *func_data); - [ :elm_gengrid_item_insert_before, [ :evas_object, :elm_gengrid_item_class, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], - :elm_object_item ], + [ :elm_gengrid_item_insert_before, [ :evas_object, :pointer, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_gengrid_item_insert_after(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Object_Item *relative, Evas_Smart_Cb func, const void *func_data); - [ :elm_gengrid_item_insert_after, [ :evas_object, :elm_gengrid_item_class, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], - :elm_object_item ], + [ :elm_gengrid_item_insert_after, [ :evas_object, :pointer, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_gengrid_item_sorted_insert(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data); - [ :elm_gengrid_item_sorted_insert, [ :evas_object, :elm_gengrid_item_class, :pointer, :eina_compare_cb, :evas_smart_cb, :pointer ], - :elm_object_item ], + [ :elm_gengrid_item_sorted_insert, [ :evas_object, :pointer, :pointer, :eina_compare_cb, :evas_smart_cb, :pointer ], :elm_object_item ], # 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); @@ -99,17 +92,17 @@ module Efl # EAPI void elm_gengrid_item_update(Elm_Object_Item *it); [ :elm_gengrid_item_update, [ :elm_object_item ], :void ], # EAPI void elm_gengrid_item_item_class_update(Elm_Object_Item *it, const Elm_Gengrid_Item_Class *gic); - [ :elm_gengrid_item_item_class_update, [ :elm_object_item, :elm_gengrid_item_class ], :void ], + [ :elm_gengrid_item_item_class_update, [ :elm_object_item, :pointer ], :void ], # EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Object_Item *it); - [ :elm_gengrid_item_item_class_get, [ :elm_object_item ], :elm_gengrid_item_class ], + [ :elm_gengrid_item_item_class_get, [ :elm_object_item ], :pointer ], # EAPI Elm_Gengrid_Item_Class *elm_gengrid_item_class_new(void); - [ :elm_gengrid_item_class_new, [ ], :elm_gengrid_item_class ], + [ :elm_gengrid_item_class_new, [ ], :pointer ], # EAPI void elm_gengrid_item_class_free(Elm_Gengrid_Item_Class *itc); - [ :elm_gengrid_item_class_free, [ :elm_gengrid_item_class ], :void ], + [ :elm_gengrid_item_class_free, [ :pointer ], :void ], # EAPI void elm_gengrid_item_class_ref(Elm_Gengrid_Item_Class *itc); - [ :elm_gengrid_item_class_ref, [ :elm_gengrid_item_class ], :void ], + [ :elm_gengrid_item_class_ref, [ :pointer ], :void ], # EAPI void elm_gengrid_item_class_unref(Elm_Gengrid_Item_Class *itc); - [ :elm_gengrid_item_class_unref, [ :elm_gengrid_item_class ], :void ], + [ :elm_gengrid_item_class_unref, [ :pointer ], :void ], # EAPI void elm_gengrid_item_tooltip_text_set(Elm_Object_Item *it, const char *text); [ :elm_gengrid_item_tooltip_text_set, [ :elm_object_item, :string ], :void ], # EAPI void elm_gengrid_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb); diff --git a/lib/efl/native/elm/elm_genlist.rb b/lib/efl/native/elm/elm_genlist.rb index afdcb84..d9bbaa8 100644 --- a/lib/efl/native/elm/elm_genlist.rb +++ b/lib/efl/native/elm/elm_genlist.rb @@ -24,28 +24,24 @@ module Efl ffi_lib 'elementary-ver-pre-svn-09.so.0' # # ENUMS - # typedef enum {...} Elm_Genlist_Item_Flags; - enum :elm_genlist_item_flags, [ :elm_genlist_item_none, 0, :elm_genlist_item_subitems, (1<<0), :elm_genlist_item_group, (1<<1), + # typedef enum {...} Elm_Genlist_Item_Type; + enum :elm_genlist_item_type, [ :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_text, (1<<0), :elm_genlist_item_field_content, + # typedef enum {...} Elm_Genlist_Item_Field_Type; + enum :elm_genlist_item_field_type, [ :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 - # typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class; - typedef :pointer, :elm_genlist_item_class - # typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func; - typedef :pointer, :elm_genlist_item_class_func - # - # CALLBACKS - # typedef char *(*Elm_Genlist_Item_Text_Get_Cb) (void *data, Evas_Object *obj, const char *part); - callback :elm_genlist_item_text_get_cb, [ :pointer, :evas_object, :string ], :string - # typedef Evas_Object *(*Elm_Genlist_Item_Content_Get_Cb) (void *data, Evas_Object *obj, const char *part); - callback :elm_genlist_item_content_get_cb, [ :pointer, :evas_object, :string ], :evas_object - # typedef Eina_Bool (*Elm_Genlist_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part); - callback :elm_genlist_item_state_get_cb, [ :pointer, :evas_object, :string ], :bool - # typedef void (*Elm_Genlist_Item_Del_Cb) (void *data, Evas_Object *obj); - callback :elm_genlist_item_del_cb, [ :pointer, :evas_object ], :void + # typedef Elm_Gen_Item_Class Elm_Genlist_Item_Class; + typedef :elm_gen_item_class, :elm_genlist_item_class + # typedef Elm_Gen_Item_Text_Get_Cb Elm_Genlist_Item_Text_Get_Cb; + typedef :elm_gen_item_text_get_cb, :elm_genlist_item_text_get_cb + # typedef Elm_Gen_Item_Content_Get_Cb Elm_Genlist_Item_Content_Get_Cb; + typedef :elm_gen_item_content_get_cb, :elm_genlist_item_content_get_cb + # typedef Elm_Gen_Item_State_Get_Cb Elm_Genlist_Item_State_Get_Cb; + typedef :elm_gen_item_state_get_cb, :elm_genlist_item_state_get_cb + # typedef Elm_Gen_Item_Del_Cb Elm_Genlist_Item_Del_Cb; + typedef :elm_gen_item_del_cb, :elm_genlist_item_del_cb # # FUNCTIONS fcts = [ @@ -73,21 +69,21 @@ module Efl [ :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_Flags flags, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_append, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_genlist_item_flags, :evas_smart_cb, - :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_item_prepend(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_prepend, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_genlist_item_flags, :evas_smart_cb, - :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_item_insert_before(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *before, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_insert_before, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_object_item, - :elm_genlist_item_flags, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *after, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_insert_after, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_object_item, - :elm_genlist_item_flags, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Flags flags, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_sorted_insert, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_genlist_item_flags, - :eina_compare_cb, :evas_smart_cb, :pointer ], :elm_object_item ], + # 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 ], + # EAPI Elm_Object_Item *elm_genlist_item_prepend(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_prepend, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_genlist_item_type, :evas_smart_cb, :pointer ], + :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_item_insert_before(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *before, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); + [ :elm_genlist_item_insert_before, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_object_item, :elm_genlist_item_type, + :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *after, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); + [ :elm_genlist_item_insert_after, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_object_item, :elm_genlist_item_type, + :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type type, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data); + [ :elm_genlist_item_sorted_insert, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_genlist_item_type, :eina_compare_cb, + :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_genlist_selected_item_get(const Evas_Object *obj); [ :elm_genlist_selected_item_get, [ :evas_object ], :elm_object_item ], # EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj); @@ -125,9 +121,9 @@ module Efl # EAPI void elm_genlist_item_update(Elm_Object_Item *it); [ :elm_genlist_item_update, [ :elm_object_item ], :void ], # EAPI void elm_genlist_item_item_class_update(Elm_Object_Item *it, const Elm_Genlist_Item_Class *itc); - [ :elm_genlist_item_item_class_update, [ :elm_object_item, :elm_genlist_item_class ], :void ], + [ :elm_genlist_item_item_class_update, [ :elm_object_item, :pointer ], :void ], # EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Object_Item *it); - [ :elm_genlist_item_item_class_get, [ :elm_object_item ], :elm_genlist_item_class ], + [ :elm_genlist_item_item_class_get, [ :elm_object_item ], :pointer ], # EAPI int elm_genlist_item_index_get(const Elm_Object_Item *it); [ :elm_genlist_item_index_get, [ :elm_object_item ], :int ], # EAPI void elm_genlist_realized_items_update(Evas_Object *obj); @@ -135,13 +131,13 @@ module Efl # EAPI unsigned int elm_genlist_items_count(const Evas_Object *obj); [ :elm_genlist_items_count, [ :evas_object ], :uint ], # EAPI Elm_Genlist_Item_Class *elm_genlist_item_class_new(void); - [ :elm_genlist_item_class_new, [ ], :elm_genlist_item_class ], + [ :elm_genlist_item_class_new, [ ], :pointer ], # EAPI void elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc); - [ :elm_genlist_item_class_free, [ :elm_genlist_item_class ], :void ], + [ :elm_genlist_item_class_free, [ :pointer ], :void ], # EAPI void elm_genlist_item_class_ref(Elm_Genlist_Item_Class *itc); - [ :elm_genlist_item_class_ref, [ :elm_genlist_item_class ], :void ], + [ :elm_genlist_item_class_ref, [ :pointer ], :void ], # EAPI void elm_genlist_item_class_unref(Elm_Genlist_Item_Class *itc); - [ :elm_genlist_item_class_unref, [ :elm_genlist_item_class ], :void ], + [ :elm_genlist_item_class_unref, [ :pointer ], :void ], # EAPI void elm_genlist_item_tooltip_text_set(Elm_Object_Item *it, const char *text); [ :elm_genlist_item_tooltip_text_set, [ :elm_object_item, :string ], :void ], # EAPI void elm_genlist_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb); @@ -206,14 +202,14 @@ module Efl [ :elm_genlist_item_display_only_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_genlist_item_display_only_get(const Elm_Object_Item *it); [ :elm_genlist_item_display_only_get, [ :elm_object_item ], :bool ], - # EAPI void elm_genlist_item_contents_orphan(Elm_Object_Item *it); - [ :elm_genlist_item_contents_orphan, [ :elm_object_item ], :void ], + # EAPI void elm_genlist_item_all_contents_unset(Elm_Object_Item *it, Eina_List **l); + [ :elm_genlist_item_all_contents_unset, [ :elm_object_item, :eina_list ], :void ], # EAPI void elm_genlist_item_promote(Elm_Object_Item *it); [ :elm_genlist_item_promote, [ :elm_object_item ], :void ], # EAPI void elm_genlist_item_demote(Elm_Object_Item *it); [ :elm_genlist_item_demote, [ :elm_object_item ], :void ], - # EAPI void elm_genlist_item_fields_update(Elm_Object_Item *it, const char *parts, Elm_Genlist_Item_Field_Flags itf); - [ :elm_genlist_item_fields_update, [ :elm_object_item, :string, :elm_genlist_item_field_flags ], :void ], + # EAPI void elm_genlist_item_fields_update(Elm_Object_Item *it, const char *parts, Elm_Genlist_Item_Field_Type itf); + [ :elm_genlist_item_fields_update, [ :elm_object_item, :string, :elm_genlist_item_field_type ], :void ], # EAPI void elm_genlist_item_mode_set(Elm_Object_Item *it, const char *mode_type, Eina_Bool mode_set); [ :elm_genlist_item_mode_set, [ :elm_object_item, :string, :bool ], :void ], # EAPI const char *elm_genlist_mode_type_get(const Evas_Object *obj); @@ -224,12 +220,16 @@ module Efl [ :elm_genlist_reorder_mode_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_genlist_reorder_mode_get(const Evas_Object *obj); [ :elm_genlist_reorder_mode_get, [ :evas_object ], :bool ], - # EAPI Elm_Genlist_Item_Flags elm_genlist_item_flags_get(const Elm_Object_Item *it); - [ :elm_genlist_item_flags_get, [ :elm_object_item ], :elm_genlist_item_flags ], + # EAPI Elm_Genlist_Item_Type elm_genlist_item_type_get(const Elm_Object_Item *it); + [ :elm_genlist_item_type_get, [ :elm_object_item ], :elm_genlist_item_type ], # EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode); [ :elm_genlist_edit_mode_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_genlist_edit_mode_get(const Evas_Object *obj); [ :elm_genlist_edit_mode_get, [ :evas_object ], :bool ], + # EAPI void elm_genlist_item_flip_set(Elm_Object_Item *it, Eina_Bool flip); + [ :elm_genlist_item_flip_set, [ :elm_object_item, :bool ], :void ], + # EAPI Eina_Bool elm_genlist_item_flip_get(const Elm_Object_Item *it); + [ :elm_genlist_item_flip_get, [ :elm_object_item ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_glview.rb b/lib/efl/native/elm/elm_glview.rb index b23e25d..1abd4e1 100644 --- a/lib/efl/native/elm/elm_glview.rb +++ b/lib/efl/native/elm/elm_glview.rb @@ -30,12 +30,18 @@ module Efl # typedef enum {...} Elm_GLView_Render_Policy; enum :elm_glview_render_policy, [ :elm_glview_render_policy_on_demand, 1, :elm_glview_render_policy_always, 2 ] # + # TYPEDEFS + # typedef struct _GLData GLData; + typedef :pointer, :gldata + # # CALLBACKS # typedef void (*Elm_GLView_Func_Cb) (Evas_Object *obj); callback :elm_glview_func_cb, [ :evas_object ], :void # # FUNCTIONS fcts = [ + # EAPI int elm_main(int argc, char **argv) + [ :elm_main, [ :int, :pointer ], :int ], # EAPI Evas_Object *elm_glview_add(Evas_Object *parent); [ :elm_glview_add, [ :evas_object ], :evas_object ], # EAPI void elm_glview_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); diff --git a/lib/efl/native/elm/elm_icon.rb b/lib/efl/native/elm/elm_icon.rb index dabfeb4..1739a36 100644 --- a/lib/efl/native/elm/elm_icon.rb +++ b/lib/efl/native/elm/elm_icon.rb @@ -51,10 +51,10 @@ module Efl [ :elm_icon_no_scale_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_icon_no_scale_get(const Evas_Object *obj); [ :elm_icon_no_scale_get, [ :evas_object ], :bool ], - # EAPI void elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down); - [ :elm_icon_scale_set, [ :evas_object, :bool, :bool ], :void ], - # EAPI void elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down); - [ :elm_icon_scale_get, [ :evas_object, :pointer, :pointer ], :void ], + # EAPI void elm_icon_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool size_down); + [ :elm_icon_resizable_set, [ :evas_object, :bool, :bool ], :void ], + # EAPI void elm_icon_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down); + [ :elm_icon_resizable_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_icon_size_get(const Evas_Object *obj, int *w, int *h); [ :elm_icon_size_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside); @@ -71,8 +71,8 @@ module Efl [ :elm_icon_order_lookup_set, [ :evas_object, :elm_icon_lookup_order ], :void ], # EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj); [ :elm_icon_order_lookup_get, [ :evas_object ], :elm_icon_lookup_order ], - # EAPI void elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable); - [ :elm_icon_preload_set, [ :evas_object, :bool ], :void ], + # EAPI void elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled); + [ :elm_icon_preload_disabled_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_icon_animated_available_get(const Evas_Object *obj); [ :elm_icon_animated_available_get, [ :evas_object ], :bool ], # EAPI void elm_icon_animated_set(Evas_Object *obj, Eina_Bool animated); diff --git a/lib/efl/native/elm/elm_image.rb b/lib/efl/native/elm/elm_image.rb index 356c5dd..b490114 100644 --- a/lib/efl/native/elm/elm_image.rb +++ b/lib/efl/native/elm/elm_image.rb @@ -44,14 +44,16 @@ module Efl [ :elm_image_no_scale_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_image_no_scale_get(const Evas_Object *obj); [ :elm_image_no_scale_get, [ :evas_object ], :bool ], - # EAPI void elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down); - [ :elm_image_scale_set, [ :evas_object, :bool, :bool ], :void ], - # EAPI void elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down); - [ :elm_image_scale_get, [ :evas_object, :pointer, :pointer ], :void ], + # EAPI void elm_image_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool size_down); + [ :elm_image_resizable_set, [ :evas_object, :bool, :bool ], :void ], + # EAPI void elm_image_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down); + [ :elm_image_resizable_get, [ :evas_object, :pointer, :pointer ], :void ], # EAPI void elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside); [ :elm_image_fill_outside_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_image_fill_outside_get(const Evas_Object *obj); [ :elm_image_fill_outside_get, [ :evas_object ], :bool ], + # EAPI void elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled); + [ :elm_image_preload_disabled_set, [ :evas_object, :bool ], :void ], # EAPI void elm_image_prescale_set(Evas_Object *obj, int size); [ :elm_image_prescale_set, [ :evas_object, :int ], :void ], # EAPI int elm_image_prescale_get(const Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_index.rb b/lib/efl/native/elm/elm_index.rb index b87d404..f1778bb 100644 --- a/lib/efl/native/elm/elm_index.rb +++ b/lib/efl/native/elm/elm_index.rb @@ -25,34 +25,44 @@ module Efl fcts = [ # EAPI Evas_Object *elm_index_add(Evas_Object *parent); [ :elm_index_add, [ :evas_object ], :evas_object ], - # EAPI void elm_index_active_set(Evas_Object *obj, Eina_Bool active); - [ :elm_index_active_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_index_active_get(const Evas_Object *obj); - [ :elm_index_active_get, [ :evas_object ], :bool ], + # EAPI void elm_index_autohide_disabled_set(Evas_Object *obj, Eina_Bool disabled); + [ :elm_index_autohide_disabled_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_index_autohide_disabled_get(const Evas_Object *obj); + [ :elm_index_autohide_disabled_get, [ :evas_object ], :bool ], # EAPI void elm_index_item_level_set(Evas_Object *obj, int level); [ :elm_index_item_level_set, [ :evas_object, :int ], :void ], # EAPI int elm_index_item_level_get(const Evas_Object *obj); [ :elm_index_item_level_get, [ :evas_object ], :int ], - # EAPI Elm_Object_Item *elm_index_item_selected_get(const Evas_Object *obj, int level); - [ :elm_index_item_selected_get, [ :evas_object, :int ], :elm_object_item ], - # EAPI void elm_index_item_append(Evas_Object *obj, const char *letter, const void *item); - [ :elm_index_item_append, [ :evas_object, :string, :pointer ], :void ], - # EAPI void elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item); - [ :elm_index_item_prepend, [ :evas_object, :string, :pointer ], :void ], - # EAPI void elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Object_Item *relative); - [ :elm_index_item_append_relative, [ :evas_object, :string, :pointer, :elm_object_item ], :void ], - # EAPI void elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Object_Item *relative); - [ :elm_index_item_prepend_relative, [ :evas_object, :string, :pointer, :elm_object_item ], :void ], - # EAPI void elm_index_item_sorted_insert(Evas_Object *obj, const char *letter, const void *item, Eina_Compare_Cb cmp_func, Eina_Compare_Cb cmp_data_func); - [ :elm_index_item_sorted_insert, [ :evas_object, :string, :pointer, :eina_compare_cb, :eina_compare_cb ], :void ], - # EAPI Elm_Object_Item *elm_index_item_find(Evas_Object *obj, const void *item); + # EAPI void elm_index_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); + [ :elm_index_item_selected_set, [ :elm_object_item, :bool ], :void ], + # EAPI Elm_Object_Item *elm_index_selected_item_get(const Evas_Object *obj, int level); + [ :elm_index_selected_item_get, [ :evas_object, :int ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_index_item_append(Evas_Object *obj, const char *letter, Evas_Smart_Cb func, const void *data); + [ :elm_index_item_append, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_index_item_prepend(Evas_Object *obj, const char *letter, Evas_Smart_Cb func, const void *data); + [ :elm_index_item_prepend, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_index_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *letter, Evas_Smart_Cb func, const void *data); + [ :elm_index_item_insert_after, [ :evas_object, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_index_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *letter, Evas_Smart_Cb func, const void *data); + [ :elm_index_item_insert_before, [ :evas_object, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_index_item_sorted_insert(Evas_Object *obj, const char *letter, Evas_Smart_Cb func, const void *data, Eina_Compare_Cb cmp_func, Eina_Compare_Cb cmp_data_func); + [ :elm_index_item_sorted_insert, [ :evas_object, :string, :evas_smart_cb, :pointer, :eina_compare_cb, :eina_compare_cb ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_index_item_find(Evas_Object *obj, const void *data); [ :elm_index_item_find, [ :evas_object, :pointer ], :elm_object_item ], # EAPI void elm_index_item_clear(Evas_Object *obj); [ :elm_index_item_clear, [ :evas_object ], :void ], - # EAPI void elm_index_item_go(Evas_Object *obj, int level); - [ :elm_index_item_go, [ :evas_object, :int ], :void ], + # EAPI void elm_index_level_go(Evas_Object *obj, int level); + [ :elm_index_level_go, [ :evas_object, :int ], :void ], # EAPI const char *elm_index_item_letter_get(const Elm_Object_Item *item); [ :elm_index_item_letter_get, [ :elm_object_item ], :string ], + # EAPI void elm_index_indicator_disabled_set(Evas_Object *obj, Eina_Bool disabled); + [ :elm_index_indicator_disabled_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_index_indicator_disabled_get(const Evas_Object *obj); + [ :elm_index_indicator_disabled_get, [ :evas_object ], :bool ], + # EAPI void elm_index_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); + [ :elm_index_horizontal_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_index_horizontal_get(const Evas_Object *obj); + [ :elm_index_horizontal_get, [ :evas_object ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_label.rb b/lib/efl/native/elm/elm_label.rb index f17f5e9..5ce3c7f 100644 --- a/lib/efl/native/elm/elm_label.rb +++ b/lib/efl/native/elm/elm_label.rb @@ -34,10 +34,6 @@ module Efl [ :elm_label_wrap_width_set, [ :evas_object, :int ], :void ], # EAPI Evas_Coord elm_label_wrap_width_get(const Evas_Object *obj); [ :elm_label_wrap_width_get, [ :evas_object ], :int ], - # EAPI void elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h); - [ :elm_label_wrap_height_set, [ :evas_object, :int ], :void ], - # EAPI Evas_Coord elm_label_wrap_height_get(const Evas_Object *obj); - [ :elm_label_wrap_height_get, [ :evas_object ], :int ], # EAPI void elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis); [ :elm_label_ellipsis_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_label_ellipsis_get(const Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_layout.rb b/lib/efl/native/elm/elm_layout.rb index c9d76b9..f7c633f 100644 --- a/lib/efl/native/elm/elm_layout.rb +++ b/lib/efl/native/elm/elm_layout.rb @@ -29,24 +29,24 @@ module Efl [ :elm_layout_file_set, [ :evas_object, :string, :string ], :bool ], # EAPI Eina_Bool elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style); [ :elm_layout_theme_set, [ :evas_object, :string, :string, :string ], :bool ], - # EAPI void elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child); - [ :elm_layout_box_append, [ :evas_object, :string, :evas_object ], :void ], - # EAPI void elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child); - [ :elm_layout_box_prepend, [ :evas_object, :string, :evas_object ], :void ], - # EAPI void elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference); - [ :elm_layout_box_insert_before, [ :evas_object, :string, :evas_object, :evas_object ], :void ], - # EAPI void elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos); - [ :elm_layout_box_insert_at, [ :evas_object, :string, :evas_object, :uint ], :void ], + # EAPI Eina_Bool elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child); + [ :elm_layout_box_append, [ :evas_object, :string, :evas_object ], :bool ], + # EAPI Eina_Bool elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child); + [ :elm_layout_box_prepend, [ :evas_object, :string, :evas_object ], :bool ], + # EAPI Eina_Bool elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference); + [ :elm_layout_box_insert_before, [ :evas_object, :string, :evas_object, :evas_object ], :bool ], + # EAPI Eina_Bool elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos); + [ :elm_layout_box_insert_at, [ :evas_object, :string, :evas_object, :uint ], :bool ], # EAPI Evas_Object *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child); [ :elm_layout_box_remove, [ :evas_object, :string, :evas_object ], :evas_object ], - # EAPI void elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear); - [ :elm_layout_box_remove_all, [ :evas_object, :string, :bool ], :void ], - # EAPI void elm_layout_table_pack(Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan); - [ :elm_layout_table_pack, [ :evas_object, :string, :evas_object, :ushort, :ushort, :ushort, :ushort ], :void ], + # EAPI Eina_Bool elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear); + [ :elm_layout_box_remove_all, [ :evas_object, :string, :bool ], :bool ], + # EAPI Eina_Bool elm_layout_table_pack(Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan); + [ :elm_layout_table_pack, [ :evas_object, :string, :evas_object, :ushort, :ushort, :ushort, :ushort ], :bool ], # EAPI Evas_Object *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj); [ :elm_layout_table_unpack, [ :evas_object, :string, :evas_object ], :evas_object ], - # EAPI void elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear); - [ :elm_layout_table_clear, [ :evas_object, :string, :bool ], :void ], + # EAPI Eina_Bool elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear); + [ :elm_layout_table_clear, [ :evas_object, :string, :bool ], :bool ], # EAPI Evas_Object *elm_layout_edje_get(const Evas_Object *obj); [ :elm_layout_edje_get, [ :evas_object ], :evas_object ], # EAPI const char *elm_layout_data_get(const Evas_Object *obj, const char *key); @@ -57,8 +57,8 @@ module Efl [ :elm_layout_part_cursor_set, [ :evas_object, :string, :string ], :bool ], # EAPI const char *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name); [ :elm_layout_part_cursor_get, [ :evas_object, :string ], :string ], - # EAPI void elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name); - [ :elm_layout_part_cursor_unset, [ :evas_object, :string ], :void ], + # EAPI Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name); + [ :elm_layout_part_cursor_unset, [ :evas_object, :string ], :bool ], # EAPI Eina_Bool elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style); [ :elm_layout_part_cursor_style_set, [ :evas_object, :string, :string ], :bool ], # EAPI const char *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name); diff --git a/lib/efl/native/elm/elm_map.rb b/lib/efl/native/elm/elm_map.rb index 874c032..775dbc4 100644 --- a/lib/efl/native/elm/elm_map.rb +++ b/lib/efl/native/elm/elm_map.rb @@ -34,6 +34,9 @@ module Efl enum :elm_map_route_type, [ :elm_map_route_type_motocar, :elm_map_route_type_bicycle, :elm_map_route_type_foot, :elm_map_route_type_last ] # typedef enum {...} Elm_Map_Route_Method; enum :elm_map_route_method, [ :elm_map_route_method_fastest, :elm_map_route_method_shortest, :elm_map_route_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 ] # typedef enum {...} Elm_Map_Name_Method; enum :elm_map_name_method, [ :elm_map_name_method_search, :elm_map_name_method_reverse, :elm_map_name_method_last ] # @@ -48,36 +51,38 @@ module Efl typedef :pointer, :elm_map_route # typedef struct _Elm_Map_Name Elm_Map_Name; typedef :pointer, :elm_map_name - # typedef struct _Elm_Map_Track Elm_Map_Track; - typedef :pointer, :elm_map_track + # typedef struct _Elm_Map_Overlay Elm_Map_Overlay; + typedef :pointer, :elm_map_overlay # # CALLBACKS - # typedef Evas_Object *(*ElmMapMarkerGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data); - callback :elmmapmarkergetfunc_cb, [ :evas_object, :elm_map_marker, :pointer ], :evas_object - # typedef void (*ElmMapMarkerDelFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o); - callback :elmmapmarkerdelfunc_cb, [ :evas_object, :elm_map_marker, :pointer, :evas_object ], :void - # typedef Evas_Object *(*ElmMapMarkerIconGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data); - callback :elmmapmarkericongetfunc_cb, [ :evas_object, :elm_map_marker, :pointer ], :evas_object - # typedef Evas_Object *(*ElmMapGroupIconGetFunc) (Evas_Object *obj, void *data); - callback :elmmapgroupicongetfunc_cb, [ :evas_object, :pointer ], :evas_object - # typedef char *(*ElmMapModuleSourceFunc) (void); - callback :elmmapmodulesourcefunc_cb, [ ], :string - # typedef int (*ElmMapModuleZoomMinFunc) (void); - callback :elmmapmodulezoomminfunc_cb, [ ], :int - # typedef int (*ElmMapModuleZoomMaxFunc) (void); - callback :elmmapmodulezoommaxfunc_cb, [ ], :int - # typedef char *(*ElmMapModuleUrlFunc) (Evas_Object *obj, int x, int y, int zoom); - callback :elmmapmoduleurlfunc_cb, [ :evas_object, :int, :int, :int ], :string - # typedef int (*ElmMapModuleRouteSourceFunc) (void); - callback :elmmapmoduleroutesourcefunc_cb, [ ], :int - # typedef char *(*ElmMapModuleRouteUrlFunc) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat); - callback :elmmapmodulerouteurlfunc_cb, [ :evas_object, :string, :int, :double, :double, :double, :double ], :string - # typedef char *(*ElmMapModuleNameUrlFunc) (Evas_Object *obj, int method, char *name, double lon, double lat); - callback :elmmapmodulenameurlfunc_cb, [ :evas_object, :int, :string, :double, :double ], :string - # typedef Eina_Bool (*ElmMapModuleGeoIntoCoordFunc) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y); - callback :elmmapmodulegeointocoordfunc_cb, [ :evas_object, :int, :double, :double, :int, :pointer, :pointer ], :bool - # typedef Eina_Bool (*ElmMapModuleCoordIntoGeoFunc) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat); - callback :elmmapmodulecoordintogeofunc_cb, [ :evas_object, :int, :int, :int, :int, :pointer, :pointer ], :bool + # typedef Evas_Object *(*Elm_Map_Marker_Get_Func) (Evas_Object *obj, Elm_Map_Marker *marker, void *data); + callback :elm_map_marker_get_func_cb, [ :evas_object, :elm_map_marker, :pointer ], :evas_object + # typedef void (*Elm_Map_Marker_Del_Func) (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o); + callback :elm_map_marker_del_func_cb, [ :evas_object, :elm_map_marker, :pointer, :evas_object ], :void + # typedef Evas_Object *(*Elm_Map_Marker_Icon_Get_Func) (Evas_Object *obj, Elm_Map_Marker *marker, void *data); + 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, Elm_Map_Overlay *overlay); + callback :elm_map_overlay_get_cb, [ :pointer, :evas_object, :elm_map_overlay ], :void + # typedef char *(*Elm_Map_Module_Source_Func) (void); + callback :elm_map_module_source_func_cb, [ ], :string + # typedef int (*Elm_Map_Module_Zoom_Min_Func) (void); + callback :elm_map_module_zoom_min_func_cb, [ ], :int + # typedef int (*Elm_Map_Module_Zoom_Max_Func) (void); + callback :elm_map_module_zoom_max_func_cb, [ ], :int + # typedef char *(*Elm_Map_Module_Url_Func) (Evas_Object *obj, int x, int y, int zoom); + callback :elm_map_module_url_func_cb, [ :evas_object, :int, :int, :int ], :string + # typedef int (*Elm_Map_Module_Route_Source_Func) (void); + callback :elm_map_module_route_source_func_cb, [ ], :int + # typedef char *(*Elm_Map_Module_Route_Url_Func) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat); + callback :elm_map_module_route_url_func_cb, [ :evas_object, :string, :int, :double, :double, :double, :double ], :string + # typedef char *(*Elm_Map_Module_Name_Url_Func) (Evas_Object *obj, int method, char *name, double lon, double lat); + callback :elm_map_module_name_url_func_cb, [ :evas_object, :int, :string, :double, :double ], :string + # typedef Eina_Bool (*Elm_Map_Module_Geo_Into_Coord_Func) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y); + callback :elm_map_module_geo_into_coord_func_cb, [ :evas_object, :int, :double, :double, :int, :pointer, :pointer ], :bool + # typedef Eina_Bool (*Elm_Map_Module_Coord_Into_Geo_Func) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat); + callback :elm_map_module_coord_into_geo_func_cb, [ :evas_object, :int, :int, :int, :int, :pointer, :pointer ], :bool # # FUNCTIONS fcts = [ @@ -141,8 +146,8 @@ module Efl [ :elm_map_group_class_new, [ :evas_object ], :elm_map_group_class ], # EAPI void elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style); [ :elm_map_group_class_style_set, [ :elm_map_group_class, :string ], :void ], - # EAPI void elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get); - [ :elm_map_group_class_icon_cb_set, [ :elm_map_group_class, :elmmapgroupicongetfunc_cb ], :void ], + # EAPI void elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, Elm_Map_Group_Icon_Get_Func icon_get); + [ :elm_map_group_class_icon_cb_set, [ :elm_map_group_class, :elm_map_group_icon_get_func_cb ], :void ], # EAPI void elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data); [ :elm_map_group_class_data_set, [ :elm_map_group_class, :pointer ], :void ], # EAPI void elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom); @@ -155,12 +160,12 @@ module Efl [ :elm_map_marker_class_new, [ :evas_object ], :elm_map_marker_class ], # EAPI void elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style); [ :elm_map_marker_class_style_set, [ :elm_map_marker_class, :string ], :void ], - # EAPI void elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get); - [ :elm_map_marker_class_icon_cb_set, [ :elm_map_marker_class, :elmmapmarkericongetfunc_cb ], :void ], - # EAPI void elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get); - [ :elm_map_marker_class_get_cb_set, [ :elm_map_marker_class, :elmmapmarkergetfunc_cb ], :void ], - # EAPI void elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del); - [ :elm_map_marker_class_del_cb_set, [ :elm_map_marker_class, :elmmapmarkerdelfunc_cb ], :void ], + # EAPI void elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, Elm_Map_Marker_Icon_Get_Func icon_get); + [ :elm_map_marker_class_icon_cb_set, [ :elm_map_marker_class, :elm_map_marker_icon_get_func_cb ], :void ], + # EAPI void elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, Elm_Map_Marker_Get_Func get); + [ :elm_map_marker_class_get_cb_set, [ :elm_map_marker_class, :elm_map_marker_get_func_cb ], :void ], + # EAPI void elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, Elm_Map_Marker_Del_Func del); + [ :elm_map_marker_class_del_cb_set, [ :elm_map_marker_class, :elm_map_marker_del_func_cb ], :void ], # EAPI const char **elm_map_source_names_get(const Evas_Object *obj); [ :elm_map_source_names_get, [ :evas_object ], :pointer ], # EAPI void elm_map_source_name_set(Evas_Object *obj, const char *source_name); @@ -215,6 +220,66 @@ module Efl [ :elm_map_track_add, [ :evas_object, :emap_route ], :evas_object ], # EAPI void elm_map_track_remove(Evas_Object *obj, Evas_Object *route); [ :elm_map_track_remove, [ :evas_object, :evas_object ], :void ], + # EAPI Elm_Map_Overlay * elm_map_overlay_add(Evas_Object *obj, double lon, double lat); + [ :elm_map_overlay_add, [ :evas_object, :double, :double ], :elm_map_overlay ], + # EAPI void elm_map_overlay_del(Elm_Map_Overlay *overlay); + [ :elm_map_overlay_del, [ :elm_map_overlay ], :void ], + # EAPI Elm_Map_Overlay_Type elm_map_overlay_type_get(Elm_Map_Overlay *overlay); + [ :elm_map_overlay_type_get, [ :elm_map_overlay ], :elm_map_overlay_type ], + # EAPI void elm_map_overlay_data_set(Elm_Map_Overlay *overlay, void *data); + [ :elm_map_overlay_data_set, [ :elm_map_overlay, :pointer ], :void ], + # EAPI void * elm_map_overlay_data_get(const Elm_Map_Overlay *overlay); + [ :elm_map_overlay_data_get, [ :elm_map_overlay ], :pointer ], + # EAPI void elm_map_overlay_hide_set(Elm_Map_Overlay *overlay, Eina_Bool hide); + [ :elm_map_overlay_hide_set, [ :elm_map_overlay, :bool ], :void ], + # EAPI Eina_Bool elm_map_overlay_hide_get(const Elm_Map_Overlay *overlay); + [ :elm_map_overlay_hide_get, [ :elm_map_overlay ], :bool ], + # EAPI void elm_map_overlay_displayed_zoom_min_set(Elm_Map_Overlay *overlay, int zoom); + [ :elm_map_overlay_displayed_zoom_min_set, [ :elm_map_overlay, :int ], :void ], + # EAPI int elm_map_overlay_displayed_zoom_min_get(const Elm_Map_Overlay *overlay); + [ :elm_map_overlay_displayed_zoom_min_get, [ :elm_map_overlay ], :int ], + # EAPI void elm_map_overlay_paused_set(Elm_Map_Overlay *overlay, Eina_Bool paused); + [ :elm_map_overlay_paused_set, [ :elm_map_overlay, :bool ], :void ], + # EAPI Eina_Bool elm_map_overlay_paused_get(const Elm_Map_Overlay *overlay); + [ :elm_map_overlay_paused_get, [ :elm_map_overlay ], :bool ], + # EAPI void elm_map_overlay_content_set(Elm_Map_Overlay *overlay, Evas_Object *obj); + [ :elm_map_overlay_content_set, [ :elm_map_overlay, :evas_object ], :void ], + # EAPI const Evas_Object * elm_map_overlay_content_get(const Elm_Map_Overlay *overlay); + [ :elm_map_overlay_content_get, [ :elm_map_overlay ], :evas_object ], + # EAPI void elm_map_overlay_icon_set(Elm_Map_Overlay *overlay, Evas_Object *icon); + [ :elm_map_overlay_icon_set, [ :elm_map_overlay, :evas_object ], :void ], + # EAPI const Evas_Object * elm_map_overlay_icon_get(const Elm_Map_Overlay *overlay); + [ :elm_map_overlay_icon_get, [ :elm_map_overlay ], :evas_object ], + # EAPI void elm_map_overlay_geo_set(Elm_Map_Overlay *overlay, double lon, double lat); + [ :elm_map_overlay_geo_set, [ :elm_map_overlay, :double, :double ], :void ], + # EAPI void elm_map_overlay_geo_get(const Elm_Map_Overlay *overlay, double *lon, double *lat); + [ :elm_map_overlay_geo_get, [ :elm_map_overlay, :pointer, :pointer ], :void ], + # EAPI void elm_map_overlay_show(Elm_Map_Overlay *overlay); + [ :elm_map_overlay_show, [ :elm_map_overlay ], :void ], + # EAPI void elm_map_overlays_show(Eina_List *overlays); + [ :elm_map_overlays_show, [ :eina_list ], :void ], + # EAPI void elm_map_overlay_get_cb_set(Elm_Map_Overlay *overlay, Elm_Map_Overlay_Get_Cb get_cb, void *data); + [ :elm_map_overlay_get_cb_set, [ :elm_map_overlay, :elm_map_overlay_get_cb, :pointer ], :void ], + # EAPI Elm_Map_Overlay * elm_map_overlay_class_add(Evas_Object *obj); + [ :elm_map_overlay_class_add, [ :evas_object ], :elm_map_overlay ], + # EAPI void elm_map_overlay_class_append(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay); + [ :elm_map_overlay_class_append, [ :elm_map_overlay, :elm_map_overlay ], :void ], + # EAPI void elm_map_overlay_class_remove(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay); + [ :elm_map_overlay_class_remove, [ :elm_map_overlay, :elm_map_overlay ], :void ], + # EAPI + # FIXME + # EAPI void elm_map_overlay_class_zoom_max_set(Elm_Map_Overlay *clas, int zoom); + [ :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 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); + [ :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 ], + # EAPI void elm_map_overlay_bubble_content_clear(Elm_Map_Overlay *bubble); + [ :elm_map_overlay_bubble_content_clear, [ :elm_map_overlay ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_menu.rb b/lib/efl/native/elm/elm_menu.rb index bb981a6..4c4dba9 100644 --- a/lib/efl/native/elm/elm_menu.rb +++ b/lib/efl/native/elm/elm_menu.rb @@ -39,12 +39,10 @@ module Efl [ :elm_menu_item_object_get, [ :elm_object_item ], :evas_object ], # EAPI Elm_Object_Item *elm_menu_item_add(Evas_Object *obj, Elm_Object_Item *parent, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); [ :elm_menu_item_add, [ :evas_object, :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_menu_item_add_object(Evas_Object *obj, Elm_Object_Item *parent, Evas_Object *subobj, Evas_Smart_Cb func, const void *data); - [ :elm_menu_item_add_object, [ :evas_object, :elm_object_item, :evas_object, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI void elm_menu_item_object_icon_name_set(Elm_Object_Item *it, const char *icon); - [ :elm_menu_item_object_icon_name_set, [ :elm_object_item, :string ], :void ], - # EAPI const char *elm_menu_item_object_icon_name_get(const Elm_Object_Item *it); - [ :elm_menu_item_object_icon_name_get, [ :elm_object_item ], :string ], + # EAPI void elm_menu_item_icon_name_set(Elm_Object_Item *it, const char *icon); + [ :elm_menu_item_icon_name_set, [ :elm_object_item, :string ], :void ], + # EAPI const char *elm_menu_item_icon_name_get(const Elm_Object_Item *it); + [ :elm_menu_item_icon_name_get, [ :elm_object_item ], :string ], # EAPI void elm_menu_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); [ :elm_menu_item_selected_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_menu_item_selected_get(const Elm_Object_Item *it); diff --git a/lib/efl/native/elm/elm_mirroring.rb b/lib/efl/native/elm/elm_mirroring.rb index 6e59752..12a1531 100644 --- a/lib/efl/native/elm/elm_mirroring.rb +++ b/lib/efl/native/elm/elm_mirroring.rb @@ -23,10 +23,6 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI Eina_Bool elm_mirrored_get(void); - [ :elm_mirrored_get, [ ], :bool ], - # EAPI void elm_mirrored_set(Eina_Bool mirrored); - [ :elm_mirrored_set, [ :bool ], :void ], # EAPI Eina_Bool elm_object_mirrored_get(const Evas_Object *obj); [ :elm_object_mirrored_get, [ :evas_object ], :bool ], # EAPI void elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored); diff --git a/lib/efl/native/elm/elm_multibuttonentry.rb b/lib/efl/native/elm/elm_multibuttonentry.rb index 39dbe5d..2222b48 100644 --- a/lib/efl/native/elm/elm_multibuttonentry.rb +++ b/lib/efl/native/elm/elm_multibuttonentry.rb @@ -22,8 +22,8 @@ module Efl ffi_lib 'elementary-ver-pre-svn-09.so.0' # # CALLBACKS - # typedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_callback) (Evas_Object *obj, const char *item_label, void *item_data, void *data); - callback :elm_multibuttonentry_item_filter_callback_cb, [ :evas_object, :string, :pointer, :pointer ], :bool + # typedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_Cb) (Evas_Object *obj, const char *item_label, void *item_data, void *data); + callback :elm_multibuttonentry_item_filter_cb, [ :evas_object, :string, :pointer, :pointer ], :bool # # FUNCTIONS fcts = [ @@ -31,22 +31,18 @@ module Efl [ :elm_multibuttonentry_add, [ :evas_object ], :evas_object ], # EAPI Evas_Object *elm_multibuttonentry_entry_get(const Evas_Object *obj); [ :elm_multibuttonentry_entry_get, [ :evas_object ], :evas_object ], - # EAPI const char *elm_multibuttonentry_guide_text_get(const Evas_Object *obj); - [ :elm_multibuttonentry_guide_text_get, [ :evas_object ], :string ], - # EAPI void elm_multibuttonentry_guide_text_set(Evas_Object *obj, const char *guidetext); - [ :elm_multibuttonentry_guide_text_set, [ :evas_object, :string ], :void ], - # EAPI int elm_multibuttonentry_shrink_mode_get(const Evas_Object *obj); - [ :elm_multibuttonentry_shrink_mode_get, [ :evas_object ], :int ], - # EAPI void elm_multibuttonentry_shrink_mode_set(Evas_Object *obj, int shrink); - [ :elm_multibuttonentry_shrink_mode_set, [ :evas_object, :int ], :void ], - # EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void *data); - [ :elm_multibuttonentry_item_prepend, [ :evas_object, :string, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void *data); - [ :elm_multibuttonentry_item_append, [ :evas_object, :string, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *label, void *data); - [ :elm_multibuttonentry_item_insert_before, [ :evas_object, :elm_object_item, :string, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *label, void *data); - [ :elm_multibuttonentry_item_insert_after, [ :evas_object, :elm_object_item, :string, :pointer ], :elm_object_item ], + # EAPI Eina_Bool elm_multibuttonentry_expanded_get(const Evas_Object *obj); + [ :elm_multibuttonentry_expanded_get, [ :evas_object ], :bool ], + # EAPI void elm_multibuttonentry_expanded_set(Evas_Object *obj, Eina_Bool expanded); + [ :elm_multibuttonentry_expanded_set, [ :evas_object, :bool ], :void ], + # EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data); + [ :elm_multibuttonentry_item_prepend, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data); + [ :elm_multibuttonentry_item_append, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *label, Evas_Smart_Cb func, void *data); + [ :elm_multibuttonentry_item_insert_before, [ :evas_object, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *label, Evas_Smart_Cb func, void *data); + [ :elm_multibuttonentry_item_insert_after, [ :evas_object, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI const Eina_List *elm_multibuttonentry_items_get(const Evas_Object *obj); [ :elm_multibuttonentry_items_get, [ :evas_object ], :eina_list ], # EAPI Elm_Object_Item *elm_multibuttonentry_first_item_get(const Evas_Object *obj); @@ -55,22 +51,22 @@ module Efl [ :elm_multibuttonentry_last_item_get, [ :evas_object ], :elm_object_item ], # EAPI Elm_Object_Item *elm_multibuttonentry_selected_item_get(const Evas_Object *obj); [ :elm_multibuttonentry_selected_item_get, [ :evas_object ], :elm_object_item ], - # EAPI void elm_multibuttonentry_item_select(Elm_Object_Item *it, Eina_Bool selected); - [ :elm_multibuttonentry_item_select, [ :elm_object_item, :bool ], :void ], - # EAPI void elm_multibuttonentry_item_unselect_all(Evas_Object *obj); - [ :elm_multibuttonentry_item_unselect_all, [ :evas_object ], :void ], + # EAPI void elm_multibuttonentry_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); + [ :elm_multibuttonentry_item_selected_set, [ :elm_object_item, :bool ], :void ], + # EAPI Eina_Bool elm_multibuttonentry_item_selected_get(const Elm_Object_Item *it); + [ :elm_multibuttonentry_item_selected_get, [ :elm_object_item ], :bool ], # EAPI void elm_multibuttonentry_clear(Evas_Object *obj); [ :elm_multibuttonentry_clear, [ :evas_object ], :void ], # EAPI Elm_Object_Item *elm_multibuttonentry_item_prev_get(const Elm_Object_Item *it); [ :elm_multibuttonentry_item_prev_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_multibuttonentry_item_next_get(const Elm_Object_Item *it); [ :elm_multibuttonentry_item_next_get, [ :elm_object_item ], :elm_object_item ], - # EAPI void elm_multibuttonentry_item_filter_append(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_callback func, void *data); - [ :elm_multibuttonentry_item_filter_append, [ :evas_object, :elm_multibuttonentry_item_filter_callback_cb, :pointer ], :void ], - # EAPI void elm_multibuttonentry_item_filter_prepend(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_callback func, void *data); - [ :elm_multibuttonentry_item_filter_prepend, [ :evas_object, :elm_multibuttonentry_item_filter_callback_cb, :pointer ], :void ], - # EAPI void elm_multibuttonentry_item_filter_remove(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_callback func, void *data); - [ :elm_multibuttonentry_item_filter_remove, [ :evas_object, :elm_multibuttonentry_item_filter_callback_cb, :pointer ], :void ], + # EAPI void elm_multibuttonentry_item_filter_append(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data); + [ :elm_multibuttonentry_item_filter_append, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ], + # EAPI void elm_multibuttonentry_item_filter_prepend(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data); + [ :elm_multibuttonentry_item_filter_prepend, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ], + # EAPI void elm_multibuttonentry_item_filter_del(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data); + [ :elm_multibuttonentry_item_filter_del, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_notify.rb b/lib/efl/native/elm/elm_notify.rb index 656bb28..c0a7abd 100644 --- a/lib/efl/native/elm/elm_notify.rb +++ b/lib/efl/native/elm/elm_notify.rb @@ -43,10 +43,10 @@ module Efl [ :elm_notify_timeout_set, [ :evas_object, :double ], :void ], # EAPI double elm_notify_timeout_get(const Evas_Object *obj); [ :elm_notify_timeout_get, [ :evas_object ], :double ], - # EAPI void elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat); - [ :elm_notify_repeat_events_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_notify_repeat_events_get(const Evas_Object *obj); - [ :elm_notify_repeat_events_get, [ :evas_object ], :bool ], + # EAPI void elm_notify_allow_events_set(Evas_Object *obj, Eina_Bool allow); + [ :elm_notify_allow_events_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_notify_allow_events_get(const Evas_Object *obj); + [ :elm_notify_allow_events_get, [ :evas_object ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_object.rb b/lib/efl/native/elm/elm_object.rb index ffeae49..c64d3e4 100644 --- a/lib/efl/native/elm/elm_object.rb +++ b/lib/efl/native/elm/elm_object.rb @@ -38,8 +38,8 @@ module Efl [ :elm_object_access_info_set, [ :evas_object, :string ], :void ], # EAPI Evas_Object *elm_object_name_find(const Evas_Object *obj, const char *name, int recurse); [ :elm_object_name_find, [ :evas_object, :string, :int ], :evas_object ], - # EAPI void elm_object_style_set(Evas_Object *obj, const char *style); - [ :elm_object_style_set, [ :evas_object, :string ], :void ], + # EAPI Eina_Bool elm_object_style_set(Evas_Object *obj, const char *style); + [ :elm_object_style_set, [ :evas_object, :string ], :bool ], # EAPI const char *elm_object_style_get(const Evas_Object *obj); [ :elm_object_style_get, [ :evas_object ], :string ], # EAPI void elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled); diff --git a/lib/efl/native/elm/elm_photocam.rb b/lib/efl/native/elm/elm_photocam.rb index e553746..8cbe14c 100644 --- a/lib/efl/native/elm/elm_photocam.rb +++ b/lib/efl/native/elm/elm_photocam.rb @@ -60,9 +60,9 @@ module Efl [ :elm_photocam_bounce_set, [ :evas_object, :bool, :bool ], :void ], # EAPI void elm_photocam_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); [ :elm_photocam_bounce_get, [ :evas_object, :pointer, :pointer ], :void ], - # EAPI void elm_photocam_gesture_set(Evas_Object *obj, Eina_Bool gesture); + # EAPI void elm_photocam_gesture_enabled_set(Evas_Object *obj, Eina_Bool gesture); # FIXME - # EAPI Eina_Bool elm_photocam_gesture_get(const Evas_Object *obj); + # EAPI Eina_Bool elm_photocam_gesture_enabled_get(const Evas_Object *obj); # FIXME ] # diff --git a/lib/efl/native/elm/elm_scale.rb b/lib/efl/native/elm/elm_scale.rb index e9cf1ce..8210db7 100644 --- a/lib/efl/native/elm/elm_scale.rb +++ b/lib/efl/native/elm/elm_scale.rb @@ -23,10 +23,6 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI double elm_scale_get(void); - [ :elm_scale_get, [ ], :double ], - # EAPI void elm_scale_set(double scale); - [ :elm_scale_set, [ :double ], :void ], # EAPI void elm_object_scale_set(Evas_Object *obj, double scale); [ :elm_object_scale_set, [ :evas_object, :double ], :void ], # EAPI double elm_object_scale_get(const Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_slideshow.rb b/lib/efl/native/elm/elm_slideshow.rb index fde74d9..6424868 100644 --- a/lib/efl/native/elm/elm_slideshow.rb +++ b/lib/efl/native/elm/elm_slideshow.rb @@ -41,8 +41,8 @@ module Efl [ :elm_slideshow_item_add, [ :evas_object, :elm_slideshow_item_class, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_slideshow_item_sorted_insert(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data, Eina_Compare_Cb func); [ :elm_slideshow_item_sorted_insert, [ :evas_object, :elm_slideshow_item_class, :pointer, :eina_compare_cb ], :elm_object_item ], - # EAPI void elm_slideshow_show(Elm_Object_Item *it); - [ :elm_slideshow_show, [ :elm_object_item ], :void ], + # EAPI void elm_slideshow_item_show(Elm_Object_Item *it); + [ :elm_slideshow_item_show, [ :elm_object_item ], :void ], # EAPI void elm_slideshow_next(Evas_Object *obj); [ :elm_slideshow_next, [ :evas_object ], :void ], # EAPI void elm_slideshow_previous(Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_store.rb b/lib/efl/native/elm/elm_store.rb index 5ea990f..99854e6 100644 --- a/lib/efl/native/elm/elm_store.rb +++ b/lib/efl/native/elm/elm_store.rb @@ -29,12 +29,8 @@ module Efl # TYPEDEFS # typedef struct _Elm_Store Elm_Store; typedef :pointer, :elm_store - # typedef struct _Elm_Store_Filesystem Elm_Store_Filesystem; - typedef :pointer, :elm_store_filesystem # typedef struct _Elm_Store_Item Elm_Store_Item; typedef :pointer, :elm_store_item - # typedef struct _Elm_Store_Item_Filesystem Elm_Store_Item_Filesystem; - typedef :pointer, :elm_store_item_filesystem # typedef struct _Elm_Store_Item_Info Elm_Store_Item_Info; typedef :pointer, :elm_store_item_info # typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem; @@ -51,6 +47,8 @@ module Efl typedef :pointer, :elm_store_item_mapping_custom # # CALLBACKS + # typedef struct _Elm_Store_Item_Mapping Elm_Store_Item_Mapping; /**< A basic way of telling Store how to take your return data (string, or something else from your struct) and convert it into something genlist can use */typedef struct _Elm_Store_Item_Mapping_Empty Elm_Store_Item_Mapping_Empty; /**< An empty piece of mapping information. Useful for String labels as they get used directly */ + # FIXME # typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info); callback :elm_store_item_list_cb, [ :pointer, :elm_store_item_info ], :bool # typedef void (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti); @@ -62,10 +60,10 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI void elm_store_free(Elm_Store *st); - [ :elm_store_free, [ :elm_store ], :void ], # EAPI Elm_Store *elm_store_filesystem_new(void); [ :elm_store_filesystem_new, [ ], :elm_store ], + # EAPI void elm_store_free(Elm_Store *st); + [ :elm_store_free, [ :elm_store ], :void ], # EAPI void elm_store_filesystem_directory_set(Elm_Store *st, const char *dir); [ :elm_store_filesystem_directory_set, [ :elm_store, :string ], :void ], # EAPI const char *elm_store_filesystem_directory_get(const Elm_Store *st); @@ -82,12 +80,12 @@ module Efl [ :elm_store_list_func_set, [ :elm_store, :elm_store_item_list_cb, :pointer ], :void ], # EAPI void elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data); [ :elm_store_fetch_func_set, [ :elm_store, :elm_store_item_fetch_cb, :pointer ], :void ], + # EAPI void elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data); + [ :elm_store_unfetch_func_set, [ :elm_store, :elm_store_item_unfetch_cb, :pointer ], :void ], # EAPI void elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread); [ :elm_store_fetch_thread_set, [ :elm_store, :bool ], :void ], # EAPI Eina_Bool elm_store_fetch_thread_get(const Elm_Store *st); [ :elm_store_fetch_thread_get, [ :elm_store ], :bool ], - # EAPI void elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data); - [ :elm_store_unfetch_func_set, [ :elm_store, :elm_store_item_unfetch_cb, :pointer ], :void ], # EAPI void elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted); [ :elm_store_sorted_set, [ :elm_store, :bool ], :void ], # EAPI Eina_Bool elm_store_sorted_get(const Elm_Store *st); diff --git a/lib/efl/native/elm/elm_theme.rb b/lib/efl/native/elm/elm_theme.rb index 71e67c1..d961d52 100644 --- a/lib/efl/native/elm/elm_theme.rb +++ b/lib/efl/native/elm/elm_theme.rb @@ -43,10 +43,14 @@ module Efl [ :elm_theme_overlay_add, [ :elm_theme, :string ], :void ], # EAPI void elm_theme_overlay_del(Elm_Theme *th, const char *item); [ :elm_theme_overlay_del, [ :elm_theme, :string ], :void ], + # EAPI const Eina_List *elm_theme_overlay_list_get(const Elm_Theme *th); + [ :elm_theme_overlay_list_get, [ :elm_theme ], :eina_list ], # EAPI void elm_theme_extension_add(Elm_Theme *th, const char *item); [ :elm_theme_extension_add, [ :elm_theme, :string ], :void ], # EAPI void elm_theme_extension_del(Elm_Theme *th, const char *item); [ :elm_theme_extension_del, [ :elm_theme, :string ], :void ], + # EAPI const Eina_List *elm_theme_extension_list_get(const Elm_Theme *th); + [ :elm_theme_extension_list_get, [ :elm_theme ], :eina_list ], # EAPI void elm_theme_set(Elm_Theme *th, const char *theme); [ :elm_theme_set, [ :elm_theme, :string ], :void ], # EAPI const char *elm_theme_get(Elm_Theme *th); @@ -59,8 +63,6 @@ module Efl [ :elm_theme_flush, [ :elm_theme ], :void ], # EAPI void elm_theme_full_flush(void); [ :elm_theme_full_flush, [ ], :void ], - # EAPI void elm_theme_all_set(const char *theme); - [ :elm_theme_all_set, [ :string ], :void ], # EAPI Eina_List *elm_theme_name_available_list_new(void); [ :elm_theme_name_available_list_new, [ ], :eina_list ], # EAPI void elm_theme_name_available_list_free(Eina_List *list); diff --git a/lib/efl/native/elm/elm_toolbar.rb b/lib/efl/native/elm/elm_toolbar.rb index e79304b..5aea31f 100644 --- a/lib/efl/native/elm/elm_toolbar.rb +++ b/lib/efl/native/elm/elm_toolbar.rb @@ -25,7 +25,7 @@ module Efl # ENUMS # typedef enum {...} Elm_Toolbar_Shrink_Mode; enum :elm_toolbar_shrink_mode, [ :elm_toolbar_shrink_none, :elm_toolbar_shrink_hide, :elm_toolbar_shrink_scroll, :elm_toolbar_shrink_menu, - :elm_toolbar_shrink_last ] + :elm_toolbar_shrink_expand, :elm_toolbar_shrink_last ] # # TYPEDEFS # typedef struct _Elm_Toolbar_Item_State Elm_Toolbar_Item_State; diff --git a/lib/efl/native/elm/elm_video.rb b/lib/efl/native/elm/elm_video.rb index d82fec3..8edba73 100644 --- a/lib/efl/native/elm/elm_video.rb +++ b/lib/efl/native/elm/elm_video.rb @@ -27,8 +27,8 @@ module Efl [ :elm_player_add, [ :evas_object ], :evas_object ], # EAPI Evas_Object *elm_video_add(Evas_Object *parent); [ :elm_video_add, [ :evas_object ], :evas_object ], - # EAPI void elm_video_file_set(Evas_Object *video, const char *filename); - [ :elm_video_file_set, [ :evas_object, :string ], :void ], + # EAPI Eina_Bool elm_video_file_set(Evas_Object *video, const char *filename); + [ :elm_video_file_set, [ :evas_object, :string ], :bool ], # EAPI Evas_Object *elm_video_emotion_get(const Evas_Object *video); [ :elm_video_emotion_get, [ :evas_object ], :evas_object ], # EAPI void elm_video_play(Evas_Object *video); diff --git a/lib/efl/native/elm/elm_web.rb b/lib/efl/native/elm/elm_web.rb index 1a4a55d..2a3d30a 100644 --- a/lib/efl/native/elm/elm_web.rb +++ b/lib/efl/native/elm/elm_web.rb @@ -126,10 +126,10 @@ module Efl [ :elm_web_forward_possible, [ :evas_object ], :bool ], # EAPI Eina_Bool elm_web_navigate_possible(Evas_Object *obj, int steps); [ :elm_web_navigate_possible, [ :evas_object, :int ], :bool ], - # EAPI Eina_Bool elm_web_history_enable_get(const Evas_Object *obj); - [ :elm_web_history_enable_get, [ :evas_object ], :bool ], - # EAPI void elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable); - [ :elm_web_history_enable_set, [ :evas_object, :bool ], :void ], + # EAPI Eina_Bool elm_web_history_enabled_get(const Evas_Object *obj); + [ :elm_web_history_enabled_get, [ :evas_object ], :bool ], + # EAPI void elm_web_history_enabled_set(Evas_Object *obj, Eina_Bool enabled); + [ :elm_web_history_enabled_set, [ :evas_object, :bool ], :void ], # EAPI void elm_web_zoom_set(Evas_Object *obj, double zoom); [ :elm_web_zoom_set, [ :evas_object, :double ], :void ], # EAPI double elm_web_zoom_get(const Evas_Object *obj); diff --git a/lib/efl/native/elm/elm_win.rb b/lib/efl/native/elm/elm_win.rb index f903ce0..1568f8b 100644 --- a/lib/efl/native/elm/elm_win.rb +++ b/lib/efl/native/elm/elm_win.rb @@ -87,10 +87,6 @@ module Efl [ :elm_win_alpha_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj); [ :elm_win_alpha_get, [ :evas_object ], :bool ], - # EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent); - [ :elm_win_transparent_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj); - [ :elm_win_transparent_get, [ :evas_object ], :bool ], # EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override); [ :elm_win_override_set, [ :evas_object, :bool ], :void ], # EAPI Eina_Bool elm_win_override_get(const Evas_Object *obj); -- cgit v1.1-2-g2b99