diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-08-18 10:44:36 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-08-18 10:44:36 +0200 |
commit | 2582ab8b3121e14faf3a53e89be6a2a575c0042f (patch) | |
tree | 31e6d55a97262d95a72ce7cbf5e9269497e9b78f | |
parent | 262ffbd70342382945ad2a0698bc13f4620df4e3 (diff) | |
download | ffi-efl-2582ab8b3121e14faf3a53e89be6a2a575c0042f.zip ffi-efl-2582ab8b3121e14faf3a53e89be6a2a575c0042f.tar.gz |
Update ecore and ecore_evas native API
-rw-r--r-- | lib/efl/native/ecore.rb | 6 | ||||
-rw-r--r-- | lib/efl/native/ecore_evas.rb | 136 |
2 files changed, 72 insertions, 70 deletions
diff --git a/lib/efl/native/ecore.rb b/lib/efl/native/ecore.rb index 1bfd2c3..608a706 100644 --- a/lib/efl/native/ecore.rb +++ b/lib/efl/native/ecore.rb @@ -182,8 +182,10 @@ module Efl [ :ecore_main_loop_begin, [ ], :void ], # EAPI void ecore_main_loop_quit(void); [ :ecore_main_loop_quit, [ ], :void ], - # EAPI void ecore_main_loop_thread_safe_call(Ecore_Cb callback, void *data); - [ :ecore_main_loop_thread_safe_call, [ :ecore_cb, :void_p ], :void ], + # EAPI void ecore_main_loop_thread_safe_call_async(Ecore_Cb callback, void *data); + [ :ecore_main_loop_thread_safe_call_async, [ :ecore_cb, :void_p ], :void ], + # EAPI void *ecore_main_loop_thread_safe_call_sync(Ecore_Cb callback, void *data); + [ :ecore_main_loop_thread_safe_call_sync, [ :ecore_cb, :void_p ], :void_p ], # EAPI Ecore_Event_Handler *ecore_event_handler_add(int type, Ecore_Event_Handler_Cb func, const void *data); [ :ecore_event_handler_add, [ :int, :ecore_event_handler_cb, :void_p ], :ecore_event_handler_p ], # EAPI void *ecore_event_handler_del(Ecore_Event_Handler *event_handler); diff --git a/lib/efl/native/ecore_evas.rb b/lib/efl/native/ecore_evas.rb index afe5320..3015ba6 100644 --- a/lib/efl/native/ecore_evas.rb +++ b/lib/efl/native/ecore_evas.rb @@ -76,6 +76,72 @@ module Efl [ :ecore_evas_engines_free, [ :eina_list_p ], :void ], # EAPI Ecore_Evas *ecore_evas_new(const char *engine_name, int x, int y, int w, int h, const char *extra_options); [ :ecore_evas_new, [ :string, :int, :int, :int, :int, :string ], :ecore_evas_p ], + # EAPI void ecore_evas_alpha_set(Ecore_Evas *ee, Eina_Bool alpha); + [ :ecore_evas_alpha_set, [ :ecore_evas_p, :eina_bool ], :void ], + # EAPI Eina_Bool ecore_evas_alpha_get(const Ecore_Evas *ee); + [ :ecore_evas_alpha_get, [ :ecore_evas_p ], :eina_bool ], + # EAPI void ecore_evas_transparent_set(Ecore_Evas *ee, Eina_Bool transparent); + [ :ecore_evas_transparent_set, [ :ecore_evas_p, :eina_bool ], :void ], + # EAPI Eina_Bool ecore_evas_transparent_get(const Ecore_Evas *ee); + [ :ecore_evas_transparent_get, [ :ecore_evas_p ], :eina_bool ], + # EAPI void ecore_evas_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int *h); + [ :ecore_evas_geometry_get, [ :ecore_evas_p, :int_p, :int_p, :int_p, :int_p ], :void ], + # EAPI void ecore_evas_focus_set(Ecore_Evas *ee, Eina_Bool on); + [ :ecore_evas_focus_set, [ :ecore_evas_p, :eina_bool ], :void ], + # EAPI Eina_Bool ecore_evas_focus_get(const Ecore_Evas *ee); + [ :ecore_evas_focus_get, [ :ecore_evas_p ], :eina_bool ], + # EAPI void ecore_evas_iconified_set(Ecore_Evas *ee, Eina_Bool on); + [ :ecore_evas_iconified_set, [ :ecore_evas_p, :eina_bool ], :void ], + # EAPI Eina_Bool ecore_evas_iconified_get(const Ecore_Evas *ee); + [ :ecore_evas_iconified_get, [ :ecore_evas_p ], :eina_bool ], + # EAPI void ecore_evas_borderless_set(Ecore_Evas *ee, Eina_Bool on); + [ :ecore_evas_borderless_set, [ :ecore_evas_p, :eina_bool ], :void ], + # EAPI Eina_Bool ecore_evas_borderless_get(const Ecore_Evas *ee); + [ :ecore_evas_borderless_get, [ :ecore_evas_p ], :eina_bool ], + # EAPI void ecore_evas_fullscreen_set(Ecore_Evas *ee, Eina_Bool on); + [ :ecore_evas_fullscreen_set, [ :ecore_evas_p, :eina_bool ], :void ], + # EAPI Eina_Bool ecore_evas_fullscreen_get(const Ecore_Evas *ee); + [ :ecore_evas_fullscreen_get, [ :ecore_evas_p ], :eina_bool ], + # EAPI void ecore_evas_ignore_events_set(Ecore_Evas *ee, Eina_Bool ignore); + [ :ecore_evas_ignore_events_set, [ :ecore_evas_p, :eina_bool ], :void ], + # EAPI Eina_Bool ecore_evas_ignore_events_get(const Ecore_Evas *ee); + [ :ecore_evas_ignore_events_get, [ :ecore_evas_p ], :eina_bool ], + # EAPI int ecore_evas_visibility_get(const Ecore_Evas *ee); + [ :ecore_evas_visibility_get, [ :ecore_evas_p ], :int ], + # EAPI void ecore_evas_layer_set(Ecore_Evas *ee, int layer); + [ :ecore_evas_layer_set, [ :ecore_evas_p, :int ], :void ], + # EAPI int ecore_evas_layer_get(const Ecore_Evas *ee); + [ :ecore_evas_layer_get, [ :ecore_evas_p ], :int ], + # EAPI void ecore_evas_maximized_set(Ecore_Evas *ee, Eina_Bool on); + [ :ecore_evas_maximized_set, [ :ecore_evas_p, :eina_bool ], :void ], + # EAPI Eina_Bool ecore_evas_maximized_get(const Ecore_Evas *ee); + [ :ecore_evas_maximized_get, [ :ecore_evas_p ], :eina_bool ], + # EAPI void ecore_evas_move(Ecore_Evas *ee, int x, int y); + [ :ecore_evas_move, [ :ecore_evas_p, :int, :int ], :void ], + # EAPI void ecore_evas_resize(Ecore_Evas *ee, int w, int h); + [ :ecore_evas_resize, [ :ecore_evas_p, :int, :int ], :void ], + # EAPI void ecore_evas_move_resize(Ecore_Evas *ee, int x, int y, int w, int h); + [ :ecore_evas_move_resize, [ :ecore_evas_p, :int, :int, :int, :int ], :void ], + # EAPI void ecore_evas_rotation_set(Ecore_Evas *ee, int rot); + [ :ecore_evas_rotation_set, [ :ecore_evas_p, :int ], :void ], + # EAPI void ecore_evas_rotation_with_resize_set(Ecore_Evas *ee, int rot); + [ :ecore_evas_rotation_with_resize_set, [ :ecore_evas_p, :int ], :void ], + # EAPI int ecore_evas_rotation_get(const Ecore_Evas *ee); + [ :ecore_evas_rotation_get, [ :ecore_evas_p ], :int ], + # EAPI void ecore_evas_raise(Ecore_Evas *ee); + [ :ecore_evas_raise, [ :ecore_evas_p ], :void ], + # EAPI void ecore_evas_lower(Ecore_Evas *ee); + [ :ecore_evas_lower, [ :ecore_evas_p ], :void ], + # EAPI void ecore_evas_title_set(Ecore_Evas *ee, const char *t); + [ :ecore_evas_title_set, [ :ecore_evas_p, :string ], :void ], + # EAPI const char *ecore_evas_title_get(const Ecore_Evas *ee); + [ :ecore_evas_title_get, [ :ecore_evas_p ], :string ], + # EAPI void ecore_evas_name_class_set(Ecore_Evas *ee, const char *n, const char *c); + [ :ecore_evas_name_class_set, [ :ecore_evas_p, :string, :string ], :void ], + # EAPI void ecore_evas_name_class_get(const Ecore_Evas *ee, const char **n, const char **c); + [ :ecore_evas_name_class_get, [ :ecore_evas_p, :string_array, :string_array ], :void ], + # EAPI Ecore_Window ecore_evas_window_get(const Ecore_Evas *ee); + [ :ecore_evas_window_get, [ :ecore_evas_p ], :uintptr_t ], # EAPI Ecore_Evas *ecore_evas_software_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h); [ :ecore_evas_software_x11_new, [ :string, :uint, :int, :int, :int, :int ], :ecore_evas_p ], # EAPI Ecore_X_Window ecore_evas_software_x11_window_get(const Ecore_Evas *ee); @@ -222,54 +288,18 @@ module Efl [ :ecore_evas_callback_pre_free_set, [:ecore_evas_p, :ecore_evas_event_cb], :void], # EAPI Evas *ecore_evas_get(const Ecore_Evas *ee); [ :ecore_evas_get, [ :ecore_evas_p ], :evas_p ], - # EAPI void ecore_evas_move(Ecore_Evas *ee, int x, int y); - [ :ecore_evas_move, [ :ecore_evas_p, :int, :int ], :void ], # EAPI void ecore_evas_managed_move(Ecore_Evas *ee, int x, int y); [ :ecore_evas_managed_move, [ :ecore_evas_p, :int, :int ], :void ], - # EAPI void ecore_evas_resize(Ecore_Evas *ee, int w, int h); - [ :ecore_evas_resize, [ :ecore_evas_p, :int, :int ], :void ], - # EAPI void ecore_evas_move_resize(Ecore_Evas *ee, int x, int y, int w, int h); - [ :ecore_evas_move_resize, [ :ecore_evas_p, :int, :int, :int, :int ], :void ], - # EAPI void ecore_evas_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int *h); - [ :ecore_evas_geometry_get, [ :ecore_evas_p, :int_p, :int_p, :int_p, :int_p ], :void ], - # EAPI void ecore_evas_rotation_set(Ecore_Evas *ee, int rot); - [ :ecore_evas_rotation_set, [ :ecore_evas_p, :int ], :void ], - # EAPI void ecore_evas_rotation_with_resize_set(Ecore_Evas *ee, int rot); - [ :ecore_evas_rotation_with_resize_set, [ :ecore_evas_p, :int ], :void ], - # EAPI int ecore_evas_rotation_get(const Ecore_Evas *ee); - [ :ecore_evas_rotation_get, [ :ecore_evas_p ], :int ], # EAPI void ecore_evas_shaped_set(Ecore_Evas *ee, Eina_Bool shaped); [ :ecore_evas_shaped_set, [ :ecore_evas_p, :eina_bool ], :void ], # EAPI Eina_Bool ecore_evas_shaped_get(const Ecore_Evas *ee); [ :ecore_evas_shaped_get, [ :ecore_evas_p ], :eina_bool ], - # EAPI void ecore_evas_alpha_set(Ecore_Evas *ee, Eina_Bool alpha); - [ :ecore_evas_alpha_set, [ :ecore_evas_p, :eina_bool ], :void ], - # EAPI Eina_Bool ecore_evas_alpha_get(const Ecore_Evas *ee); - [ :ecore_evas_alpha_get, [ :ecore_evas_p ], :eina_bool ], - # EAPI void ecore_evas_transparent_set(Ecore_Evas *ee, Eina_Bool transparent); - [ :ecore_evas_transparent_set, [ :ecore_evas_p, :eina_bool ], :void ], - # EAPI Eina_Bool ecore_evas_transparent_get(const Ecore_Evas *ee); - [ :ecore_evas_transparent_get, [ :ecore_evas_p ], :eina_bool ], # EAPI void ecore_evas_show(Ecore_Evas *ee); [ :ecore_evas_show, [ :ecore_evas_p ], :void ], # EAPI void ecore_evas_hide(Ecore_Evas *ee); [ :ecore_evas_hide, [ :ecore_evas_p ], :void ], - # EAPI int ecore_evas_visibility_get(const Ecore_Evas *ee); - [ :ecore_evas_visibility_get, [ :ecore_evas_p ], :int ], - # EAPI void ecore_evas_raise(Ecore_Evas *ee); - [ :ecore_evas_raise, [ :ecore_evas_p ], :void ], - # EAPI void ecore_evas_lower(Ecore_Evas *ee); - [ :ecore_evas_lower, [ :ecore_evas_p ], :void ], # EAPI void ecore_evas_activate(Ecore_Evas *ee); [ :ecore_evas_activate, [ :ecore_evas_p ], :void ], - # EAPI void ecore_evas_title_set(Ecore_Evas *ee, const char *t); - [ :ecore_evas_title_set, [ :ecore_evas_p, :string ], :void ], - # EAPI const char *ecore_evas_title_get(const Ecore_Evas *ee); - [ :ecore_evas_title_get, [ :ecore_evas_p ], :string ], - # EAPI void ecore_evas_name_class_set(Ecore_Evas *ee, const char *n, const char *c); - [ :ecore_evas_name_class_set, [ :ecore_evas_p, :string, :string ], :void ], - # EAPI void ecore_evas_name_class_get(const Ecore_Evas *ee, const char **n, const char **c); - [ :ecore_evas_name_class_get, [ :ecore_evas_p, :string_array, :string_array ], :void ], # EAPI void ecore_evas_size_min_set(Ecore_Evas *ee, int w, int h); [ :ecore_evas_size_min_set, [ :ecore_evas_p, :int, :int ], :void ], # EAPI void ecore_evas_size_min_get(const Ecore_Evas *ee, int *w, int *h); @@ -288,38 +318,14 @@ module Efl [ :ecore_evas_size_step_get, [ :ecore_evas_p, :int_p, :int_p ], :void ], # EAPI void ecore_evas_cursor_set(Ecore_Evas *ee, const char *file, int layer, int hot_x, int hot_y); [ :ecore_evas_cursor_set, [ :ecore_evas_p, :string, :int, :int, :int ], :void ], - # EAPI void ecore_evas_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y); - [ :ecore_evas_object_cursor_set, [ :ecore_evas_p, :evas_object_p, :int, :int, :int ], :void ], # EAPI void ecore_evas_cursor_get(const Ecore_Evas *ee, Evas_Object **obj, int *layer, int *hot_x, int *hot_y); [ :ecore_evas_cursor_get, [ :ecore_evas_p, :evas_object_pp, :int_p, :int_p, :int_p ], :void ], - # EAPI void ecore_evas_layer_set(Ecore_Evas *ee, int layer); - [ :ecore_evas_layer_set, [ :ecore_evas_p, :int ], :void ], - # EAPI int ecore_evas_layer_get(const Ecore_Evas *ee); - [ :ecore_evas_layer_get, [ :ecore_evas_p ], :int ], - # EAPI void ecore_evas_focus_set(Ecore_Evas *ee, Eina_Bool on); - [ :ecore_evas_focus_set, [ :ecore_evas_p, :eina_bool ], :void ], - # EAPI Eina_Bool ecore_evas_focus_get(const Ecore_Evas *ee); - [ :ecore_evas_focus_get, [ :ecore_evas_p ], :eina_bool ], - # EAPI void ecore_evas_iconified_set(Ecore_Evas *ee, Eina_Bool on); - [ :ecore_evas_iconified_set, [ :ecore_evas_p, :eina_bool ], :void ], - # EAPI Eina_Bool ecore_evas_iconified_get(const Ecore_Evas *ee); - [ :ecore_evas_iconified_get, [ :ecore_evas_p ], :eina_bool ], - # EAPI void ecore_evas_borderless_set(Ecore_Evas *ee, Eina_Bool on); - [ :ecore_evas_borderless_set, [ :ecore_evas_p, :eina_bool ], :void ], - # EAPI Eina_Bool ecore_evas_borderless_get(const Ecore_Evas *ee); - [ :ecore_evas_borderless_get, [ :ecore_evas_p ], :eina_bool ], + # EAPI void ecore_evas_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y); + [ :ecore_evas_object_cursor_set, [ :ecore_evas_p, :evas_object_p, :int, :int, :int ], :void ], # EAPI void ecore_evas_override_set(Ecore_Evas *ee, Eina_Bool on); [ :ecore_evas_override_set, [ :ecore_evas_p, :eina_bool ], :void ], # EAPI Eina_Bool ecore_evas_override_get(const Ecore_Evas *ee); [ :ecore_evas_override_get, [ :ecore_evas_p ], :eina_bool ], - # EAPI void ecore_evas_maximized_set(Ecore_Evas *ee, Eina_Bool on); - [ :ecore_evas_maximized_set, [ :ecore_evas_p, :eina_bool ], :void ], - # EAPI Eina_Bool ecore_evas_maximized_get(const Ecore_Evas *ee); - [ :ecore_evas_maximized_get, [ :ecore_evas_p ], :eina_bool ], - # EAPI void ecore_evas_fullscreen_set(Ecore_Evas *ee, Eina_Bool on); - [ :ecore_evas_fullscreen_set, [ :ecore_evas_p, :eina_bool ], :void ], - # EAPI Eina_Bool ecore_evas_fullscreen_get(const Ecore_Evas *ee); - [ :ecore_evas_fullscreen_get, [ :ecore_evas_p ], :eina_bool ], # EAPI void ecore_evas_avoid_damage_set(Ecore_Evas *ee, Ecore_Evas_Avoid_Damage_Type on); [ :ecore_evas_avoid_damage_set, [ :ecore_evas_p, :ecore_evas_avoid_damage_type ], :void ], # EAPI Ecore_Evas_Avoid_Damage_Type ecore_evas_avoid_damage_get(const Ecore_Evas *ee); @@ -332,10 +338,6 @@ module Efl [ :ecore_evas_sticky_set, [ :ecore_evas_p, :eina_bool ], :void ], # EAPI Eina_Bool ecore_evas_sticky_get(const Ecore_Evas *ee); [ :ecore_evas_sticky_get, [ :ecore_evas_p ], :eina_bool ], - # EAPI void ecore_evas_ignore_events_set(Ecore_Evas *ee, Eina_Bool ignore); - [ :ecore_evas_ignore_events_set, [ :ecore_evas_p, :eina_bool ], :void ], - # EAPI Eina_Bool ecore_evas_ignore_events_get(const Ecore_Evas *ee); - [ :ecore_evas_ignore_events_get, [ :ecore_evas_p ], :eina_bool ], # EAPI void ecore_evas_manual_render_set(Ecore_Evas *ee, Eina_Bool manual_render); [ :ecore_evas_manual_render_set, [ :ecore_evas_p, :eina_bool ], :void ], # EAPI Eina_Bool ecore_evas_manual_render_get(const Ecore_Evas *ee); @@ -346,8 +348,6 @@ module Efl [ :ecore_evas_comp_sync_set, [ :ecore_evas_p, :eina_bool ], :void ], # EAPI Eina_Bool ecore_evas_comp_sync_get(const Ecore_Evas *ee); [ :ecore_evas_comp_sync_get, [ :ecore_evas_p ], :eina_bool ], - # EAPI Ecore_Window ecore_evas_window_get(const Ecore_Evas *ee); - [ :ecore_evas_window_get, [ :ecore_evas_p ], :uintptr_t ], # EAPI void ecore_evas_screen_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int *h); [ :ecore_evas_screen_geometry_get, [ :ecore_evas_p, :int_p, :int_p, :int_p, :int_p ], :void ], # EAPI Eina_Bool ecore_evas_object_associate(Ecore_Evas *ee, Evas_Object *obj, Ecore_Evas_Object_Associate_Flags flags); |