ffi-efl 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. data/lib/efl/elementary_all.rb +3 -3
  2. data/lib/efl/elm/{elm_factory.rb → elm_datetime.rb} +4 -4
  3. data/lib/efl/elm/{elm_anchorblock.rb → elm_dayselector.rb} +4 -4
  4. data/lib/efl/elm/elm_popup.rb +26 -0
  5. data/lib/efl/native/ecore_evas.rb +6 -4
  6. data/lib/efl/native/edje.rb +8 -5
  7. data/lib/efl/native/eet.rb +3 -2
  8. data/lib/efl/native/elm/elm_bg.rb +3 -3
  9. data/lib/efl/native/elm/elm_box.rb +6 -4
  10. data/lib/efl/native/elm/elm_cache.rb +0 -24
  11. data/lib/efl/native/elm/elm_calendar.rb +13 -7
  12. data/lib/efl/native/elm/elm_clock.rb +12 -11
  13. data/lib/efl/native/elm/elm_colorselector.rb +20 -0
  14. data/lib/efl/native/elm/elm_config.rb +144 -62
  15. data/lib/efl/native/elm/elm_conform.rb +0 -2
  16. data/lib/efl/native/elm/elm_ctxpopup.rb +2 -0
  17. data/lib/efl/native/elm/elm_cursor.rb +4 -8
  18. data/lib/efl/native/elm/elm_datetime.rb +64 -0
  19. data/lib/efl/native/elm/elm_dayselector.rb +56 -0
  20. data/lib/efl/native/elm/elm_diskselector.rb +8 -8
  21. data/lib/efl/native/elm/elm_entry.rb +30 -12
  22. data/lib/efl/native/elm/elm_finger.rb +0 -4
  23. data/lib/efl/native/elm/elm_flipselector.rb +4 -4
  24. data/lib/efl/native/elm/elm_focus.rb +6 -14
  25. data/lib/efl/native/elm/elm_fonts.rb +0 -16
  26. data/lib/efl/native/elm/elm_frame.rb +2 -2
  27. data/lib/efl/native/elm/elm_gen.rb +49 -0
  28. data/lib/efl/native/elm/elm_general.rb +4 -1
  29. data/lib/efl/native/elm/elm_gengrid.rb +52 -40
  30. data/lib/efl/native/elm/elm_genlist.rb +82 -87
  31. data/lib/efl/native/elm/elm_icon.rb +6 -6
  32. data/lib/efl/native/elm/elm_image.rb +6 -4
  33. data/lib/efl/native/elm/elm_index.rb +29 -19
  34. data/lib/efl/native/elm/elm_label.rb +0 -4
  35. data/lib/efl/native/elm/elm_layout.rb +16 -16
  36. data/lib/efl/native/elm/elm_list.rb +4 -4
  37. data/lib/efl/native/elm/elm_map.rb +130 -137
  38. data/lib/efl/native/elm/elm_menu.rb +4 -6
  39. data/lib/efl/native/elm/elm_mirroring.rb +0 -4
  40. data/lib/efl/native/elm/elm_multibuttonentry.rb +24 -28
  41. data/lib/efl/native/elm/elm_naviframe.rb +6 -8
  42. data/lib/efl/native/elm/elm_notify.rb +4 -4
  43. data/lib/efl/native/elm/elm_object.rb +2 -2
  44. data/lib/efl/native/elm/elm_photocam.rb +4 -4
  45. data/lib/efl/native/elm/elm_popup.rb +60 -0
  46. data/lib/efl/native/elm/elm_scale.rb +0 -4
  47. data/lib/efl/native/elm/elm_slider.rb +2 -2
  48. data/lib/efl/native/elm/elm_slideshow.rb +2 -2
  49. data/lib/efl/native/elm/elm_spinner.rb +1 -1
  50. data/lib/efl/native/elm/elm_store.rb +4 -8
  51. data/lib/efl/native/elm/elm_theme.rb +4 -2
  52. data/lib/efl/native/elm/elm_toolbar.rb +5 -9
  53. data/lib/efl/native/elm/elm_video.rb +2 -2
  54. data/lib/efl/native/elm/elm_web.rb +15 -15
  55. data/lib/efl/native/elm/elm_win.rb +7 -4
  56. data/lib/efl/native/evas.rb +7 -5
  57. data/lib/efl.rb +1 -1
  58. metadata +15 -16
  59. data/lib/efl/elm/elm_anchorview.rb +0 -22
  60. data/lib/efl/native/elm/elm_anchorblock.rb +0 -55
  61. data/lib/efl/native/elm/elm_anchorview.rb +0 -59
  62. data/lib/efl/native/elm/elm_engine.rb +0 -41
  63. data/lib/efl/native/elm/elm_factory.rb +0 -41
  64. data/lib/efl/native/elm/elm_password.rb +0 -41
@@ -29,12 +29,8 @@ module Efl
29
29
  # TYPEDEFS
