summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-08-30 15:39:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-08-30 15:39:35 +0200
commit76701d9c93da46c7b0cf4158e5e6627731186713 (patch)
tree080be5c35b70508f51feea85a64971a6c4658191
parent2d866f09ddd685ceec3c1d27fc018cf4d1eaa678 (diff)
downloadffi-efl-76701d9c93da46c7b0cf4158e5e6627731186713.zip
ffi-efl-76701d9c93da46c7b0cf4158e5e6627731186713.tar.gz
update elm API
-rw-r--r--lib/efl/native/elm/elm_cnp.rb4
-rw-r--r--lib/efl/native/elm/elm_object.rb2
-rw-r--r--lib/efl/native/elm/elm_web.rb4
-rw-r--r--lib/efl/native/elm/elm_win.rb8
4 files changed, 13 insertions, 5 deletions
diff --git a/lib/efl/native/elm/elm_cnp.rb b/lib/efl/native/elm/elm_cnp.rb
index e76bd17..acb0b20 100644
--- a/lib/efl/native/elm/elm_cnp.rb
+++ b/lib/efl/native/elm/elm_cnp.rb
@@ -46,8 +46,8 @@ module Efl
[ :elm_cnp_selection_get, [ :evas_object, :elm_sel_type, :elm_sel_format, :elm_drop_cb, :pointer ], :bool ],
# EAPI Eina_Bool elm_object_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection);
[ :elm_object_cnp_selection_clear, [ :evas_object, :elm_sel_type ], :bool ],
- # EAPI void elm_cnp_selection_loss_callback_set(Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data);
- [ :elm_cnp_selection_loss_callback_set, [ :elm_sel_type, :elm_selection_loss_cb, :pointer ], :void ],
+ # EAPI void elm_cnp_selection_loss_callback_set(Evas_Object *obj, Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data);
+ [ :elm_cnp_selection_loss_callback_set, [ :evas_object, :elm_sel_type, :elm_selection_loss_cb, :pointer ], :void ],
]
#
attach_fcts fcts
diff --git a/lib/efl/native/elm/elm_object.rb b/lib/efl/native/elm/elm_object.rb
index 20d441a..192c72b 100644
--- a/lib/efl/native/elm/elm_object.rb
+++ b/lib/efl/native/elm/elm_object.rb
@@ -24,7 +24,7 @@ module Efl
#
# FUNCTIONS
fcts = [
- # EAPI void elm_object_part_text_set(Evas_Object *obj, const char *part, const char *label);
+ # EAPI void elm_object_part_text_set(Evas_Object *obj, const char *part, const char *text);
[ :elm_object_part_text_set, [ :evas_object, :string, :string ], :void ],
# EAPI const char *elm_object_part_text_get(const Evas_Object *obj, const char *part);
[ :elm_object_part_text_get, [ :evas_object, :string ], :string ],
diff --git a/lib/efl/native/elm/elm_web.rb b/lib/efl/native/elm/elm_web.rb
index 3f3c2cd..98aa2a7 100644
--- a/lib/efl/native/elm/elm_web.rb
+++ b/lib/efl/native/elm/elm_web.rb
@@ -50,7 +50,7 @@ module Efl
callback :elm_web_dialog_alert_cb, [ :pointer, :evas_object, :string ], :evas_object
# typedef Evas_Object *(*Elm_Web_Dialog_Confirm) (void *data, Evas_Object *obj, const char *message, Eina_Bool *ret);
callback :elm_web_dialog_confirm_cb, [ :pointer, :evas_object, :string, :pointer ], :evas_object
- # typedef Evas_Object *(*Elm_Web_Dialog_Prompt) (void *data, Evas_Object *obj, const char *message, const char *def_value, char **value, Eina_Bool *ret);
+ # typedef Evas_Object *(*Elm_Web_Dialog_Prompt) (void *data, Evas_Object *obj, const char *message, const char *def_value, const char **value, Eina_Bool *ret);
callback :elm_web_dialog_prompt_cb, [ :pointer, :evas_object, :string, :string, :pointer, :pointer ], :evas_object
# typedef Evas_Object *(*Elm_Web_Dialog_File_Selector) (void *data, Evas_Object *obj, Eina_Bool allows_multiple, Eina_List *accept_types, Eina_List **selected, Eina_Bool *ret);
callback :elm_web_dialog_file_selector_cb, [ :pointer, :evas_object, :bool, :eina_list, :eina_list, :pointer ], :evas_object
@@ -93,7 +93,7 @@ module Efl
[ :elm_web_bg_color_set, [ :evas_object, :int, :int, :int, :int ], :void ],
# EAPI void elm_web_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
[ :elm_web_bg_color_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ],
- # EAPI char *elm_web_selection_get(const Evas_Object *obj);
+ # EAPI const char *elm_web_selection_get(const Evas_Object *obj);
[ :elm_web_selection_get, [ :evas_object ], :string ],
# EAPI void elm_web_popup_selected_set(Evas_Object *obj, int index);
[ :elm_web_popup_selected_set, [ :evas_object, :int ], :void ],
diff --git a/lib/efl/native/elm/elm_win.rb b/lib/efl/native/elm/elm_win.rb
index 4f0f174..a9d5e6b 100644
--- a/lib/efl/native/elm/elm_win.rb
+++ b/lib/efl/native/elm/elm_win.rb
@@ -142,6 +142,14 @@ module Efl
[ :elm_win_layer_set, [ :evas_object, :int ], :void ],
# EAPI int elm_win_layer_get(const Evas_Object *obj);
[ :elm_win_layer_get, [ :evas_object ], :int ],
+ # EAPI void elm_win_norender_push(Evas_Object *obj);
+ [ :elm_win_norender_push, [ :evas_object ], :void ],
+ # EAPI void elm_win_norender_pop(Evas_Object *obj);
+ [ :elm_win_norender_pop, [ :evas_object ], :void ],
+ # EAPI int elm_win_norender_get(Evas_Object *obj);
+ [ :elm_win_norender_get, [ :evas_object ], :int ],
+ # EAPI void elm_win_render(Evas_Object *obj);
+ [ :elm_win_render, [ :evas_object ], :void ],
# EAPI void elm_win_rotation_set(Evas_Object *obj, int rotation);
[ :elm_win_rotation_set, [ :evas_object, :int ], :void ],
# EAPI void elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation);