summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/elm
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-07-10 20:43:01 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-07-10 20:43:01 +0200
commitcd947233f9956480844f74f2911004c6d5d83dd9 (patch)
tree321739a5d79538c4645c9a3f1204d4546a002bd4 /lib/efl/native/elm
parentf18831355aace20918e92f174dbfa8847ca39968 (diff)
downloadffi-efl-cd947233f9956480844f74f2911004c6d5d83dd9.zip
ffi-efl-cd947233f9956480844f74f2911004c6d5d83dd9.tar.gz
update elmentary API
Diffstat (limited to 'lib/efl/native/elm')
-rw-r--r--lib/efl/native/elm/elm_config.rb12
-rw-r--r--lib/efl/native/elm/elm_icon.rb2
-rw-r--r--lib/efl/native/elm/elm_layout.rb4
-rw-r--r--lib/efl/native/elm/elm_list.rb8
-rw-r--r--lib/efl/native/elm/elm_multibuttonentry.rb4
-rw-r--r--lib/efl/native/elm/elm_photocam.rb4
-rw-r--r--lib/efl/native/elm/elm_scroller.rb2
-rw-r--r--lib/efl/native/elm/elm_win.rb2
8 files changed, 22 insertions, 16 deletions
diff --git a/lib/efl/native/elm/elm_config.rb b/lib/efl/native/elm/elm_config.rb
index bce9d1b..f8a81f9 100644
--- a/lib/efl/native/elm/elm_config.rb
+++ b/lib/efl/native/elm/elm_config.rb
@@ -21,6 +21,10 @@ module Efl
#
ffi_lib 'elementary'
#
+ # ENUMS
+ # typedef enum _Elm_Softcursor_Mode {...} Elm_Softcursor_Mode;
+ enum :elm_softcursor_mode, [ :elm_softcursor_mode_auto, :elm_softcursor_mode_on, :elm_softcursor_mode_off ]
+ #
# TYPEDEFS
# typedef struct _Elm_Text_Class Elm_Text_Class;
typedef :pointer, :elm_text_class
@@ -95,6 +99,10 @@ module Efl
[ :elm_config_longpress_timeout_get, [ ], :double ],
# EAPI void elm_config_longpress_timeout_set(double longpress_timeout);
[ :elm_config_longpress_timeout_set, [ :double ], :void ],
+ # EAPI void elm_config_softcursor_mode_set(Elm_Softcursor_Mode mode);
+ [ :elm_config_softcursor_mode_set, [ :elm_softcursor_mode ], :void ],
+ # EAPI Elm_Softcursor_Mode elm_config_softcursor_mode_get(void);
+ [ :elm_config_softcursor_mode_get, [ ], :elm_softcursor_mode ],
# EAPI double elm_config_tooltip_delay_get(void);
[ :elm_config_tooltip_delay_get, [ ], :double ],
# EAPI void elm_config_tooltip_delay_set(double delay);
@@ -131,6 +139,10 @@ module Efl
[ :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 Eina_Bool elm_config_access_get(void);
+ [ :elm_config_access_get, [ ], :bool ],
+ # EAPI void elm_config_access_set(Eina_Bool is_access);
+ [ :elm_config_access_set, [ :bool ], :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);
diff --git a/lib/efl/native/elm/elm_icon.rb b/lib/efl/native/elm/elm_icon.rb
index d74acf8..f6d4f08 100644
--- a/lib/efl/native/elm/elm_icon.rb
+++ b/lib/efl/native/elm/elm_icon.rb
@@ -37,8 +37,6 @@ module Efl
[ :elm_icon_standard_set, [ :evas_object, :string ], :bool ],
# EAPI const char *elm_icon_standard_get(const Evas_Object *obj);
[ :elm_icon_standard_get, [ :evas_object ], :string ],
- # EAPI void elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
- [ :elm_icon_fill_outside_set, [ :evas_object, :bool ], :void ],
# EAPI void elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order);
[ :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);
diff --git a/lib/efl/native/elm/elm_layout.rb b/lib/efl/native/elm/elm_layout.rb
index 70d87ec..037df48 100644
--- a/lib/efl/native/elm/elm_layout.rb
+++ b/lib/efl/native/elm/elm_layout.rb
@@ -71,6 +71,10 @@ module Efl
[ :elm_layout_part_cursor_style_get, [ :evas_object, :string ], :string ],
# EAPI Eina_Bool elm_layout_part_cursor_engine_only_set(Evas_Object *obj, const char *part_name, Eina_Bool engine_only);
[ :elm_layout_part_cursor_engine_only_set, [ :evas_object, :string, :bool ], :bool ],
+ # EAPI Eina_Bool elm_layout_edje_object_can_access_set(Evas_Object *obj, Eina_Bool can_access);
+ [ :elm_layout_edje_object_can_access_set, [ :evas_object, :bool ], :bool ],
+ # EAPI Eina_Bool elm_layout_edje_object_can_access_get(Evas_Object *obj);
+ [ :elm_layout_edje_object_can_access_get, [ :evas_object ], :bool ],
# EAPI Eina_Bool elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name);
[ :elm_layout_part_cursor_engine_only_get, [ :evas_object, :string ], :bool ],
# EAPI Eina_Bool elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
diff --git a/lib/efl/native/elm/elm_list.rb b/lib/efl/native/elm/elm_list.rb
index 7c44c38..11ea9e8 100644
--- a/lib/efl/native/elm/elm_list.rb
+++ b/lib/efl/native/elm/elm_list.rb
@@ -48,14 +48,6 @@ module Efl
[ :elm_list_select_mode_set, [ :evas_object, :elm_object_select_mode ], :void ],
# EAPI Elm_Object_Select_Mode elm_list_select_mode_get(const Evas_Object *obj);
[ :elm_list_select_mode_get, [ :evas_object ], :elm_object_select_mode ],
- # EAPI void elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
- [ :elm_list_bounce_set, [ :evas_object, :bool, :bool ], :void ],
- # EAPI void elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
- [ :elm_list_bounce_get, [ :evas_object, :pointer, :pointer ], :void ],
- # EAPI void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
- [ :elm_list_scroller_policy_set, [ :evas_object, :elm_scroller_policy, :elm_scroller_policy ], :void ],
- # EAPI void elm_list_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);
- [ :elm_list_scroller_policy_get, [ :evas_object, :pointer, :pointer ], :void ],
# EAPI Elm_Object_Item *elm_list_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
[ :elm_list_item_append, [ :evas_object, :string, :evas_object, :evas_object, :evas_smart_cb, :pointer ], :elm_object_item ],
# EAPI Elm_Object_Item *elm_list_item_prepend(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
diff --git a/lib/efl/native/elm/elm_multibuttonentry.rb b/lib/efl/native/elm/elm_multibuttonentry.rb
index f4cf596..c576047 100644
--- a/lib/efl/native/elm/elm_multibuttonentry.rb
+++ b/lib/efl/native/elm/elm_multibuttonentry.rb
@@ -67,6 +67,10 @@ module Efl
[ :elm_multibuttonentry_item_filter_prepend, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ],
# EAPI void elm_multibuttonentry_item_filter_remove(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
[ :elm_multibuttonentry_item_filter_remove, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ],
+ # EAPI void elm_multibuttonentry_editable_set(Evas_Object *obj, Eina_Bool editable);
+ [ :elm_multibuttonentry_editable_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_multibuttonentry_editable_get(const Evas_Object *obj);
+ [ :elm_multibuttonentry_editable_get, [ :evas_object ], :bool ],
]
#
attach_fcts fcts
diff --git a/lib/efl/native/elm/elm_photocam.rb b/lib/efl/native/elm/elm_photocam.rb
index 8504d89..4ffba08 100644
--- a/lib/efl/native/elm/elm_photocam.rb
+++ b/lib/efl/native/elm/elm_photocam.rb
@@ -56,10 +56,6 @@ module Efl
[ :elm_photocam_paused_get, [ :evas_object ], :bool ],
# EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj);
[ :elm_photocam_internal_image_get, [ :evas_object ], :evas_object ],
- # EAPI void elm_photocam_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
- [ :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_enabled_set(Evas_Object *obj, Eina_Bool gesture);
[ :elm_photocam_gesture_enabled_set, [ :evas_object, :bool ], :void ],
# EAPI Eina_Bool elm_photocam_gesture_enabled_get(const Evas_Object *obj);
diff --git a/lib/efl/native/elm/elm_scroller.rb b/lib/efl/native/elm/elm_scroller.rb
index 256d3d7..2f1c552 100644
--- a/lib/efl/native/elm/elm_scroller.rb
+++ b/lib/efl/native/elm/elm_scroller.rb
@@ -30,8 +30,6 @@ module Efl
fcts = [
# EAPI Evas_Object *elm_scroller_add(Evas_Object *parent);
[ :elm_scroller_add, [ :evas_object ], :evas_object ],
- # EAPI void elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base);
- [ :elm_scroller_custom_widget_base_theme_set, [ :evas_object, :string, :string ], :void ],
# EAPI void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h);
[ :elm_scroller_content_min_limit, [ :evas_object, :bool, :bool ], :void ],
# EAPI void elm_scroller_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
diff --git a/lib/efl/native/elm/elm_win.rb b/lib/efl/native/elm/elm_win.rb
index 5b854f8..b62a6ab 100644
--- a/lib/efl/native/elm/elm_win.rb
+++ b/lib/efl/native/elm/elm_win.rb
@@ -182,6 +182,8 @@ module Efl
[ :elm_win_screen_constrain_get, [ :evas_object ], :bool ],
# EAPI void elm_win_screen_size_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
[ :elm_win_screen_size_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ],
+ # EAPI void elm_win_screen_dpi_get(const Evas_Object *obj, int *xdpi, int *ydpi);
+ [ :elm_win_screen_dpi_get, [ :evas_object, :pointer, :pointer ], :void ],
# EAPI void elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled);
[ :elm_win_focus_highlight_enabled_set, [ :evas_object, :bool ], :void ],
# EAPI Eina_Bool elm_win_focus_highlight_enabled_get(const Evas_Object *obj);