30
30
  # typedef struct _Elm_Store Elm_Store;
31
31
  typedef :pointer, :elm_store
32
- # typedef struct _Elm_Store_Filesystem Elm_Store_Filesystem;
33
- typedef :pointer, :elm_store_filesystem
34
32
  # typedef struct _Elm_Store_Item Elm_Store_Item;
35
33
  typedef :pointer, :elm_store_item
36
- # typedef struct _Elm_Store_Item_Filesystem Elm_Store_Item_Filesystem;
37
- typedef :pointer, :elm_store_item_filesystem
38
34
  # typedef struct _Elm_Store_Item_Info Elm_Store_Item_Info;
39
35
  typedef :pointer, :elm_store_item_info
40
36
  # typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
@@ -62,10 +58,10 @@ module Efl
62
58
  #
63
59
  # FUNCTIONS
64
60
  fcts = [
65
- # EAPI void elm_store_free(Elm_Store *st);
66
- [ :elm_store_free, [ :elm_store ], :void ],
67
61
  # EAPI Elm_Store *elm_store_filesystem_new(void);
68
62
  [ :elm_store_filesystem_new, [ ], :elm_store ],
63
+ # EAPI void elm_store_free(Elm_Store *st);
64
+ [ :elm_store_free, [ :elm_store ], :void ],
69
65
  # EAPI void elm_store_filesystem_directory_set(Elm_Store *st, const char *dir);
70
66
  [ :elm_store_filesystem_directory_set, [ :elm_store, :string ], :void ],
71
67
  # EAPI const char *elm_store_filesystem_directory_get(const Elm_Store *st);
@@ -82,12 +78,12 @@ module Efl
82
78
  [ :elm_store_list_func_set, [ :elm_store, :elm_store_item_list_cb, :pointer ], :void ],
83
79
  # EAPI void elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data);
84
80
  [ :elm_store_fetch_func_set, [ :elm_store, :elm_store_item_fetch_cb, :pointer ], :void ],
81
+ # EAPI void elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data);
82
+ [ :elm_store_unfetch_func_set, [ :elm_store, :elm_store_item_unfetch_cb, :pointer ], :void ],
85
83
  # EAPI void elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread);
86
84
  [ :elm_store_fetch_thread_set, [ :elm_store, :bool ], :void ],
87
85
  # EAPI Eina_Bool elm_store_fetch_thread_get(const Elm_Store *st);
88
86
  [ :elm_store_fetch_thread_get, [ :elm_store ], :bool ],
89
- # EAPI void elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data);
90
- [ :elm_store_unfetch_func_set, [ :elm_store, :elm_store_item_unfetch_cb, :pointer ], :void ],
91
87
  # EAPI void elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted);
92
88
  [ :elm_store_sorted_set, [ :elm_store, :bool ], :void ],
93
89
  # EAPI Eina_Bool elm_store_sorted_get(const Elm_Store *st);
@@ -43,10 +43,14 @@ module Efl
43
43
  [ :elm_theme_overlay_add, [ :elm_theme, :string ], :void ],
44
44
  # EAPI void elm_theme_overlay_del(Elm_Theme *th, const char *item);
45
45
  [ :elm_theme_overlay_del, [ :elm_theme, :string ], :void ],
46
+ # EAPI const Eina_List *elm_theme_overlay_list_get(const Elm_Theme *th);
47
+ [ :elm_theme_overlay_list_get, [ :elm_theme ], :eina_list ],
46
48
  # EAPI void elm_theme_extension_add(Elm_Theme *th, const char *item);
47
49
  [ :elm_theme_extension_add, [ :elm_theme, :string ], :void ],
48
50
  # EAPI void elm_theme_extension_del(Elm_Theme *th, const char *item);
49
51
  [ :elm_theme_extension_del, [ :elm_theme, :string ], :void ],
52
+ # EAPI const Eina_List *elm_theme_extension_list_get(const Elm_Theme *th);
53
+ [ :elm_theme_extension_list_get, [ :elm_theme ], :eina_list ],
50
54
  # EAPI void elm_theme_set(Elm_Theme *th, const char *theme);
51
55
  [ :elm_theme_set, [ :elm_theme, :string ], :void ],
52
56
  # EAPI const char *elm_theme_get(Elm_Theme *th);
@@ -59,8 +63,6 @@ module Efl
59
63
  [ :elm_theme_flush, [ :elm_theme ], :void ],
60
64
  # EAPI void elm_theme_full_flush(void);
61
65
  [ :elm_theme_full_flush, [ ], :void ],
62
- # EAPI void elm_theme_all_set(const char *theme);
63
- [ :elm_theme_all_set, [ :string ], :void ],
64
66
  # EAPI Eina_List *elm_theme_name_available_list_new(void);
65
67
  [ :elm_theme_name_available_list_new, [ ], :eina_list ],
66
68
  # EAPI void elm_theme_name_available_list_free(Eina_List *list);
@@ -25,7 +25,7 @@ module Efl
25
25
  # ENUMS
26
26
  # typedef enum {...} Elm_Toolbar_Shrink_Mode;
27
27
  enum :elm_toolbar_shrink_mode, [ :elm_toolbar_shrink_none, :elm_toolbar_shrink_hide, :elm_toolbar_shrink_scroll, :elm_toolbar_shrink_menu,
28
- :elm_toolbar_shrink_last ]
28
+ :elm_toolbar_shrink_expand, :elm_toolbar_shrink_last ]
29
29
  #
