summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-03-07 17:32:43 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-03-07 17:32:43 +0100
commitf74b1512aa56a07a0353ef3b1941dade693cf657 (patch)
tree3617e5eb40165748ef5c9b8fea59712f6cbed456
parent066bcafe9c82ffcf1a0f9fe9a3e759b7f2ea571d (diff)
downloadffi-efl-f74b1512aa56a07a0353ef3b1941dade693cf657.zip
ffi-efl-f74b1512aa56a07a0353ef3b1941dade693cf657.tar.gz
API update: elm_clock, elm_colorselector, elm_gengrid, elm_genlist, elm_list, elm_win
-rw-r--r--lib/efl/native/elm/elm_clock.rb23
-rw-r--r--lib/efl/native/elm/elm_colorselector.rb20
-rw-r--r--lib/efl/native/elm/elm_gengrid.rb8
-rw-r--r--lib/efl/native/elm/elm_genlist.rb12
-rw-r--r--lib/efl/native/elm/elm_list.rb8
-rw-r--r--lib/efl/native/elm/elm_win.rb7
6 files changed, 53 insertions, 25 deletions
diff --git a/lib/efl/native/elm/elm_clock.rb b/lib/efl/native/elm/elm_clock.rb
index bd6cff7..cf81a22 100644
--- a/lib/efl/native/elm/elm_clock.rb
+++ b/lib/efl/native/elm/elm_clock.rb
@@ -22,9 +22,10 @@ module Efl
ffi_lib 'elementary-ver-pre-svn-09.so.0'
#
# ENUMS
- # typedef enum {...} Elm_Clock_Digedit;
- enum :elm_clock_digedit, [ :elm_clock_none, 0, :elm_clock_hour_decimal, 1<<0, :elm_clock_hour_unit, 1<<1, :elm_clock_min_decimal, 1<<2,
- :elm_clock_min_unit, 1<<3, :elm_clock_sec_decimal, 1<<4, :elm_clock_sec_unit, 1<<5, :elm_clock_all, (1<<6)-1 ]
+ # typedef enum {...} Elm_Clock_Edit_Mode;
+ enum :elm_clock_edit_mode, [ :elm_clock_edit_default, 0, :elm_clock_edit_hour_decimal, 1<<0, :elm_clock_edit_hour_unit, 1<<1,
+ :elm_clock_edit_min_decimal, 1<<2, :elm_clock_edit_min_unit, 1<<3, :elm_clock_edit_sec_decimal, 1<<4, :elm_clock_edit_sec_unit, 1<<5,
+ :elm_clock_edit_all, (1<<6)-1 ]
#
# FUNCTIONS
fcts = [
@@ -38,10 +39,10 @@ module Efl
[ :elm_clock_edit_set, [ :evas_object, :bool ], :void ],
# EAPI Eina_Bool elm_clock_edit_get(const Evas_Object *obj);
[ :elm_clock_edit_get, [ :evas_object ], :bool ],
- # EAPI void elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit);
- [ :elm_clock_digit_edit_set, [ :evas_object, :elm_clock_digedit ], :void ],
- # EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj);
- [ :elm_clock_digit_edit_get, [ :evas_object ], :elm_clock_digedit ],
+ # EAPI void elm_clock_edit_mode_set(Evas_Object *obj, Elm_Clock_Edit_Mode digedit);
+ [ :elm_clock_edit_mode_set, [ :evas_object, :elm_clock_edit_mode ], :void ],
+ # EAPI Elm_Clock_Edit_Mode elm_clock_edit_mode_get(const Evas_Object *obj);
+ [ :elm_clock_edit_mode_get, [ :evas_object ], :elm_clock_edit_mode ],
# EAPI void elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
[ :elm_clock_show_am_pm_set, [ :evas_object, :bool ], :void ],
# EAPI Eina_Bool elm_clock_show_am_pm_get(const Evas_Object *obj);
@@ -50,10 +51,10 @@ module Efl
[ :elm_clock_show_seconds_set, [ :evas_object, :bool ], :void ],
# EAPI Eina_Bool elm_clock_show_seconds_get(const Evas_Object *obj);
[ :elm_clock_show_seconds_get, [ :evas_object ], :bool ],
- # EAPI void elm_clock_interval_set(Evas_Object *obj, double interval);
- [ :elm_clock_interval_set, [ :evas_object, :double ], :void ],
- # EAPI double elm_clock_interval_get(const Evas_Object *obj);
- [ :elm_clock_interval_get, [ :evas_object ], :double ],
+ # EAPI void elm_clock_first_interval_set(Evas_Object *obj, double interval);
+ [ :elm_clock_first_interval_set, [ :evas_object, :double ], :void ],
+ # EAPI double elm_clock_first_interval_get(const Evas_Object *obj);
+ [ :elm_clock_first_interval_get, [ :evas_object ], :double ],
]
#
attach_fcts fcts
diff --git a/lib/efl/native/elm/elm_colorselector.rb b/lib/efl/native/elm/elm_colorselector.rb
index d5d41e2..4fd325d 100644
--- a/lib/efl/native/elm/elm_colorselector.rb
+++ b/lib/efl/native/elm/elm_colorselector.rb
@@ -21,6 +21,10 @@ module Efl
#
ffi_lib 'elementary-ver-pre-svn-09.so.0'
#
+ # ENUMS
+ # typedef enum {...} Elm_Colorselector_Mode;
+ enum :elm_colorselector_mode, [ :elm_colorselector_palette, 0, :elm_colorselector_components, 1, :elm_colorselector_both, 2 ]
+ #
# FUNCTIONS
fcts = [
# EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent);
@@ -29,6 +33,22 @@ module Efl
[ :elm_colorselector_color_set, [ :evas_object, :int, :int, :int, :int ], :void ],
# EAPI void elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
[ :elm_colorselector_color_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ],
+ # EAPI void elm_colorselector_mode_set(Evas_Object *obj, Elm_Colorselector_Mode mode);
+ [ :elm_colorselector_mode_set, [ :evas_object, :elm_colorselector_mode ], :void ],
+ # EAPI Elm_Colorselector_Mode elm_colorselector_mode_get(const Evas_Object *obj);
+ [ :elm_colorselector_mode_get, [ :evas_object ], :elm_colorselector_mode ],
+ # EAPI void elm_colorselector_palette_item_color_get(const Elm_Object_Item *it, int *r, int *g, int *b, int *a);
+ [ :elm_colorselector_palette_item_color_get, [ :elm_object_item, :pointer, :pointer, :pointer, :pointer ], :void ],
+ # EAPI void elm_colorselector_palette_item_color_set(Elm_Object_Item *it, int r, int g, int b, int a);
+ [ :elm_colorselector_palette_item_color_set, [ :elm_object_item, :int, :int, :int, :int ], :void ],
+ # EAPI Elm_Object_Item *elm_colorselector_palette_color_add(Evas_Object *obj, int r, int g, int b, int a);
+ [ :elm_colorselector_palette_color_add, [ :evas_object, :int, :int, :int, :int ], :elm_object_item ],
+ # EAPI void elm_colorselector_palette_clear(Evas_Object *obj);
+ [ :elm_colorselector_palette_clear, [ :evas_object ], :void ],
+ # EAPI void elm_colorselector_palette_name_set(Evas_Object *obj, const char *palette_name);
+ [ :elm_colorselector_palette_name_set, [ :evas_object, :string ], :void ],
+ # EAPI const char *elm_colorselector_palette_name_get(const Evas_Object *obj);
+ [ :elm_colorselector_palette_name_get, [ :evas_object ], :string ],
]
#
attach_fcts fcts
diff --git a/lib/efl/native/elm/elm_gengrid.rb b/lib/efl/native/elm/elm_gengrid.rb
index 62c20fb..3a7f062 100644
--- a/lib/efl/native/elm/elm_gengrid.rb
+++ b/lib/efl/native/elm/elm_gengrid.rb
@@ -181,10 +181,10 @@ module Efl
[ :elm_gengrid_select_mode_set, [ :evas_object, :elm_object_select_mode_type ], :void ],
# EAPI Elm_Object_Select_Mode_Type elm_gengrid_select_mode_get(const Evas_Object *obj);
[ :elm_gengrid_select_mode_get, [ :evas_object ], :elm_object_select_mode_type ],
- # EAPI void elm_gengrid_hilight_mode_set(Evas_Object *obj, Eina_Bool hilight);
- [ :elm_gengrid_hilight_mode_set, [ :evas_object, :bool ], :void ],
- # EAPI Eina_Bool elm_gengrid_hilight_mode_get(const Evas_Object *obj);
- [ :elm_gengrid_hilight_mode_get, [ :evas_object ], :bool ],
+ # EAPI void elm_gengrid_highlight_mode_set(Evas_Object *obj, Eina_Bool highlight);
+ [ :elm_gengrid_highlight_mode_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_gengrid_highlight_mode_get(const Evas_Object *obj);
+ [ :elm_gengrid_highlight_mode_get, [ :evas_object ], :bool ],
]
#
attach_fcts fcts
diff --git a/lib/efl/native/elm/elm_genlist.rb b/lib/efl/native/elm/elm_genlist.rb
index c4f3ac9..2ec5c42 100644
--- a/lib/efl/native/elm/elm_genlist.rb
+++ b/lib/efl/native/elm/elm_genlist.rb
@@ -35,8 +35,8 @@ module Efl
enum :elm_genlist_item_scrollto_type, [ :elm_genlist_item_scrollto_none, 0, :elm_genlist_item_scrollto_in, (1<<0),
:elm_genlist_item_scrollto_top, (1<<1), :elm_genlist_item_scrollto_middle, (1<<2) ]
# typedef enum {...} Elm_Genlist_Item_Move_Effect_Mode;
- enum :elm_genlist_item_move_effect_mode, [ :elm_genlist_item_move_effect_none, 0, :elm_genlist_item_move_effect_expand, 1,
- :elm_genlist_item_move_effect_contract, 2 ]
+ enum :elm_genlist_item_move_effect_mode, [ :elm_genlist_tree_effect_none, 0, :elm_genlist_tree_effect_expand, 1,
+ :elm_genlist_tree_effect_contract, 2 ]
#
# TYPEDEFS
# typedef Elm_Gen_Item_Class Elm_Genlist_Item_Class;
@@ -229,10 +229,10 @@ module Efl
[ :elm_genlist_select_mode_set, [ :evas_object, :elm_object_select_mode_type ], :void ],
# EAPI Elm_Object_Select_Mode_Type elm_genlist_select_mode_get(const Evas_Object *obj);
[ :elm_genlist_select_mode_get, [ :evas_object ], :elm_object_select_mode_type ],
- # EAPI void elm_genlist_hilight_mode_set(Evas_Object *obj, Eina_Bool hilight);
- [ :elm_genlist_hilight_mode_set, [ :evas_object, :bool ], :void ],
- # EAPI Eina_Bool elm_genlist_hilight_mode_get(const Evas_Object *obj);
- [ :elm_genlist_hilight_mode_get, [ :evas_object ], :bool ],
+ # EAPI void elm_genlist_highlight_mode_set(Evas_Object *obj, Eina_Bool highlight);
+ [ :elm_genlist_highlight_mode_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_highlight_mode_get(const Evas_Object *obj);
+ [ :elm_genlist_highlight_mode_get, [ :evas_object ], :bool ],
]
#
attach_fcts fcts
diff --git a/lib/efl/native/elm/elm_list.rb b/lib/efl/native/elm/elm_list.rb
index 8fcbecd..5015417 100644
--- a/lib/efl/native/elm/elm_list.rb
+++ b/lib/efl/native/elm/elm_list.rb
@@ -44,10 +44,10 @@ module Efl
[ :elm_list_horizontal_set, [ :evas_object, :bool ], :void ],
# EAPI Eina_Bool elm_list_horizontal_get(const Evas_Object *obj);
[ :elm_list_horizontal_get, [ :evas_object ], :bool ],
- # EAPI void elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
- [ :elm_list_always_select_mode_set, [ :evas_object, :bool ], :void ],
- # EAPI Eina_Bool elm_list_always_select_mode_get(const Evas_Object *obj);
- [ :elm_list_always_select_mode_get, [ :evas_object ], :bool ],
+ # EAPI void elm_list_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode_Type mode);
+ [ :elm_list_select_mode_set, [ :evas_object, :elm_object_select_mode_type ], :void ],
+ # EAPI Elm_Object_Select_Mode_Type elm_list_select_mode_get(const Evas_Object *obj);
+ [ :elm_list_select_mode_get, [ :evas_object ], :elm_object_select_mode_type ],
# 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);
diff --git a/lib/efl/native/elm/elm_win.rb b/lib/efl/native/elm/elm_win.rb
index 1568f8b..30c50af 100644
--- a/lib/efl/native/elm/elm_win.rb
+++ b/lib/efl/native/elm/elm_win.rb
@@ -33,6 +33,9 @@ module Efl
:elm_win_keyboard_j2me ]
# typedef enum {...} Elm_Win_Indicator_Mode;
enum :elm_win_indicator_mode, [ :elm_win_indicator_unknown, :elm_win_indicator_hide, :elm_win_indicator_show ]
+ # typedef enum {...} Elm_Win_Indicator_Opacity_Mode;
+ enum :elm_win_indicator_opacity_mode, [ :elm_win_indicator_opacity_unknown, :elm_win_indicator_opaque, :elm_win_indicator_translucent,
+ :elm_win_indicator_transparent ]
# typedef enum {...} Elm_Illume_Command;
enum :elm_illume_command, [ :elm_illume_command_focus_back, :elm_illume_command_focus_forward, :elm_illume_command_focus_home,
:elm_illume_command_close ]
@@ -191,6 +194,10 @@ module Efl
[ :elm_win_indicator_mode_set, [ :evas_object, :elm_win_indicator_mode ], :void ],
# EAPI Elm_Win_Indicator_Mode elm_win_indicator_mode_get(const Evas_Object *obj);
[ :elm_win_indicator_mode_get, [ :evas_object ], :elm_win_indicator_mode ],
+ # EAPI void elm_win_indicator_opacity_set(Evas_Object *obj, Elm_Win_Indicator_Opacity_Mode mode);
+ [ :elm_win_indicator_opacity_set, [ :evas_object, :elm_win_indicator_opacity_mode ], :void ],
+ # EAPI Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get(const Evas_Object *obj);
+ [ :elm_win_indicator_opacity_get, [ :evas_object ], :elm_win_indicator_opacity_mode ],
# EAPI void elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y);
[ :elm_win_screen_position_get, [ :evas_object, :pointer, :pointer ], :void ],
# EAPI Eina_Bool elm_win_socket_listen(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys);