summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/elementary.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/native/elementary.rb')
-rw-r--r--lib/efl/native/elementary.rb65
1 files changed, 64 insertions, 1 deletions
diff --git a/lib/efl/native/elementary.rb b/lib/efl/native/elementary.rb
index 62d5d93..7d01e20 100644
--- a/lib/efl/native/elementary.rb
+++ b/lib/efl/native/elementary.rb
@@ -55,6 +55,12 @@ module Efl
# typedef enum _Elm_Image_Orient {...} Elm_Image_Orient;
enum :elm_image_orient, [ :elm_image_orient_none, :elm_image_rotate_90_cw, :elm_image_rotate_180_cw, :elm_image_rotate_90_ccw, :elm_image_flip_horizontal,
:elm_image_flip_vertical, :elm_image_flip_transpose, :elm_image_flip_transverse ]
+ # typedef enum _Elm_GLView_Mode {...} Elm_GLView_Mode;
+ enum :elm_glview_mode, [ :elm_glview_alpha, 1, :elm_glview_depth, 2, :elm_glview_stencil, 4 ]
+ # typedef enum _Elm_GLView_Resize_Policy {...} Elm_GLView_Resize_Policy;
+ enum :elm_glview_resize_policy, [ :elm_glview_resize_policy_recreate, 1, :elm_glview_resize_policy_scale, 2 ]
+ # typedef enum _Elm_GLView_Render_Policy {...} Elm_GLView_Render_Policy;
+ enum :elm_glview_render_policy, [ :elm_glview_render_policy_on_demand, 1, :elm_glview_render_policy_always, 2 ]
# typedef enum _Elm_Scroller_Policy {...} Elm_Scroller_Policy;
enum :elm_scroller_policy, [ :elm_scroller_policy_auto, 0, :elm_scroller_policy_on, :elm_scroller_policy_off, :elm_scroller_policy_last ]
typedef :pointer, :elm_scroller_policy_p
@@ -101,7 +107,11 @@ module Efl
enum :elm_panel_orient, [ :elm_panel_orient_top, :elm_panel_orient_bottom, :elm_panel_orient_left, :elm_panel_orient_right ]
# typedef enum _Elm_Flip_Mode {...} Elm_Flip_Mode;
enum :elm_flip_mode, [ :elm_flip_rotate_y_center_axis, :elm_flip_rotate_x_center_axis, :elm_flip_rotate_xz_center_axis, :elm_flip_rotate_yz_center_axis,
- :elm_flip_cube_left, :elm_flip_cube_right, :elm_flip_cube_up, :elm_flip_cube_down ]
+ :elm_flip_cube_left, :elm_flip_cube_right, :elm_flip_cube_up, :elm_flip_cube_down, :elm_flip_page_left, :elm_flip_page_right, :elm_flip_page_up, :elm_flip_page_down ]
+ # typedef enum _Elm_Flip_Interaction {...} Elm_Flip_Interaction;
+ enum :elm_flip_interaction, [ :elm_flip_interaction_none, :elm_flip_interaction_rotate, :elm_flip_interaction_cube, :elm_flip_interaction_page ]
+ # typedef enum _Elm_Flip_Direction {...} Elm_Flip_Direction;
+ enum :elm_flip_direction, [ :elm_flip_direction_up, :elm_flip_direction_down, :elm_flip_direction_left, :elm_flip_direction_right ]
# typedef enum {...} Elm_Animator_Curve_Style;
enum :elm_animator_curve_style, [ :elm_animator_curve_linear, :elm_animator_curve_in_out, :elm_animator_curve_in, :elm_animator_curve_out ]
# typedef enum {...} Elm_Calendar_Mark_Repeat;
@@ -268,6 +278,8 @@ module Efl
callback :elm_tooltip_item_content_cb, [ :void_p, :evas_object_p, :void_p ], :evas_object_p
# typedef Eina_Bool (*Elm_Event_Cb) (void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info);
callback :elm_event_cb, [ :void_p, :evas_object_p, :evas_object_p, :evas_callback_type, :void_p ], :eina_bool
+ # typedef void (*Elm_GLView_Func) (Evas_Object *obj);
+ callback :elm_glview_func, [ :evas_object_p ], :void
# typedef char *(*GridItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part);
callback :griditemlabelgetfunc, [ :void_p, :evas_object_p, :string ], :string
# typedef Evas_Object *(*GridItemIconGetFunc) (void *data, Evas_Object *obj, const char *part);
@@ -284,6 +296,8 @@ module Efl
callback :genlistitemstategetfunc, [ :void_p, :evas_object_p, :string ], :eina_bool
# typedef void (*GenlistItemDelFunc) (void *data, Evas_Object *obj);
callback :genlistitemdelfunc, [ :void_p, :evas_object_p ], :void
+ # typedef void (*GenlistItemMovedFunc) (Evas_Object *obj, Elm_Genlist_Item *item, Elm_Genlist_Item *rel_item, Eina_Bool move_after);
+ callback :genlistitemmovedfunc, [ :evas_object_p, :elm_genlist_item_p, :elm_genlist_item_p, :eina_bool ], :void
# typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj);
callback :slideshowitemgetfunc, [ :void_p, :evas_object_p ], :evas_object_p
# typedef void (*SlideshowItemDelFunc) (void *data, Evas_Object *obj);
@@ -853,6 +867,8 @@ module Efl
[ :elm_icon_add, [ :evas_object_p ], :evas_object_p ],
# EAPI Eina_Bool elm_icon_file_set(Evas_Object *obj, const char *file, const char *group);
[ :elm_icon_file_set, [ :evas_object_p, :string, :string ], :eina_bool ],
+ # EAPI void elm_icon_thumb_set(const Evas_Object *obj, const char *file, const char *group);
+ [ :elm_icon_thumb_set, [ :evas_object_p, :string, :string ], :void ],
# EAPI void elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group);
[ :elm_icon_file_get, [ :evas_object_p, :string_array, :string_array ], :void ],
# EAPI Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *name);
@@ -921,6 +937,24 @@ module Efl
[ :elm_image_editable_get, [ :evas_object_p ], :eina_bool ],
# EAPI Evas_Object *elm_image_object_get(const Evas_Object *obj);
[ :elm_image_object_get, [ :evas_object_p ], :evas_object_p ],
+ # EAPI Evas_Object *elm_glview_add(Evas_Object *parent);
+ [ :elm_glview_add, [ :evas_object_p ], :evas_object_p ],
+ # EAPI void elm_glview_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height);
+ [ :elm_glview_size_set, [ :evas_object_p, :int, :int ], :void ],
+ # EAPI void elm_glview_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height);
+ [ :elm_glview_size_get, [ :evas_object_p, :int_p, :int_p ], :void ],
+ # EAPI Evas_GL_API *elm_glview_gl_api_get(const Evas_Object *obj);
+ [ :elm_glview_gl_api_get, [ :evas_object_p ], :evas_gl_api_p ],
+ # EAPI Eina_Bool elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode);
+ [ :elm_glview_mode_set, [ :evas_object_p, :elm_glview_mode ], :eina_bool ],
+ # EAPI Eina_Bool elm_glview_scale_policy_set(Evas_Object *obj, Elm_GLView_Resize_Policy policy);
+ [ :elm_glview_scale_policy_set, [ :evas_object_p, :elm_glview_resize_policy ], :eina_bool ],
+ # EAPI Eina_Bool elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Render_Policy policy);
+ [ :elm_glview_render_policy_set, [ :evas_object_p, :elm_glview_render_policy ], :eina_bool ],
+ # EAPI void elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func func);
+ [ :elm_glview_render_func_set, [ :evas_object_p, :elm_glview_func ], :void ],
+ # EAPI void elm_glview_changed_set(Evas_Object *obj);
+ [ :elm_glview_changed_set, [ :evas_object_p ], :void ],
# EAPI Evas_Object *elm_box_add(Evas_Object *parent);
[ :elm_box_add, [ :evas_object_p ], :evas_object_p ],
# EAPI void elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
@@ -1199,6 +1233,10 @@ module Efl
[ :elm_gengrid_align_set, [ :evas_object_p, :double, :double ], :void ],
# EAPI void elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y);
[ :elm_gengrid_align_get, [ :evas_object_p, :double_p, :double_p ], :void ],
+ # EAPI void elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode);
+ [ :elm_gengrid_reorder_mode_set, [ :evas_object_p, :eina_bool ], :void ],
+ # EAPI Eina_Bool elm_gengrid_reorder_mode_get(const Evas_Object *obj);
+ [ :elm_gengrid_reorder_mode_get, [ :evas_object_p ], :eina_bool ],
# EAPI void elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
[ :elm_gengrid_always_select_mode_set, [ :evas_object_p, :eina_bool ], :void ],
# EAPI Eina_Bool elm_gengrid_always_select_mode_get(const Evas_Object *obj);
@@ -2141,6 +2179,9 @@ module Efl
# EAPI Elm_Genlist_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item *after, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
[ :elm_genlist_item_insert_after, [ :evas_object_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_p, :elm_genlist_item_flags,
:evas_smart_cb, :void_p ], :elm_genlist_item_p ],
+ # EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_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_p, :elm_genlist_item_class_p, :void_p, :elm_genlist_item_p, :elm_genlist_item_flags, :eina_compare_cb,
+ :evas_smart_cb, :void_p ], :elm_genlist_item_p ],
# EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj);
[ :elm_genlist_selected_item_get, [ :evas_object_p ], :elm_genlist_item_p ],
# EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj);
@@ -2243,6 +2284,10 @@ module Efl
[ :elm_genlist_mode_get, [ :evas_object_p ], :string ],
# EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj);
[ :elm_genlist_mode_item_get, [ :evas_object_p ], :elm_genlist_item_p ],
+ # EAPI void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode);
+ [ :elm_genlist_reorder_mode_set, [ :evas_object_p, :eina_bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_reorder_mode_get(const Evas_Object *obj);
+ [ :elm_genlist_reorder_mode_get, [ :evas_object_p ], :eina_bool ],
# EAPI Evas_Object *elm_check_add(Evas_Object *parent);
[ :elm_check_add, [ :evas_object_p ], :evas_object_p ],
# EAPI void elm_check_label_set(Evas_Object *obj, const char *label);;
@@ -2455,6 +2500,8 @@ module Efl
[ :elm_index_add, [ :evas_object_p ], :evas_object_p ],
# EAPI void elm_index_active_set(Evas_Object *obj, Eina_Bool active);
[ :elm_index_active_set, [ :evas_object_p, :eina_bool ], :void ],
+ # EAPI Eina_Bool elm_index_active_get(const Evas_Object *obj);
+ [ :elm_index_active_get, [ :evas_object_p ], :eina_bool ],
# EAPI void elm_index_item_level_set(Evas_Object *obj, int level);
[ :elm_index_item_level_set, [ :evas_object_p, :int ], :void ],
# EAPI int elm_index_item_level_get(const Evas_Object *obj);
@@ -2609,8 +2656,12 @@ module Efl
[ :elm_map_route_source_set, [ :evas_object_p, :elm_map_route_sources ], :void ],
# EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj);
[ :elm_map_route_source_get, [ :evas_object_p ], :elm_map_route_sources ],
+ # EAPI void elm_map_source_zoom_min_set(Evas_Object *obj, int zoom);
+ [ :elm_map_source_zoom_min_set, [ :evas_object_p, :int ], :void ],
# EAPI int elm_map_source_zoom_min_get(const Evas_Object *obj);
[ :elm_map_source_zoom_min_get, [ :evas_object_p ], :int ],
+ # EAPI void elm_map_source_zoom_max_set(Evas_Object *obj, int zoom);
+ [ :elm_map_source_zoom_max_set, [ :evas_object_p, :int ], :void ],
# EAPI int elm_map_source_zoom_max_get(const Evas_Object *obj);
[ :elm_map_source_zoom_max_get, [ :evas_object_p ], :int ],
# EAPI void elm_map_user_agent_set(Evas_Object *obj, const char *user_agent);
@@ -2713,6 +2764,18 @@ module Efl
[ :elm_flip_perspective_set, [ :evas_object_p, :int, :int, :int ], :void ],
# EAPI void elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode);
[ :elm_flip_go, [ :evas_object_p, :elm_flip_mode ], :void ],
+ # EAPI void elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
+ [ :elm_flip_interaction_set, [ :evas_object_p, :elm_flip_interaction ], :void ],
+ # EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
+ [ :elm_flip_interaction_get, [ :evas_object_p ], :elm_flip_interaction ],
+ # EAPI void elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
+ [ :elm_flip_interacton_direction_enabled_set, [ :evas_object_p, :elm_flip_direction, :eina_bool ], :void ],
+ # EAPI Eina_Bool elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
+ [ :elm_flip_interacton_direction_enabled_get, [ :evas_object_p, :elm_flip_direction ], :eina_bool ],
+ # EAPI void elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
+ [ :elm_flip_interacton_direction_hitsize_set, [ :evas_object_p, :elm_flip_direction, :double ], :void ],
+ # EAPI double elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
+ [ :elm_flip_interacton_direction_hitsize_get, [ :evas_object_p, :elm_flip_direction ], :double ],
# EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
[ :elm_scrolled_entry_add, [ :evas_object_p ], :evas_object_p ],
# EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);