30
30
  # TYPEDEFS
31
31
  # typedef struct _Elm_Toolbar_Item_State Elm_Toolbar_Item_State;
@@ -43,14 +43,6 @@ module Efl
43
43
  [ :elm_toolbar_icon_order_lookup_set, [ :evas_object, :elm_icon_lookup_order ], :void ],
44
44
  # EAPI Elm_Icon_Lookup_Order elm_toolbar_icon_order_lookup_get(const Evas_Object *obj);
45
45
  [ :elm_toolbar_icon_order_lookup_get, [ :evas_object ], :elm_icon_lookup_order ],
46
- # EAPI void elm_toolbar_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
47
- [ :elm_toolbar_always_select_mode_set, [ :evas_object, :bool ], :void ],
48
- # EAPI Eina_Bool elm_toolbar_always_select_mode_get(const Evas_Object *obj);
49
- [ :elm_toolbar_always_select_mode_get, [ :evas_object ], :bool ],
50
- # EAPI void elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
51
- [ :elm_toolbar_no_select_mode_set, [ :evas_object, :bool ], :void ],
52
- # EAPI Eina_Bool elm_toolbar_no_select_mode_get(const Evas_Object *obj);
53
- [ :elm_toolbar_no_select_mode_get, [ :evas_object ], :bool ],
54
46
  # EAPI Elm_Object_Item *elm_toolbar_item_append(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data);
55
47
  [ :elm_toolbar_item_append, [ :evas_object, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ],
56
48
  # EAPI Elm_Object_Item *elm_toolbar_item_prepend(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data);
@@ -135,6 +127,10 @@ module Efl
135
127
  [ :elm_toolbar_horizontal_get, [ :evas_object ], :bool ],
136
128
  # EAPI unsigned int elm_toolbar_items_count(const Evas_Object *obj);
137
129
  [ :elm_toolbar_items_count, [ :evas_object ], :uint ],
130
+ # EAPI void elm_toolbar_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode);
131
+ [ :elm_toolbar_select_mode_set, [ :evas_object, :elm_object_select_mode ], :void ],
132
+ # EAPI Elm_Object_Select_Mode elm_toolbar_select_mode_get(const Evas_Object *obj);
133
+ [ :elm_toolbar_select_mode_get, [ :evas_object ], :elm_object_select_mode ],
138
134
  ]
139
135
  #
140
136
  attach_fcts fcts
@@ -27,8 +27,8 @@ module Efl
27
27
  [ :elm_player_add, [ :evas_object ], :evas_object ],
28
28
  # EAPI Evas_Object *elm_video_add(Evas_Object *parent);
29
29
  [ :elm_video_add, [ :evas_object ], :evas_object ],
30
- # EAPI void elm_video_file_set(Evas_Object *video, const char *filename);
31
- [ :elm_video_file_set, [ :evas_object, :string ], :void ],
30
+ # EAPI Eina_Bool elm_video_file_set(Evas_Object *video, const char *filename);
31
+ [ :elm_video_file_set, [ :evas_object, :string ], :bool ],
32
32
  # EAPI Evas_Object *elm_video_emotion_get(const Evas_Object *video);
33
33
  [ :elm_video_emotion_get, [ :evas_object ], :evas_object ],
34
34
  # EAPI void elm_video_play(Evas_Object *video);
@@ -27,6 +27,9 @@ module Efl
27
27
  # typedef enum {...} Elm_Web_Zoom_Mode;
28
28
  enum :elm_web_zoom_mode, [ :elm_web_zoom_mode_manual, 0, :elm_web_zoom_mode_auto_fit, 1, :elm_web_zoom_mode_auto_fill, 2,
29
29
  :elm_web_zoom_mode_last, 3 ]
30
+ # typedef enum {...} Elm_Web_Window_Feature_Flag;
31
+ enum :elm_web_window_feature_flag, [ :elm_web_window_feature_toolbar, :elm_web_window_feature_statusbar, :elm_web_window_feature_scrollbars,
32
+ :elm_web_window_feature_menubar, :elm_web_window_feature_locationbar, :elm_web_window_feature_fullscreen ]
30
33
  #
31
34
  # TYPEDEFS
32
35
  # typedef struct _Elm_Web_Frame_Load_Error Elm_Web_Frame_Load_Error;
