ffi-efl 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -0
- data/Gemfile.lock +28 -0
- data/README.md +1 -1
- data/lib/efl.rb +1 -1
- data/lib/efl/native/ecore_evas.rb +2 -0
- data/lib/efl/native/ecore_input.rb +7 -1
- data/lib/efl/native/edje.rb +4 -2
- data/lib/efl/native/eet.rb +1 -1
- data/lib/efl/native/elm/elm_calendar.rb +1 -1
- data/lib/efl/native/elm/elm_cnp.rb +4 -0
- data/lib/efl/native/elm/elm_config.rb +12 -0
- data/lib/efl/native/elm/elm_entry.rb +6 -0
- data/lib/efl/native/elm/elm_genlist.rb +1 -1
- data/lib/efl/native/elm/elm_icon.rb +0 -46
- data/lib/efl/native/elm/elm_image.rb +12 -0
- data/lib/efl/native/elm/elm_layout.rb +5 -1
- data/lib/efl/native/elm/elm_list.rb +0 -8
- data/lib/efl/native/elm/elm_map.rb +8 -0
- data/lib/efl/native/elm/elm_multibuttonentry.rb +4 -0
- data/lib/efl/native/elm/elm_photocam.rb +0 -4
- data/lib/efl/native/elm/elm_progressbar.rb +2 -0
- data/lib/efl/native/elm/elm_scroll.rb +4 -0
- data/lib/efl/native/elm/elm_scroller.rb +0 -2
- data/lib/efl/native/elm/elm_toolbar.rb +6 -0
- data/lib/efl/native/elm/elm_win.rb +12 -10
- data/lib/efl/native/evas.rb +472 -436
- data/test/test_elm_win.rb +1 -1
- data/test/test_evas.rb +1 -1
- data/tools/extract-api.sh +1 -1
- data/tools/genruby.rb +3 -3
- metadata +5 -2
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
ffi-efl (0.0.14)
|
5
|
+
ffi
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: http://rubygems.org/
|
9
|
+
specs:
|
10
|
+
diff-lcs (1.1.3)
|
11
|
+
ffi (1.0.11)
|
12
|
+
rake (0.9.2.2)
|
13
|
+
rspec (2.11.0)
|
14
|
+
rspec-core (~> 2.11.0)
|
15
|
+
rspec-expectations (~> 2.11.0)
|
16
|
+
rspec-mocks (~> 2.11.0)
|
17
|
+
rspec-core (2.11.0)
|
18
|
+
rspec-expectations (2.11.1)
|
19
|
+
diff-lcs (~> 1.1.3)
|
20
|
+
rspec-mocks (2.11.1)
|
21
|
+
|
22
|
+
PLATFORMS
|
23
|
+
ruby
|
24
|
+
|
25
|
+
DEPENDENCIES
|
26
|
+
ffi-efl!
|
27
|
+
rake
|
28
|
+
rspec (~> 2.6)
|
data/README.md
CHANGED
@@ -29,7 +29,7 @@ A ruby-ffi binding to [efl](http://www.enlightenment.org/p.php?p=docs&l=en) libr
|
|
29
29
|
def feed
|
30
30
|
@bg = Elm::ElmBg.new(self) do
|
31
31
|
size_hint_weight_expand
|
32
|
-
evas_object_color_set
|
32
|
+
evas_object_color_set 150,180,100,180
|
33
33
|
show
|
34
34
|
end
|
35
35
|
resize_object_add @bg
|
data/lib/efl.rb
CHANGED
@@ -447,6 +447,8 @@ module Efl
|
|
447
447
|
[ :ecore_evas_comp_sync_get, [ :ecore_evas ], :bool ],
|
448
448
|
# EAPI void ecore_evas_screen_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int *h);
|
449
449
|
[ :ecore_evas_screen_geometry_get, [ :ecore_evas, :pointer, :pointer, :pointer, :pointer ], :void ],
|
450
|
+
# EAPI void ecore_evas_screen_dpi_get(const Ecore_Evas *ee, int *xdpi, int *ydpi);
|
451
|
+
[ :ecore_evas_screen_dpi_get, [ :ecore_evas, :pointer, :pointer ], :void ],
|
450
452
|
# EAPI void ecore_evas_draw_frame_set(Ecore_Evas *ee, Eina_Bool draw_frame);
|
451
453
|
[ :ecore_evas_draw_frame_set, [ :ecore_evas, :bool ], :void ],
|
452
454
|
# EAPI Eina_Bool ecore_evas_draw_frame_get(const Ecore_Evas *ee);
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# -*- coding: UTF-8 -*-
|
3
3
|
#
|
4
4
|
require 'efl/native'
|
5
|
+
require 'efl/native/eina_list'
|
5
6
|
#
|
6
7
|
module Efl
|
7
8
|
#
|
@@ -22,11 +23,14 @@ module Efl
|
|
22
23
|
#
|
23
24
|
# ENUMS
|
24
25
|
# typedef enum _Ecore_Event_Modifier {...} Ecore_Event_Modifier;
|
25
|
-
enum :ecore_event_modifier, [ :ecore_none, :ecore_shift, :ecore_ctrl, :ecore_alt, :ecore_win, :ecore_scroll, :ecore_caps, :
|
26
|
+
enum :ecore_event_modifier, [ :ecore_none, :ecore_shift, :ecore_ctrl, :ecore_alt, :ecore_win, :ecore_scroll, :ecore_caps, :ecore_mode,
|
27
|
+
:ecore_last ]
|
26
28
|
# typedef enum _Ecore_Event_Press {...} Ecore_Event_Press;
|
27
29
|
enum :ecore_event_press, [ :ecore_down, :ecore_up ]
|
28
30
|
# typedef enum _Ecore_Event_IO {...} Ecore_Event_IO;
|
29
31
|
enum :ecore_event_io, [ :ecore_in, :ecore_out ]
|
32
|
+
# typedef enum _Ecore_Compose_State {...} Ecore_Compose_State;
|
33
|
+
enum :ecore_compose_state, [ :ecore_compose_none, :ecore_compose_middle, :ecore_compose_done ]
|
30
34
|
#
|
31
35
|
# TYPEDEFS
|
32
36
|
# typedef uintptr_t Ecore_Window;
|
@@ -72,6 +76,8 @@ module Efl
|
|
72
76
|
[ :ecore_event_modifier_mask, [ :ecore_event_modifier ], :uint ],
|
73
77
|
# EAPI Ecore_Event_Modifier ecore_event_update_modifier(const char *key, Ecore_Event_Modifiers *modifiers, int inc);
|
74
78
|
[ :ecore_event_update_modifier, [ :string, :ecore_event_modifiers, :int ], :ecore_event_modifier ],
|
79
|
+
# EAPI Ecore_Compose_State ecore_compose_get(const Eina_List *seq, char **seqstr_ret);
|
80
|
+
[ :ecore_compose_get, [ :eina_list, :pointer ], :ecore_compose_state ],
|
75
81
|
]
|
76
82
|
#
|
77
83
|
attach_fcts fcts
|
data/lib/efl/native/edje.rb
CHANGED
@@ -35,7 +35,7 @@ module Efl
|
|
35
35
|
# typedef enum _Edje_Part_Type {...} Edje_Part_Type;
|
36
36
|
enum :edje_part_type, [ :edje_part_type_none, 0, :edje_part_type_rectangle, 1, :edje_part_type_text, 2, :edje_part_type_image, 3,
|
37
37
|
:edje_part_type_swallow, 4, :edje_part_type_textblock, 5, :edje_part_type_gradient, 6, :edje_part_type_group, 7, :edje_part_type_box, 8,
|
38
|
-
:edje_part_type_table, 9, :edje_part_type_external, 10, :edje_part_type_proxy, 11, :
|
38
|
+
:edje_part_type_table, 9, :edje_part_type_external, 10, :edje_part_type_proxy, 11, :edje_part_type_spacer, 12, :edje_part_type_last, 13 ]
|
39
39
|
# typedef enum _Edje_Text_Effect {...} Edje_Text_Effect;
|
40
40
|
enum :edje_text_effect, [ :edje_text_effect_none, 0, :edje_text_effect_plain, 1, :edje_text_effect_outline, 2, :edje_text_effect_soft_outline,
|
41
41
|
3, :edje_text_effect_shadow, 4, :edje_text_effect_soft_shadow, 5, :edje_text_effect_outline_shadow, 6, :edje_text_effect_outline_soft_shadow, 7,
|
@@ -476,7 +476,9 @@ module Efl
|
|
476
476
|
[ :edje_object_part_box_remove_at, [ :evas_object, :string, :uint ], :evas_object ],
|
477
477
|
# EAPI Eina_Bool edje_object_part_box_remove_all (Evas_Object *obj, const char *part, Eina_Bool clear);
|
478
478
|
[ :edje_object_part_box_remove_all, [ :evas_object, :string, :bool ], :bool ],
|
479
|
-
# EAPI
|
479
|
+
# EAPI Eina_List * edje_object_access_part_list_get (const Evas_Object *obj);
|
480
|
+
[ :edje_object_access_part_list_get, [ :evas_object ], :eina_list ],
|
481
|
+
# EAPI Evas_Object *edje_object_part_table_child_get (const Evas_Object *obj, const char *part, unsigned int col, unsigned int row);
|
480
482
|
[ :edje_object_part_table_child_get, [ :evas_object, :string, :uint, :uint ], :evas_object ],
|
481
483
|
# EAPI Eina_Bool edje_object_part_table_pack (Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan);
|
482
484
|
[ :edje_object_part_table_pack, [ :evas_object, :string, :evas_object, :ushort, :ushort, :ushort, :ushort ], :bool ],
|
data/lib/efl/native/eet.rb
CHANGED
@@ -232,7 +232,7 @@ module Efl
|
|
232
232
|
[ :eet_eina_file_data_descriptor_class_set, [ :eet_data_descriptor_class, :uint, :string, :int ], :bool ],
|
233
233
|
# EAPI void eet_data_descriptor_free(Eet_Data_Descriptor *edd);
|
234
234
|
[ :eet_data_descriptor_free, [ :eet_data_descriptor ], :void ],
|
235
|
-
# EAPI void eet_data_descriptor_element_add(Eet_Data_Descriptor *edd, const char *name, int type, int group_type, int offset,
|
235
|
+
# EAPI void eet_data_descriptor_element_add(Eet_Data_Descriptor *edd, const char *name, int type, int group_type, int offset, /* int count_offset, */
|
236
236
|
# int count, const char *counter_name, Eet_Data_Descriptor *subtype);
|
237
237
|
[ :eet_data_descriptor_element_add, [ :eet_data_descriptor, :string, :int, :int, :int, :int, :string, :eet_data_descriptor ], :void ],
|
238
238
|
# EAPI void * eet_data_read(Eet_File *ef, Eet_Data_Descriptor *edd, const char *name);
|
@@ -24,7 +24,7 @@ module Efl
|
|
24
24
|
# ENUMS
|
25
25
|
# typedef enum {...} _Elm_Calendar_Mark_Repeat_Type;
|
26
26
|
enum :_elm_calendar_mark_repeat_type, [ :elm_calendar_unique, :elm_calendar_daily, :elm_calendar_weekly, :elm_calendar_monthly,
|
27
|
-
:elm_calendar_annually ]
|
27
|
+
:elm_calendar_annually, :elm_calendar_last_day_of_month ]
|
28
28
|
# typedef enum {...} _Elm_Calendar_Weekday;
|
29
29
|
enum :_elm_calendar_weekday, [ :elm_day_sunday, :elm_day_monday, :elm_day_tuesday, :elm_day_wednesday, :elm_day_thursday, :elm_day_friday,
|
30
30
|
:elm_day_saturday, :elm_day_last ]
|
@@ -35,6 +35,8 @@ module Efl
|
|
35
35
|
# CALLBACKS
|
36
36
|
# typedef Eina_Bool (*Elm_Drop_Cb) (void *data, Evas_Object *obj, Elm_Selection_Data *ev);
|
37
37
|
callback :elm_drop_cb, [ :pointer, :evas_object, :elm_selection_data ], :bool
|
38
|
+
# typedef void (*Elm_Selection_Loss_Cb) (void *data, Elm_Sel_Type selection);
|
39
|
+
callback :elm_selection_loss_cb, [ :pointer, :elm_sel_type ], :void
|
38
40
|
#
|
39
41
|
# FUNCTIONS
|
40
42
|
fcts = [
|
@@ -44,6 +46,8 @@ module Efl
|
|
44
46
|
[ :elm_cnp_selection_get, [ :evas_object, :elm_sel_type, :elm_sel_format, :elm_drop_cb, :pointer ], :bool ],
|
45
47
|
# EAPI Eina_Bool elm_object_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection);
|
46
48
|
[ :elm_object_cnp_selection_clear, [ :evas_object, :elm_sel_type ], :bool ],
|
49
|
+
# EAPI void elm_cnp_selection_loss_callback_set(Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data);
|
50
|
+
[ :elm_cnp_selection_loss_callback_set, [ :elm_sel_type, :elm_selection_loss_cb, :pointer ], :void ],
|
47
51
|
]
|
48
52
|
#
|
49
53
|
attach_fcts fcts
|
@@ -21,6 +21,10 @@ module Efl
|
|
21
21
|
#
|
22
22
|
ffi_lib 'elementary'
|
23
23
|
#
|
24
|
+
# ENUMS
|
25
|
+
# typedef enum _Elm_Softcursor_Mode {...} Elm_Softcursor_Mode;
|
26
|
+
enum :elm_softcursor_mode, [ :elm_softcursor_mode_auto, :elm_softcursor_mode_on, :elm_softcursor_mode_off ]
|
27
|
+
#
|
24
28
|
# TYPEDEFS
|
25
29
|
# typedef struct _Elm_Text_Class Elm_Text_Class;
|
26
30
|
typedef :pointer, :elm_text_class
|
@@ -95,6 +99,10 @@ module Efl
|
|
95
99
|
[ :elm_config_longpress_timeout_get, [ ], :double ],
|
96
100
|
# EAPI void elm_config_longpress_timeout_set(double longpress_timeout);
|
97
101
|
[ :elm_config_longpress_timeout_set, [ :double ], :void ],
|
102
|
+
# EAPI void elm_config_softcursor_mode_set(Elm_Softcursor_Mode mode);
|
103
|
+
[ :elm_config_softcursor_mode_set, [ :elm_softcursor_mode ], :void ],
|
104
|
+
# EAPI Elm_Softcursor_Mode elm_config_softcursor_mode_get(void);
|
105
|
+
[ :elm_config_softcursor_mode_get, [ ], :elm_softcursor_mode ],
|
98
106
|
# EAPI double elm_config_tooltip_delay_get(void);
|
99
107
|
[ :elm_config_tooltip_delay_get, [ ], :double ],
|
100
108
|
# EAPI void elm_config_tooltip_delay_set(double delay);
|
@@ -131,6 +139,10 @@ module Efl
|
|
131
139
|
[ :elm_config_font_overlay_list_get, [ ], :eina_list ],
|
132
140
|
# EAPI void elm_config_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
|
133
141
|
[ :elm_config_font_overlay_set, [ :string, :string, :int ], :void ],
|
142
|
+
# EAPI Eina_Bool elm_config_access_get(void);
|
143
|
+
[ :elm_config_access_get, [ ], :bool ],
|
144
|
+
# EAPI void elm_config_access_set(Eina_Bool is_access);
|
145
|
+
[ :elm_config_access_set, [ :bool ], :void ],
|
134
146
|
# EAPI void elm_config_font_overlay_unset(const char *text_class);
|
135
147
|
[ :elm_config_font_overlay_unset, [ :string ], :void ],
|
136
148
|
# EAPI void elm_config_font_overlay_apply(void);
|
@@ -68,6 +68,12 @@ module Efl
|
|
68
68
|
fcts = [
|
69
69
|
# EAPI Evas_Object *elm_entry_add(Evas_Object *parent);
|
70
70
|
[ :elm_entry_add, [ :evas_object ], :evas_object ],
|
71
|
+
# EAPI void elm_entry_text_style_user_push(Evas_Object *obj, const char *style);
|
72
|
+
[ :elm_entry_text_style_user_push, [ :evas_object, :string ], :void ],
|
73
|
+
# EAPI void elm_entry_text_style_user_pop(Evas_Object *obj);
|
74
|
+
[ :elm_entry_text_style_user_pop, [ :evas_object ], :void ],
|
75
|
+
# EAPI const char* elm_entry_text_style_user_peek(const Evas_Object *obj);
|
76
|
+
[ :elm_entry_text_style_user_peek, [ :evas_object ], :pointer ],
|
71
77
|
# EAPI void elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
|
72
78
|
[ :elm_entry_single_line_set, [ :evas_object, :bool ], :void ],
|
73
79
|
# EAPI Eina_Bool elm_entry_single_line_get(const Evas_Object *obj);
|
@@ -190,7 +190,7 @@ module Efl
|
|
190
190
|
[ :elm_genlist_item_decorate_mode_set, [ :elm_object_item, :string, :bool ], :void ],
|
191
191
|
# EAPI const char *elm_genlist_item_decorate_mode_get(const Elm_Object_Item *it);
|
192
192
|
[ :elm_genlist_item_decorate_mode_get, [ :elm_object_item ], :string ],
|
193
|
-
# EAPI
|
193
|
+
# EAPI Elm_Object_Item *elm_genlist_decorated_item_get(const Evas_Object *obj);
|
194
194
|
[ :elm_genlist_decorated_item_get, [ :evas_object ], :elm_object_item ],
|
195
195
|
# EAPI void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode);
|
196
196
|
[ :elm_genlist_reorder_mode_set, [ :evas_object, :bool ], :void ],
|
@@ -31,62 +31,16 @@ module Efl
|
|
31
31
|
fcts = [
|
32
32
|
# EAPI Evas_Object *elm_icon_add(Evas_Object *parent);
|
33
33
|
[ :elm_icon_add, [ :evas_object ], :evas_object ],
|
34
|
-
# EAPI Eina_Bool elm_icon_file_set(Evas_Object *obj, const char *file, const char *group);
|
35
|
-
[ :elm_icon_file_set, [ :evas_object, :string, :string ], :bool ],
|
36
|
-
# EAPI Eina_Bool elm_icon_memfile_set(Evas_Object *obj, const void *img, size_t size, const char *format, const char *key);
|
37
|
-
[ :elm_icon_memfile_set, [ :evas_object, :pointer, :ulong, :string, :string ], :bool ],
|
38
|
-
# EAPI void elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group);
|
39
|
-
[ :elm_icon_file_get, [ :evas_object, :pointer, :pointer ], :void ],
|
40
34
|
# EAPI void elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group);
|
41
35
|
[ :elm_icon_thumb_set, [ :evas_object, :string, :string ], :void ],
|
42
36
|
# EAPI Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *name);
|
43
37
|
[ :elm_icon_standard_set, [ :evas_object, :string ], :bool ],
|
44
38
|
# EAPI const char *elm_icon_standard_get(const Evas_Object *obj);
|
45
39
|
[ :elm_icon_standard_get, [ :evas_object ], :string ],
|
46
|
-
# EAPI void elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth);
|
47
|
-
[ :elm_icon_smooth_set, [ :evas_object, :bool ], :void ],
|
48
|
-
# EAPI Eina_Bool elm_icon_smooth_get(const Evas_Object *obj);
|
49
|
-
[ :elm_icon_smooth_get, [ :evas_object ], :bool ],
|
50
|
-
# EAPI void elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale);
|
51
|
-
[ :elm_icon_no_scale_set, [ :evas_object, :bool ], :void ],
|
52
|
-
# EAPI Eina_Bool elm_icon_no_scale_get(const Evas_Object *obj);
|
53
|
-
[ :elm_icon_no_scale_get, [ :evas_object ], :bool ],
|
54
|
-
# EAPI void elm_icon_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool size_down);
|
55
|
-
[ :elm_icon_resizable_set, [ :evas_object, :bool, :bool ], :void ],
|
56
|
-
# EAPI void elm_icon_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down);
|
57
|
-
[ :elm_icon_resizable_get, [ :evas_object, :pointer, :pointer ], :void ],
|
58
|
-
# EAPI void elm_icon_size_get(const Evas_Object *obj, int *w, int *h);
|
59
|
-
[ :elm_icon_size_get, [ :evas_object, :pointer, :pointer ], :void ],
|
60
|
-
# EAPI void elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
|
61
|
-
[ :elm_icon_fill_outside_set, [ :evas_object, :bool ], :void ],
|
62
|
-
# EAPI Eina_Bool elm_icon_fill_outside_get(const Evas_Object *obj);
|
63
|
-
[ :elm_icon_fill_outside_get, [ :evas_object ], :bool ],
|
64
|
-
# EAPI void elm_icon_prescale_set(Evas_Object *obj, int size);
|
65
|
-
[ :elm_icon_prescale_set, [ :evas_object, :int ], :void ],
|
66
|
-
# EAPI int elm_icon_prescale_get(const Evas_Object *obj);
|
67
|
-
[ :elm_icon_prescale_get, [ :evas_object ], :int ],
|
68
|
-
# EAPI Evas_Object *elm_icon_object_get(Evas_Object *obj);
|
69
|
-
[ :elm_icon_object_get, [ :evas_object ], :evas_object ],
|
70
40
|
# EAPI void elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order);
|
71
41
|
[ :elm_icon_order_lookup_set, [ :evas_object, :elm_icon_lookup_order ], :void ],
|
72
42
|
# EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj);
|
73
43
|
[ :elm_icon_order_lookup_get, [ :evas_object ], :elm_icon_lookup_order ],
|
74
|
-
# EAPI void elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled);
|
75
|
-
[ :elm_icon_preload_disabled_set, [ :evas_object, :bool ], :void ],
|
76
|
-
# EAPI Eina_Bool elm_icon_animated_available_get(const Evas_Object *obj);
|
77
|
-
[ :elm_icon_animated_available_get, [ :evas_object ], :bool ],
|
78
|
-
# EAPI void elm_icon_animated_set(Evas_Object *obj, Eina_Bool animated);
|
79
|
-
[ :elm_icon_animated_set, [ :evas_object, :bool ], :void ],
|
80
|
-
# EAPI Eina_Bool elm_icon_animated_get(const Evas_Object *obj);
|
81
|
-
[ :elm_icon_animated_get, [ :evas_object ], :bool ],
|
82
|
-
# EAPI void elm_icon_animated_play_set(Evas_Object *obj, Eina_Bool play);
|
83
|
-
[ :elm_icon_animated_play_set, [ :evas_object, :bool ], :void ],
|
84
|
-
# EAPI Eina_Bool elm_icon_animated_play_get(const Evas_Object *obj);
|
85
|
-
[ :elm_icon_animated_play_get, [ :evas_object ], :bool ],
|
86
|
-
# EAPI void elm_icon_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed);
|
87
|
-
[ :elm_icon_aspect_fixed_set, [ :evas_object, :bool ], :void ],
|
88
|
-
# EAPI Eina_Bool elm_icon_aspect_fixed_get(const Evas_Object *obj);
|
89
|
-
[ :elm_icon_aspect_fixed_get, [ :evas_object ], :bool ],
|
90
44
|
]
|
91
45
|
#
|
92
46
|
attach_fcts fcts
|
@@ -30,6 +30,8 @@ module Efl
|
|
30
30
|
fcts = [
|
31
31
|
# EAPI Evas_Object *elm_image_add(Evas_Object *parent);
|
32
32
|
[ :elm_image_add, [ :evas_object ], :evas_object ],
|
33
|
+
# EAPI Eina_Bool elm_image_memfile_set(Evas_Object *obj, const void *img, size_t size, const char *format, const char *key);
|
34
|
+
[ :elm_image_memfile_set, [ :evas_object, :pointer, :ulong, :string, :string ], :bool ],
|
33
35
|
# EAPI Eina_Bool elm_image_file_set(Evas_Object *obj, const char *file, const char *group);
|
34
36
|
[ :elm_image_file_set, [ :evas_object, :string, :string ], :bool ],
|
35
37
|
# EAPI void elm_image_file_get(const Evas_Object *obj, const char **file, const char **group);
|
@@ -72,6 +74,16 @@ module Efl
|
|
72
74
|
[ :elm_image_aspect_fixed_set, [ :evas_object, :bool ], :void ],
|
73
75
|
# EAPI Eina_Bool elm_image_aspect_fixed_get(const Evas_Object *obj);
|
74
76
|
[ :elm_image_aspect_fixed_get, [ :evas_object ], :bool ],
|
77
|
+
# EAPI Eina_Bool elm_image_animated_available_get(const Evas_Object *obj);
|
78
|
+
[ :elm_image_animated_available_get, [ :evas_object ], :bool ],
|
79
|
+
# EAPI void elm_image_animated_set(Evas_Object *obj, Eina_Bool animated);
|
80
|
+
[ :elm_image_animated_set, [ :evas_object, :bool ], :void ],
|
81
|
+
# EAPI Eina_Bool elm_image_animated_get(const Evas_Object *obj);
|
82
|
+
[ :elm_image_animated_get, [ :evas_object ], :bool ],
|
83
|
+
# EAPI void elm_image_animated_play_set(Evas_Object *obj, Eina_Bool play);
|
84
|
+
[ :elm_image_animated_play_set, [ :evas_object, :bool ], :void ],
|
85
|
+
# EAPI Eina_Bool elm_image_animated_play_get(const Evas_Object *obj);
|
86
|
+
[ :elm_image_animated_play_get, [ :evas_object ], :bool ],
|
75
87
|
]
|
76
88
|
#
|
77
89
|
attach_fcts fcts
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# -*- coding: UTF-8 -*-
|
3
3
|
#
|
4
4
|
require 'efl/native'
|
5
|
-
require 'efl/native/
|
5
|
+
require 'efl/native/edje'
|
6
6
|
#
|
7
7
|
module Efl
|
8
8
|
#
|
@@ -71,6 +71,10 @@ module Efl
|
|
71
71
|
[ :elm_layout_part_cursor_style_get, [ :evas_object, :string ], :string ],
|
72
72
|
# EAPI Eina_Bool elm_layout_part_cursor_engine_only_set(Evas_Object *obj, const char *part_name, Eina_Bool engine_only);
|
73
73
|
[ :elm_layout_part_cursor_engine_only_set, [ :evas_object, :string, :bool ], :bool ],
|
74
|
+
# EAPI Eina_Bool elm_layout_edje_object_can_access_set(Evas_Object *obj, Eina_Bool can_access);
|
75
|
+
[ :elm_layout_edje_object_can_access_set, [ :evas_object, :bool ], :bool ],
|
76
|
+
# EAPI Eina_Bool elm_layout_edje_object_can_access_get(Evas_Object *obj);
|
77
|
+
[ :elm_layout_edje_object_can_access_get, [ :evas_object ], :bool ],
|
74
78
|
# EAPI Eina_Bool elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name);
|
75
79
|
[ :elm_layout_part_cursor_engine_only_get, [ :evas_object, :string ], :bool ],
|
76
80
|
# EAPI Eina_Bool elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
|
@@ -48,14 +48,6 @@ module Efl
|
|
48
48
|
[ :elm_list_select_mode_set, [ :evas_object, :elm_object_select_mode ], :void ],
|
49
49
|
# EAPI Elm_Object_Select_Mode elm_list_select_mode_get(const Evas_Object *obj);
|
50
50
|
[ :elm_list_select_mode_get, [ :evas_object ], :elm_object_select_mode ],
|
51
|
-
# EAPI void elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
|
52
|
-
[ :elm_list_bounce_set, [ :evas_object, :bool, :bool ], :void ],
|
53
|
-
# EAPI void elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
|
54
|
-
[ :elm_list_bounce_get, [ :evas_object, :pointer, :pointer ], :void ],
|
55
|
-
# EAPI void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
|
56
|
-
[ :elm_list_scroller_policy_set, [ :evas_object, :elm_scroller_policy, :elm_scroller_policy ], :void ],
|
57
|
-
# EAPI void elm_list_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);
|
58
|
-
[ :elm_list_scroller_policy_get, [ :evas_object, :pointer, :pointer ], :void ],
|
59
51
|
# 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);
|
60
52
|
[ :elm_list_item_append, [ :evas_object, :string, :evas_object, :evas_object, :evas_smart_cb, :pointer ], :elm_object_item ],
|
61
53
|
# 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);
|
@@ -63,6 +63,8 @@ module Efl
|
|
63
63
|
callback :elm_map_group_icon_get_func_cb, [ :evas_object, :pointer ], :evas_object
|
64
64
|
# typedef void (*Elm_Map_Overlay_Get_Cb) (void *data, Evas_Object *map, Elm_Map_Overlay *overlay);
|
65
65
|
callback :elm_map_overlay_get_cb, [ :pointer, :evas_object, :elm_map_overlay ], :void
|
66
|
+
# typedef void (*Elm_Map_Overlay_Del_Cb) (void *data, Evas_Object *map, Elm_Map_Overlay *overlay);
|
67
|
+
callback :elm_map_overlay_del_cb, [ :pointer, :evas_object, :elm_map_overlay ], :void
|
66
68
|
# typedef void (*Elm_Map_Name_Cb) (void *data, Evas_Object *map, Elm_Map_Name *name);
|
67
69
|
callback :elm_map_name_cb, [ :pointer, :evas_object, :elm_map_name ], :void
|
68
70
|
# typedef void (*Elm_Map_Route_Cb) (void *data, Evas_Object *map, Elm_Map_Route *route);
|
@@ -116,6 +118,8 @@ module Efl
|
|
116
118
|
[ :elm_map_user_agent_get, [ :evas_object ], :string ],
|
117
119
|
# EAPI Elm_Map_Overlay * elm_map_overlay_add(Evas_Object *obj, double lon, double lat);
|
118
120
|
[ :elm_map_overlay_add, [ :evas_object, :double, :double ], :elm_map_overlay ],
|
121
|
+
# EAPI EAPI Eina_List * elm_map_overlays_get(Evas_Object *obj);
|
122
|
+
[ :elm_map_overlays_get, [ :evas_object ], :pointer ],
|
119
123
|
# EAPI void elm_map_overlay_del(Elm_Map_Overlay *overlay);
|
120
124
|
[ :elm_map_overlay_del, [ :elm_map_overlay ], :void ],
|
121
125
|
# EAPI Elm_Map_Overlay_Type elm_map_overlay_type_get(const Elm_Map_Overlay *overlay);
|
@@ -136,6 +140,8 @@ module Efl
|
|
136
140
|
[ :elm_map_overlay_paused_set, [ :elm_map_overlay, :bool ], :void ],
|
137
141
|
# EAPI Eina_Bool elm_map_overlay_paused_get(const Elm_Map_Overlay *overlay);
|
138
142
|
[ :elm_map_overlay_paused_get, [ :elm_map_overlay ], :bool ],
|
143
|
+
# EAPI Eina_Bool elm_map_overlay_visible_get(const Elm_Map_Overlay *overlay);
|
144
|
+
[ :elm_map_overlay_visible_get, [ :elm_map_overlay ], :bool ],
|
139
145
|
# EAPI void elm_map_overlay_content_set(Elm_Map_Overlay *overlay, Evas_Object *obj);
|
140
146
|
[ :elm_map_overlay_content_set, [ :elm_map_overlay, :evas_object ], :void ],
|
141
147
|
# EAPI const Evas_Object * elm_map_overlay_content_get(const Elm_Map_Overlay *overlay);
|
@@ -158,6 +164,8 @@ module Efl
|
|
158
164
|
[ :elm_map_overlays_show, [ :eina_list ], :void ],
|
159
165
|
# EAPI void elm_map_overlay_get_cb_set(Elm_Map_Overlay *overlay, Elm_Map_Overlay_Get_Cb get_cb, void *data);
|
160
166
|
[ :elm_map_overlay_get_cb_set, [ :elm_map_overlay, :elm_map_overlay_get_cb, :pointer ], :void ],
|
167
|
+
# EAPI void elm_map_overlay_del_cb_set(Elm_Map_Overlay *overlay, Elm_Map_Overlay_Del_Cb del_cb, void *data);
|
168
|
+
[ :elm_map_overlay_del_cb_set, [ :elm_map_overlay, :elm_map_overlay_del_cb, :pointer ], :void ],
|
161
169
|
# EAPI Elm_Map_Overlay * elm_map_overlay_class_add(Evas_Object *obj);
|
162
170
|
[ :elm_map_overlay_class_add, [ :evas_object ], :elm_map_overlay ],
|
163
171
|
# EAPI void elm_map_overlay_class_append(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay);
|
@@ -67,6 +67,10 @@ module Efl
|
|
67
67
|
[ :elm_multibuttonentry_item_filter_prepend, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ],
|
68
68
|
# EAPI void elm_multibuttonentry_item_filter_remove(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
|
69
69
|
[ :elm_multibuttonentry_item_filter_remove, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ],
|
70
|
+
# EAPI void elm_multibuttonentry_editable_set(Evas_Object *obj, Eina_Bool editable);
|
71
|
+
[ :elm_multibuttonentry_editable_set, [ :evas_object, :bool ], :void ],
|
72
|
+
# EAPI Eina_Bool elm_multibuttonentry_editable_get(const Evas_Object *obj);
|
73
|
+
[ :elm_multibuttonentry_editable_get, [ :evas_object ], :bool ],
|
70
74
|
]
|
71
75
|
#
|
72
76
|
attach_fcts fcts
|
@@ -56,10 +56,6 @@ module Efl
|
|
56
56
|
[ :elm_photocam_paused_get, [ :evas_object ], :bool ],
|
57
57
|
# EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj);
|
58
58
|
[ :elm_photocam_internal_image_get, [ :evas_object ], :evas_object ],
|
59
|
-
# EAPI void elm_photocam_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
|
60
|
-
[ :elm_photocam_bounce_set, [ :evas_object, :bool, :bool ], :void ],
|
61
|
-
# EAPI void elm_photocam_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
|
62
|
-
[ :elm_photocam_bounce_get, [ :evas_object, :pointer, :pointer ], :void ],
|
63
59
|
# EAPI void elm_photocam_gesture_enabled_set(Evas_Object *obj, Eina_Bool gesture);
|
64
60
|
[ :elm_photocam_gesture_enabled_set, [ :evas_object, :bool ], :void ],
|
65
61
|
# EAPI Eina_Bool elm_photocam_gesture_enabled_get(const Evas_Object *obj);
|
@@ -43,6 +43,8 @@ module Efl
|
|
43
43
|
[ :elm_progressbar_unit_format_set, [ :evas_object, :string ], :void ],
|
44
44
|
# EAPI const char *elm_progressbar_unit_format_get(const Evas_Object *obj);
|
45
45
|
[ :elm_progressbar_unit_format_get, [ :evas_object ], :string ],
|
46
|
+
# EAPI void elm_progressbar_unit_format_function_set(Evas_Object *obj, char *(func)(double), void (*free_func) (char *));
|
47
|
+
[ :elm_progressbar_unit_format_function_set, [ :evas_object, ( callback [:double], :string ), (callback [:string], :void) ], :void ],
|
46
48
|
# EAPI void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
|
47
49
|
[ :elm_progressbar_horizontal_set, [ :evas_object, :bool ], :void ],
|
48
50
|
# EAPI Eina_Bool elm_progressbar_horizontal_get(const Evas_Object *obj);
|
@@ -27,10 +27,14 @@ module Efl
|
|
27
27
|
[ :elm_object_scroll_hold_push, [ :evas_object ], :void ],
|
28
28
|
# EAPI void elm_object_scroll_hold_pop(Evas_Object *obj);
|
29
29
|
[ :elm_object_scroll_hold_pop, [ :evas_object ], :void ],
|
30
|
+
# EAPI int elm_object_scroll_hold_get(const Evas_Object *obj);
|
31
|
+
[ :elm_object_scroll_hold_get, [ :evas_object ], :int ],
|
30
32
|
# EAPI void elm_object_scroll_freeze_push(Evas_Object *obj);
|
31
33
|
[ :elm_object_scroll_freeze_push, [ :evas_object ], :void ],
|
32
34
|
# EAPI void elm_object_scroll_freeze_pop(Evas_Object *obj);
|
33
35
|
[ :elm_object_scroll_freeze_pop, [ :evas_object ], :void ],
|
36
|
+
# EAPI int elm_object_scroll_freeze_get(const Evas_Object *obj);
|
37
|
+
[ :elm_object_scroll_freeze_get, [ :evas_object ], :int ],
|
34
38
|
# EAPI void elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock);
|
35
39
|
[ :elm_object_scroll_lock_x_set, [ :evas_object, :bool ], :void ],
|
36
40
|
# EAPI void elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock);
|
@@ -30,8 +30,6 @@ module Efl
|
|
30
30
|
fcts = [
|
31
31
|
# EAPI Evas_Object *elm_scroller_add(Evas_Object *parent);
|
32
32
|
[ :elm_scroller_add, [ :evas_object ], :evas_object ],
|
33
|
-
# EAPI void elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base);
|
34
|
-
[ :elm_scroller_custom_widget_base_theme_set, [ :evas_object, :string, :string ], :void ],
|
35
33
|
# EAPI void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h);
|
36
34
|
[ :elm_scroller_content_min_limit, [ :evas_object, :bool, :bool ], :void ],
|
37
35
|
# EAPI void elm_scroller_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
|
@@ -71,6 +71,8 @@ module Efl
|
|
71
71
|
[ :elm_toolbar_item_selected_set, [ :elm_object_item, :bool ], :void ],
|
72
72
|
# EAPI Elm_Object_Item *elm_toolbar_selected_item_get(const Evas_Object *obj);
|
73
73
|
[ :elm_toolbar_selected_item_get, [ :evas_object ], :elm_object_item ],
|
74
|
+
# EAPI Elm_Object_Item *elm_toolbar_more_item_get(const Evas_Object *obj);
|
75
|
+
[ :elm_toolbar_more_item_get, [ :evas_object ], :elm_object_item ],
|
74
76
|
# EAPI void elm_toolbar_item_icon_set(Elm_Object_Item *it, const char *icon);
|
75
77
|
[ :elm_toolbar_item_icon_set, [ :elm_object_item, :string ], :void ],
|
76
78
|
# EAPI const char *elm_toolbar_item_icon_get(const Elm_Object_Item *it);
|
@@ -127,6 +129,10 @@ module Efl
|
|
127
129
|
[ :elm_toolbar_horizontal_get, [ :evas_object ], :bool ],
|
128
130
|
# EAPI unsigned int elm_toolbar_items_count(const Evas_Object *obj);
|
129
131
|
[ :elm_toolbar_items_count, [ :evas_object ], :uint ],
|
132
|
+
# EAPI void elm_toolbar_standard_priority_set(Evas_Object *obj, int priority);
|
133
|
+
[ :elm_toolbar_standard_priority_set, [ :evas_object, :int ], :void ],
|
134
|
+
# EAPI int elm_toolbar_standard_priority_get(const Evas_Object *obj);
|
135
|
+
[ :elm_toolbar_standard_priority_get, [ :evas_object ], :int ],
|
130
136
|
# EAPI void elm_toolbar_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode);
|
131
137
|
[ :elm_toolbar_select_mode_set, [ :evas_object, :elm_object_select_mode ], :void ],
|
132
138
|
# EAPI Elm_Object_Select_Mode elm_toolbar_select_mode_get(const Evas_Object *obj);
|