@@ -120,16 +123,14 @@ module Efl
120
123
  [ :elm_web_forward, [ :evas_object ], :bool ],
121
124
  # EAPI Eina_Bool elm_web_navigate(Evas_Object *obj, int steps);
122
125
  [ :elm_web_navigate, [ :evas_object, :int ], :bool ],
123
- # EAPI Eina_Bool elm_web_back_possible(Evas_Object *obj);
124
- [ :elm_web_back_possible, [ :evas_object ], :bool ],
125
- # EAPI Eina_Bool elm_web_forward_possible(Evas_Object *obj);
126
- [ :elm_web_forward_possible, [ :evas_object ], :bool ],
127
- # EAPI Eina_Bool elm_web_navigate_possible(Evas_Object *obj, int steps);
128
- [ :elm_web_navigate_possible, [ :evas_object, :int ], :bool ],
129
- # EAPI Eina_Bool elm_web_history_enable_get(const Evas_Object *obj);
130
- [ :elm_web_history_enable_get, [ :evas_object ], :bool ],
131
- # EAPI void elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable);
132
- [ :elm_web_history_enable_set, [ :evas_object, :bool ], :void ],
126
+ # EAPI Eina_Bool elm_web_back_possible_get(Evas_Object *obj);
127
+ [ :elm_web_back_possible_get, [ :evas_object ], :bool ],
128
+ # EAPI Eina_Bool elm_web_forward_possible_get(Evas_Object *obj);
129
+ [ :elm_web_forward_possible_get, [ :evas_object ], :bool ],
130
+ # EAPI Eina_Bool elm_web_history_enabled_get(const Evas_Object *obj);
131
+ [ :elm_web_history_enabled_get, [ :evas_object ], :bool ],
132
+ # EAPI void elm_web_history_enabled_set(Evas_Object *obj, Eina_Bool enabled);
133
+ [ :elm_web_history_enabled_set, [ :evas_object, :bool ], :void ],
133
134
  # EAPI void elm_web_zoom_set(Evas_Object *obj, double zoom);
134
135
  [ :elm_web_zoom_set, [ :evas_object, :double ], :void ],
135
136
  # EAPI double elm_web_zoom_get(const Evas_Object *obj);
@@ -150,11 +151,10 @@ module Efl
150
151
  [ :elm_web_window_features_ref, [ :elm_web_window_features ], :void ],
151
152
  # EAPI void elm_web_window_features_unref(Elm_Web_Window_Features *wf);
152
153
  [ :elm_web_window_features_unref, [ :elm_web_window_features ], :void ],
153
- # EAPI void elm_web_window_features_bool_property_get(const Elm_Web_Window_Features *wf, Eina_Bool *toolbar_visible, Eina_Bool *statusbar_visible, Eina_Bool *scrollbars_visible, Eina_Bool *menubar_visible, Eina_Bool *locationbar_visble, Eina_Bool *fullscreen);
154
- [ :elm_web_window_features_bool_property_get, [ :elm_web_window_features, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer ], :void
155
- ],
156
- # EAPI void elm_web_window_features_int_property_get(const Elm_Web_Window_Features *wf, int *x, int *y, int *w, int *h);
157
- [ :elm_web_window_features_int_property_get, [ :elm_web_window_features, :pointer, :pointer, :pointer, :pointer ], :void ],
154
+ # EAPI Eina_Bool elm_web_window_features_property_get(const Elm_Web_Window_Features *wf, Elm_Web_Window_Feature_Flag flag);
155
+ [ :elm_web_window_features_property_get, [ :elm_web_window_features, :elm_web_window_feature_flag ], :bool ],
156
+ # EAPI void elm_web_window_features_region_get(const Elm_Web_Window_Features *wf, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
157
+ [ :elm_web_window_features_region_get, [ :elm_web_window_features, :pointer, :pointer, :pointer, :pointer ], :void ],
158
158
  ]
159
159
  #
160
160
  attach_fcts fcts
@@ -33,6 +33,9 @@ module Efl
33
33
  :elm_win_keyboard_j2me ]
34
34
  # typedef enum {...} Elm_Win_Indicator_Mode;
35
35
  enum :elm_win_indicator_mode, [ :elm_win_indicator_unknown, :elm_win_indicator_hide, :elm_win_indicator_show ]
36
+ # typedef enum {...} Elm_Win_Indicator_Opacity_Mode;
37
+ enum :elm_win_indicator_opacity_mode, [ :elm_win_indicator_opacity_unknown, :elm_win_indicator_opaque, :elm_win_indicator_translucent,
38
+ :elm_win_indicator_transparent ]
36
39
  # typedef enum {...} Elm_Illume_Command;
37
40
  enum :elm_illume_command, [ :elm_illume_command_focus_back, :elm_illume_command_focus_forward, :elm_illume_command_focus_home,
38
41
  :elm_illume_command_close ]
@@ -87,10 +90,6 @@ module Efl
87
90
  [ :elm_win_alpha_set, [ :evas_object, :bool ], :void ],
88
91
  # EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj);
89
92
  [ :elm_win_alpha_get, [ :evas_object ], :bool ],
90
- # EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
91
- [ :elm_win_transparent_set, [ :evas_object, :bool ], :void ],
92
- # EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj);
93
- [ :elm_win_transparent_get, [ :evas_object ], :bool ],
94
93
  # EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override);
95
94
  [ :elm_win_override_set, [ :evas_object, :bool ], :void ],
96
95
  # EAPI Eina_Bool elm_win_override_get(const Evas_Object *obj);
@@ -195,6 +194,10 @@ module Efl
195
194
  [ :elm_win_indicator_mode_set, [ :evas_object, :elm_win_indicator_mode ], :void ],
196
195
  # EAPI Elm_Win_Indicator_Mode elm_win_indicator_mode_get(const Evas_Object *obj);
197
196
  [ :elm_win_indicator_mode_get, [ :evas_object ], :elm_win_indicator_mode ],
197
+ # EAPI void elm_win_indicator_opacity_set(Evas_Object *obj, Elm_Win_Indicator_Opacity_Mode mode);
198
+ [ :elm_win_indicator_opacity_set, [ :evas_object, :elm_win_indicator_opacity_mode ], :void ],
199
+ # EAPI Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get(const Evas_Object *obj);
200
+ [ :elm_win_indicator_opacity_get, [ :evas_object ], :elm_win_indicator_opacity_mode ],
198
201
  # EAPI void elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y);
199
202
  [ :elm_win_screen_position_get, [ :evas_object, :pointer, :pointer ], :void ],
200
203
  # EAPI Eina_Bool elm_win_socket_listen(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys);
@@ -933,10 +933,12 @@ module Efl
933
933
  [ :evas_object_textblock_style_set, [ :evas_object, :evas_textblock_style ], :void ],
934
934
  # EAPI const Evas_Textblock_Style *evas_object_textblock_style_get(const Evas_Object *obj);
935
935
  [ :evas_object_textblock_style_get, [ :evas_object ], :evas_textblock_style ],
936
- # EAPI void evas_object_textblock_style_user_set(Evas_Object *obj, Evas_Textblock_Style *ts);
937
- [ :evas_object_textblock_style_user_set, [ :evas_object, :evas_textblock_style ], :void ],
938
- # EAPI const Evas_Textblock_Style *evas_object_textblock_style_user_get(const Evas_Object *obj);
939
- [ :evas_object_textblock_style_user_get, [ :evas_object ], :evas_textblock_style ],
936
+ # EAPI void evas_object_textblock_style_user_push(Evas_Object *obj, Evas_Textblock_Style *ts);
937
+ [ :evas_object_textblock_style_user_push, [ :evas_object, :evas_textblock_style ], :void ],
938
+ # EAPI void evas_object_textblock_style_user_pop(Evas_Object *obj);
939
+ [ :evas_object_textblock_style_user_pop, [ :evas_object ], :void ],
940
+ # EAPI const Evas_Textblock_Style *evas_object_textblock_style_user_peek(const Evas_Object *obj);
941
+ [ :evas_object_textblock_style_user_peek, [ :evas_object ], :evas_textblock_style ],
940
942
  # EAPI void evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch);
941
943
  [ :evas_object_textblock_replace_char_set, [ :evas_object, :string ], :void ],
942
944
  # EAPI const char *evas_object_textblock_replace_char_get(Evas_Object *obj);
@@ -1174,7 +1176,7 @@ module Efl
1174
1176
  # EAPI const Evas_Object_Box_Api *evas_object_box_smart_class_get (void);
1175
1177
  [ :evas_object_box_smart_class_get, [ ], :evas_object_box_api ],
1176
1178
  # EAPI void evas_object_box_layout_set (Evas_Object *o, Evas_Object_Box_Layout cb, const void *data, void (*free_data)(void *data));
1177
- # FIXME
1179
+ [ :evas_object_box_layout_set, [ :evas_object, :evas_object_box_layout_cb, (callback [ :pointer ], :void) ], :void ],
1178
1180
  # EAPI Evas_Object *evas_object_box_add (Evas *evas);
1179
1181
  [ :evas_object_box_add, [ :evas ], :evas_object ],
1180
1182
  # EAPI Evas_Object *evas_object_box_add_to (Evas_Object *parent);
data/lib/efl.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  #
4
4
  module Efl
5
5
  #
6
- VERSION = '0.0.11'
6
+ VERSION = '0.0.12'
7
7
  #
8
8
  module MethodResolver
9
9
  def self.resolve mod, meth, prefix
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-efl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-29 00:00:00.000000000 Z
12
+ date: 2012-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
16
- requirement: &10943460 !ruby/object:Gem::Requirement
16
+ requirement: &14979600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.0.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *10943460
24
+ version_requirements: *14979600
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &10937380 !ruby/object:Gem::Requirement
27
+ requirement: &14978400 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.8.7
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *10937380
35
+ version_requirements: *14978400
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bones
38
- requirement: &10958660 !ruby/object:Gem::Requirement
38
+ requirement: &14958500 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 3.7.3
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *10958660
46
+ version_requirements: *14958500
47
47
  description: A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries).
48
48
  email: jeremy@asynk.ch
49
49
  executables: []
@@ -70,8 +70,6 @@ files:
70
70
  - lib/efl/elementary.rb
71
71
  - lib/efl/elementary_all.rb
72
72
  - lib/efl/elm/elm_actionslider.rb
73
- - lib/efl/elm/elm_anchorblock.rb
74
- - lib/efl/elm/elm_anchorview.rb
75
73
  - lib/efl/elm/elm_bg.rb
76
74
  - lib/efl/elm/elm_box.rb
77
75
  - lib/efl/elm/elm_bubble.rb
@@ -84,10 +82,11 @@ files:
84
82
  - lib/efl/elm/elm_conform.rb
85
83
  - lib/efl/elm/elm_ctxpopup.rb
86
84
  - lib/efl/elm/elm_cursor.rb
85
+ - lib/efl/elm/elm_datetime.rb
86
+ - lib/efl/elm/elm_dayselector.rb
87
87
  - lib/efl/elm/elm_debug.rb
88
88
  - lib/efl/elm/elm_diskselector.rb
89
89
  - lib/efl/elm/elm_entry.rb
90
- - lib/efl/elm/elm_factory.rb
91
90
  - lib/efl/elm/elm_fileselector.rb
92
91
  - lib/efl/elm/elm_fileselector_button.rb
93
92
  - lib/efl/elm/elm_fileselector_entry.rb
@@ -122,6 +121,7 @@ files:
122
121
  - lib/efl/elm/elm_photo.rb
123
122
  - lib/efl/elm/elm_photocam.rb
124
123
  - lib/efl/elm/elm_plug.rb
124
+ - lib/efl/elm/elm_popup.rb
125
125
  - lib/efl/elm/elm_progressbar.rb
126
126
  - lib/efl/elm/elm_radio.rb
127
127
  - lib/efl/elm/elm_route.rb
@@ -159,8 +159,6 @@ files:
159
159
  - lib/efl/native/eina_xattr.rb
160
160
  - lib/efl/native/elementary.rb
161
161
  - lib/efl/native/elm/elm_actionslider.rb
162
- - lib/efl/native/elm/elm_anchorblock.rb
163
- - lib/efl/native/elm/elm_anchorview.rb
164
162
  - lib/efl/native/elm/elm_app.rb
165
163
  - lib/efl/native/elm/elm_bg.rb
166
164
  - lib/efl/native/elm/elm_box.rb
@@ -176,11 +174,11 @@ files:
176
174
  - lib/efl/native/elm/elm_conform.rb
177
175
  - lib/efl/native/elm/elm_ctxpopup.rb
178
176
  - lib/efl/native/elm/elm_cursor.rb
177
+ - lib/efl/native/elm/elm_datetime.rb
178
+ - lib/efl/native/elm/elm_dayselector.rb
179
179
  - lib/efl/native/elm/elm_debug.rb
180
180
  - lib/efl/native/elm/elm_diskselector.rb
181
- - lib/efl/native/elm/elm_engine.rb
182
181
  - lib/efl/native/elm/elm_entry.rb
183
- - lib/efl/native/elm/elm_factory.rb
184
182
  - lib/efl/native/elm/elm_fileselector.rb
185
183
  - lib/efl/native/elm/elm_fileselector_button.rb
186
184
  - lib/efl/native/elm/elm_fileselector_entry.rb
@@ -190,6 +188,7 @@ files:
190
188
  - lib/efl/native/elm/elm_focus.rb
191
189
  - lib/efl/native/elm/elm_fonts.rb
192
190
  - lib/efl/native/elm/elm_frame.rb
191
+ - lib/efl/native/elm/elm_gen.rb
193
192
  - lib/efl/native/elm/elm_general.rb
194
193
  - lib/efl/native/elm/elm_gengrid.rb
195
194
  - lib/efl/native/elm/elm_genlist.rb
@@ -216,10 +215,10 @@ files:
216
215
  - lib/efl/native/elm/elm_object_item.rb
217
216
  - lib/efl/native/elm/elm_panel.rb
218
217
  - lib/efl/native/elm/elm_panes.rb
219
- - lib/efl/native/elm/elm_password.rb
220
218
  - lib/efl/native/elm/elm_photo.rb
221
219
  - lib/efl/native/elm/elm_photocam.rb
222
220
  - lib/efl/native/elm/elm_plug.rb
221
+ - lib/efl/native/elm/elm_popup.rb
223
222
  - lib/efl/native/elm/elm_progressbar.rb
224
223
  - lib/efl/native/elm/elm_radio.rb
225
224
  - lib/efl/native/elm/elm_route.rb
@@ -1,22 +0,0 @@
1
- #! /usr/bin/env ruby
2
- # -*- coding: UTF-8 -*-
3
- #
4
- require 'efl/elm/elm_object'
5
- require 'efl/native/elm/elm_anchorview'
6
- #
7
- module Efl
8
- #
9
- module Elm
10
- #
11
- class ElmAnchorView < ElmObject
12
- #
13
- include Helper
14
- constructor :elm_anchorview_add
15
- search_prefixes 'elm_anchorview_'
16
- #
17
- end
18
- #
19
- end
20
- end
21
- #
22
- # EOF
@@ -1,55 +0,0 @@
1
- #! /usr/bin/env ruby
2
- # -*- coding: UTF-8 -*-
3
- #
4
- require 'efl/native'
5
- require 'efl/native/elementary'
6
- #
7
- module Efl
8
- #
9
- module ElmAnchorBlock
10
- #
11
- FCT_PREFIX = 'elm_anchorblock_' unless const_defined? :FCT_PREFIX
12
- #
13
- def self.method_missing meth, *args, &block
14
- sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15
- self.send sym, *args, &block
16
- end
17
- #
18
- end
19
- #
20
- module Native
21
- #
22
- ffi_lib 'elementary-ver-pre-svn-09.so.0'
23
- #
24
- # TYPEDEFS
25
- # typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
26
- typedef :pointer, :elm_entry_anchorblock_info
27
- #
28
- # FUNCTIONS
29
- fcts = [
30
- # EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent);
31
- [ :elm_anchorblock_add, [ :evas_object ], :evas_object ],
32
- # EAPI void elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
33
- [ :elm_anchorblock_hover_parent_set, [ :evas_object, :evas_object ], :void ],
34
- # EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj);
35
- [ :elm_anchorblock_hover_parent_get, [ :evas_object ], :evas_object ],
36
- # EAPI void elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style);
37
- [ :elm_anchorblock_hover_style_set, [ :evas_object, :string ], :void ],
38
- # EAPI const char *elm_anchorblock_hover_style_get(const Evas_Object *obj);
39
- [ :elm_anchorblock_hover_style_get, [ :evas_object ], :string ],
40
- # EAPI void elm_anchorblock_hover_end(Evas_Object *obj);
41
- [ :elm_anchorblock_hover_end, [ :evas_object ], :void ],
42
- # EAPI void elm_anchorblock_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * anchorblock, const char *item), void *data);
43
- # FIXME
44
- # EAPI void elm_anchorblock_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * anchorblock, const char *item), void *data);
45
- # FIXME
46
- # EAPI void elm_anchorblock_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * anchorblock, const char *item), void *data);
47
- # FIXME
48
- ]
49
- #
50
- attach_fcts fcts
51
- #
52
- end
53
- end
54
- #
55
- # EOF
@@ -1,59 +0,0 @@
1
- #! /usr/bin/env ruby
2
- # -*- coding: UTF-8 -*-
3
- #
4
- require 'efl/native'
5
- require 'efl/native/elementary'
6
- #
7
- module Efl
8
- #
9
- module ElmAnchorView
10
- #
11
- FCT_PREFIX = 'elm_anchorview_' unless const_defined? :FCT_PREFIX
12
- #
13
- def self.method_missing meth, *args, &block
14
- sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15
- self.send sym, *args, &block
16
- end
17
- #
18
- end
19
- #
20
- module Native
21
- #
22
- ffi_lib 'elementary-ver-pre-svn-09.so.0'
23
- #
24
- # TYPEDEFS
25
- # typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
26
- typedef :pointer, :elm_entry_anchorview_info
27
- #
28
- # FUNCTIONS
29
- fcts = [
30
- # EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent);
31
- [ :elm_anchorview_add, [ :evas_object ], :evas_object ],
32
- # EAPI void elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
33
- [ :elm_anchorview_hover_parent_set, [ :evas_object, :evas_object ], :void ],
34
- # EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj);
35
- [ :elm_anchorview_hover_parent_get, [ :evas_object ], :evas_object ],
36
- # EAPI void elm_anchorview_hover_style_set(Evas_Object *obj, const char *style);
37
- [ :elm_anchorview_hover_style_set, [ :evas_object, :string ], :void ],
38
- # EAPI const char *elm_anchorview_hover_style_get(const Evas_Object *obj);
39
- [ :elm_anchorview_hover_style_get, [ :evas_object ], :string ],
40
- # EAPI void elm_anchorview_hover_end(Evas_Object *obj);
41
- [ :elm_anchorview_hover_end, [ :evas_object ], :void ],
42
- # EAPI void elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
43
- [ :elm_anchorview_bounce_set, [ :evas_object, :bool, :bool ], :void ],
44
- # EAPI void elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
45
- [ :elm_anchorview_bounce_get, [ :evas_object, :pointer, :pointer ], :void ],
46
- # EAPI void elm_anchorview_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * anchorview, const char *item), void *data);
47
- # FIXME
48
- # EAPI void elm_anchorview_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * anchorview, const char *item), void *data);
49
- # FIXME
50
- # EAPI void elm_anchorview_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * anchorview, const char *item), void *data);
51
- # FIXME
52
- ]
53
- #
54
- attach_fcts fcts
55
- #
56
- end
57
- end
58
- #
59
- # EOF
@@ -1,41 +0,0 @@
1
- #! /usr/bin/env ruby
2
- # -*- coding: UTF-8 -*-
3
- #
4
- require 'efl/native'
5
- require 'efl/native/elementary'
6
- #
7
- module Efl
8
- #
9
- module ElmEngine
10
- #
11
- FCT_PREFIX = 'elm_engine_' unless const_defined? :FCT_PREFIX
12
- #
13
- def self.method_missing meth, *args, &block
14
- sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15
- self.send sym, *args, &block
16
- end
17
- #
18
- end
19
- #
20
- module Native
21
- #
22
- ffi_lib 'elementary-ver-pre-svn-09.so.0'
23
- #
24
- # FUNCTIONS
25
- fcts = [
26
- # EAPI const char *elm_engine_get(void);
27
- [ :elm_engine_get, [ ], :string ],
28
- # EAPI void elm_engine_set(const char *engine);
29
- [ :elm_engine_set, [ :string ], :void ],
30
- # EAPI const char *elm_preferred_engine_get(void);
31
- [ :elm_preferred_engine_get, [ ], :string ],
32
- # EAPI void elm_preferred_engine_set(const char *engine);
33
- [ :elm_preferred_engine_set, [ :string ], :void ],
34
- ]
35
- #
36
- attach_fcts fcts
37
- #
38
- end
39
- end
40
- #
41
- # EOF
@@ -1,41 +0,0 @@
1
- #! /usr/bin/env ruby
2
- # -*- coding: UTF-8 -*-
3
- #
4
- require 'efl/native'
5
- require 'efl/native/elementary'
6
- #
7
- module Efl
8
- #
9
- module ElmFactory
10
- #
11
- FCT_PREFIX = 'elm_factory_' unless const_defined? :FCT_PREFIX
12
- #
13
- def self.method_missing meth, *args, &block
14
- sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15
- self.send sym, *args, &block
16
- end
17
- #
18
- end
19
- #
20
- module Native
21
- #
22
- ffi_lib 'elementary-ver-pre-svn-09.so.0'
23
- #
24
- # FUNCTIONS
25
- fcts = [
26
- # EAPI Evas_Object *elm_factory_add(Evas_Object *parent);
27
- [ :elm_factory_add, [ :evas_object ], :evas_object ],
28
- # EAPI void elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled);
29
- [ :elm_factory_maxmin_mode_set, [ :evas_object, :bool ], :void ],
30
- # EAPI Eina_Bool elm_factory_maxmin_mode_get(const Evas_Object *obj);
31
- [ :elm_factory_maxmin_mode_get, [ :evas_object ], :bool ],
32
- # EAPI void elm_factory_maxmin_reset_set(Evas_Object *obj);
33
- [ :elm_factory_maxmin_reset_set, [ :evas_object ], :void ],
34
- ]
35
- #
36
- attach_fcts fcts
37
- #
38
- end
39
- end
40
- #
41
- # EOF
@@ -1,41 +0,0 @@
1
- #! /usr/bin/env ruby
2
- # -*- coding: UTF-8 -*-
3
- #
4
- require 'efl/native'
5
- require 'efl/native/elementary'
6
- #
7
- module Efl
8
- #
9
- module ElmPassword
10
- #
11
- FCT_PREFIX = 'elm_password_' unless const_defined? :FCT_PREFIX
12
- #
13
- def self.method_missing meth, *args, &block
14
- sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
15
- self.send sym, *args, &block
16
- end
17
- #
18
- end
19
- #
20
- module Native
21
- #
22
- ffi_lib 'elementary-ver-pre-svn-09.so.0'
23
- #
24
- # FUNCTIONS
25
- fcts = [
26
- # EAPI Eina_Bool elm_password_show_last_get(void);
27
- [ :elm_password_show_last_get, [ ], :bool ],
28
- # EAPI void elm_password_show_last_set(Eina_Bool password_show_last);
29
- [ :elm_password_show_last_set, [ :bool ], :void ],
30
- # EAPI double elm_password_show_last_timeout_get(void);
31
- [ :elm_password_show_last_timeout_get, [ ], :double ],
32
- # EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout);
33
- [ :elm_password_show_last_timeout_set, [ :double ], :void ],
34
- ]
35
- #
36
- attach_fcts fcts
37
- #
38
- end
39
- end
40
- #
41
- # EOF