ffi-efl 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +10 -2
- data/README.rdoc +41 -30
- data/lib/efl.rb +88 -14
- data/lib/efl/ecore.rb +1 -0
- data/lib/efl/ecore_evas.rb +4 -2
- data/lib/efl/ecore_getopt.rb +12 -11
- data/lib/efl/ecore_input.rb +1 -0
- data/lib/efl/eet.rb +1 -0
- data/lib/efl/eina.rb +1 -0
- data/lib/efl/eina_hash.rb +1 -0
- data/lib/efl/eina_list.rb +1 -0
- data/lib/efl/eina_log.rb +4 -0
- data/lib/efl/elementary.rb +0 -662
- data/lib/efl/elementary_all.rb +82 -0
- data/lib/efl/elm/elm_actionslider.rb +22 -0
- data/lib/efl/elm/elm_anchorblock.rb +22 -0
- data/lib/efl/elm/elm_anchorview.rb +22 -0
- data/lib/efl/elm/elm_bg.rb +37 -0
- data/lib/efl/elm/elm_box.rb +42 -0
- data/lib/efl/elm/elm_bubble.rb +22 -0
- data/lib/efl/elm/elm_button.rb +22 -0
- data/lib/efl/elm/elm_calendar.rb +22 -0
- data/lib/efl/elm/elm_check.rb +22 -0
- data/lib/efl/elm/elm_clock.rb +22 -0
- data/lib/efl/elm/elm_cnp.rb +30 -0
- data/lib/efl/elm/elm_colorselector.rb +22 -0
- data/lib/efl/elm/elm_conform.rb +26 -0
- data/lib/efl/elm/elm_ctxpopup.rb +27 -0
- data/lib/efl/elm/elm_cursor.rb +20 -0
- data/lib/efl/elm/elm_debug.rb +25 -0
- data/lib/efl/elm/elm_diskselector.rb +51 -0
- data/lib/efl/elm/elm_entry.rb +22 -0
- data/lib/efl/elm/elm_factory.rb +22 -0
- data/lib/efl/elm/elm_fileselector.rb +22 -0
- data/lib/efl/elm/elm_fileselector_button.rb +22 -0
- data/lib/efl/elm/elm_fileselector_entry.rb +22 -0
- data/lib/efl/elm/elm_flip.rb +22 -0
- data/lib/efl/elm/elm_flipselector.rb +56 -0
- data/lib/efl/elm/elm_focus.rb +74 -0
- data/lib/efl/elm/elm_frame.rb +22 -0
- data/lib/efl/elm/elm_gengrid.rb +68 -0
- data/lib/efl/elm/elm_genlist.rb +79 -0
- data/lib/efl/elm/elm_gesture_layer.rb +22 -0
- data/lib/efl/elm/elm_glview.rb +22 -0
- data/lib/efl/elm/elm_grid.rb +22 -0
- data/lib/efl/elm/elm_hover.rb +22 -0
- data/lib/efl/elm/elm_hoversel.rb +27 -0
- data/lib/efl/elm/elm_icon.rb +26 -0
- data/lib/efl/elm/elm_image.rb +22 -0
- data/lib/efl/elm/elm_index.rb +31 -0
- data/lib/efl/elm/elm_label.rb +22 -0
- data/lib/efl/elm/elm_layout.rb +26 -0
- data/lib/efl/elm/elm_list.rb +55 -0
- data/lib/efl/elm/elm_map.rb +22 -0
- data/lib/efl/elm/elm_mapbuf.rb +22 -0
- data/lib/efl/elm/elm_menu.rb +55 -0
- data/lib/efl/elm/elm_mirroring.rb +36 -0
- data/lib/efl/elm/elm_multibuttonentry.rb +58 -0
- data/lib/efl/elm/elm_naviframe.rb +42 -0
- data/lib/efl/elm/elm_notify.rb +22 -0
- data/lib/efl/elm/elm_object.rb +68 -0
- data/lib/efl/elm/elm_object_item.rb +20 -0
- data/lib/efl/elm/elm_panel.rb +22 -0
- data/lib/efl/elm/elm_panes.rb +22 -0
- data/lib/efl/elm/elm_photo.rb +22 -0
- data/lib/efl/elm/elm_photocam.rb +22 -0
- data/lib/efl/elm/elm_plug.rb +22 -0
- data/lib/efl/elm/elm_progressbar.rb +22 -0
- data/lib/efl/elm/elm_radio.rb +22 -0
- data/lib/efl/elm/elm_route.rb +22 -0
- data/lib/efl/elm/elm_scale.rb +28 -0
- data/lib/efl/elm/elm_scroll.rb +50 -0
- data/lib/efl/elm/elm_scroller.rb +22 -0
- data/lib/efl/elm/elm_segment_control.rb +39 -0
- data/lib/efl/elm/elm_separator.rb +22 -0
- data/lib/efl/elm/elm_slider.rb +22 -0
- data/lib/efl/elm/elm_slideshow.rb +41 -0
- data/lib/efl/elm/elm_spinner.rb +22 -0
- data/lib/efl/elm/elm_store.rb +43 -0
- data/lib/efl/elm/elm_table.rb +22 -0
- data/lib/efl/elm/elm_theme.rb +42 -0
- data/lib/efl/elm/elm_thumb.rb +22 -0
- data/lib/efl/elm/elm_toolbar.rb +63 -0
- data/lib/efl/elm/elm_tooltip.rb +20 -0
- data/lib/efl/elm/elm_transit.rb +78 -0
- data/lib/efl/elm/elm_video.rb +30 -0
- data/lib/efl/elm/elm_web.rb +22 -0
- data/lib/efl/elm/elm_win.rb +33 -0
- data/lib/efl/evas.rb +8 -7
- data/lib/efl/native.rb +45 -11
- data/lib/efl/native/ecore.rb +188 -210
- data/lib/efl/native/ecore_evas.rb +260 -207
- data/lib/efl/native/ecore_getopt.rb +17 -24
- data/lib/efl/native/ecore_input.rb +7 -11
- data/lib/efl/native/edje.rb +250 -202
- data/lib/efl/native/eet.rb +154 -155
- data/lib/efl/native/eina.rb +7 -13
- data/lib/efl/native/eina_hash.rb +41 -47
- data/lib/efl/native/eina_list.rb +39 -48
- data/lib/efl/native/eina_log.rb +21 -23
- data/lib/efl/native/eina_types.rb +8 -14
- data/lib/efl/native/eina_xattr.rb +21 -18
- data/lib/efl/native/elementary.rb +9 -3381
- data/lib/efl/native/elm/elm_actionslider.rb +54 -0
- data/lib/efl/native/elm/elm_anchorblock.rb +55 -0
- data/lib/efl/native/elm/elm_anchorview.rb +59 -0
- data/lib/efl/native/elm/elm_app.rb +53 -0
- data/lib/efl/native/elm/elm_bg.rb +53 -0
- data/lib/efl/native/elm/elm_box.rb +81 -0
- data/lib/efl/native/elm/elm_bubble.rb +44 -0
- data/lib/efl/native/elm/elm_button.rb +47 -0
- data/lib/efl/native/elm/elm_cache.rb +59 -0
- data/lib/efl/native/elm/elm_calendar.rb +76 -0
- data/lib/efl/native/elm/elm_check.rb +41 -0
- data/lib/efl/native/elm/elm_clock.rb +64 -0
- data/lib/efl/native/elm/elm_cnp.rb +54 -0
- data/lib/efl/native/elm/elm_colorselector.rb +39 -0
- data/lib/efl/native/elm/elm_config.rb +103 -0
- data/lib/efl/native/elm/elm_conform.rb +37 -0
- data/lib/efl/native/elm/elm_ctxpopup.rb +59 -0
- data/lib/efl/native/elm/elm_cursor.rb +51 -0
- data/lib/efl/native/elm/elm_debug.rb +37 -0
- data/lib/efl/native/elm/elm_diskselector.rb +76 -0
- data/lib/efl/native/elm/elm_engine.rb +41 -0
- data/lib/efl/native/elm/elm_entry.rb +242 -0
- data/lib/efl/native/elm/elm_factory.rb +41 -0
- data/lib/efl/native/elm/elm_fileselector.rb +67 -0
- data/lib/efl/native/elm/elm_fileselector_button.rb +63 -0
- data/lib/efl/native/elm/elm_fileselector_entry.rb +67 -0
- data/lib/efl/native/elm/elm_finger.rb +39 -0
- data/lib/efl/native/elm/elm_flip.rb +62 -0
- data/lib/efl/native/elm/elm_flipselector.rb +63 -0
- data/lib/efl/native/elm/elm_focus.rb +65 -0
- data/lib/efl/native/elm/elm_fonts.rb +66 -0
- data/lib/efl/native/elm/elm_frame.rb +45 -0
- data/lib/efl/native/elm/elm_general.rb +105 -0
- data/lib/efl/native/elm/elm_gengrid.rb +184 -0
- data/lib/efl/native/elm/elm_genlist.rb +240 -0
- data/lib/efl/native/elm/elm_gesture_layer.rb +76 -0
- data/lib/efl/native/elm/elm_glview.rb +70 -0
- data/lib/efl/native/elm/elm_grid.rb +51 -0
- data/lib/efl/native/elm/elm_hover.rb +51 -0
- data/lib/efl/native/elm/elm_hoversel.rb +60 -0
- data/lib/efl/native/elm/elm_icon.rb +97 -0
- data/lib/efl/native/elm/elm_image.rb +80 -0
- data/lib/efl/native/elm/elm_index.rb +63 -0
- data/lib/efl/native/elm/elm_label.rb +60 -0
- data/lib/efl/native/elm/elm_layout.rb +77 -0
- data/lib/efl/native/elm/elm_list.rb +105 -0
- data/lib/efl/native/elm/elm_map.rb +225 -0
- data/lib/efl/native/elm/elm_mapbuf.rb +47 -0
- data/lib/efl/native/elm/elm_menu.rb +77 -0
- data/lib/efl/native/elm/elm_mirroring.rb +45 -0
- data/lib/efl/native/elm/elm_multibuttonentry.rb +81 -0
- data/lib/efl/native/elm/elm_naviframe.rb +79 -0
- data/lib/efl/native/elm/elm_need.rb +41 -0
- data/lib/efl/native/elm/elm_notify.rb +57 -0
- data/lib/efl/native/elm/elm_object.rb +74 -0
- data/lib/efl/native/elm/elm_object_item.rb +93 -0
- data/lib/efl/native/elm/elm_panel.rb +55 -0
- data/lib/efl/native/elm/elm_panes.rb +51 -0
- data/lib/efl/native/elm/elm_password.rb +41 -0
- data/lib/efl/native/elm/elm_photo.rb +49 -0
- data/lib/efl/native/elm/elm_photocam.rb +74 -0
- data/lib/efl/native/elm/elm_plug.rb +39 -0
- data/lib/efl/native/elm/elm_progressbar.rb +61 -0
- data/lib/efl/native/elm/elm_radio.rb +49 -0
- data/lib/efl/native/elm/elm_route.rb +42 -0
- data/lib/efl/native/elm/elm_scale.rb +41 -0
- data/lib/efl/native/elm/elm_scroll.rb +49 -0
- data/lib/efl/native/elm/elm_scroller.rb +80 -0
- data/lib/efl/native/elm/elm_segment_control.rb +57 -0
- data/lib/efl/native/elm/elm_separator.rb +39 -0
- data/lib/efl/native/elm/elm_slider.rb +71 -0
- data/lib/efl/native/elm/elm_slideshow.rb +97 -0
- data/lib/efl/native/elm/elm_spinner.rb +73 -0
- data/lib/efl/native/elm/elm_store.rb +110 -0
- data/lib/efl/native/elm/elm_table.rb +53 -0
- data/lib/efl/native/elm/elm_theme.rb +81 -0
- data/lib/efl/native/elm/elm_thumb.rb +60 -0
- data/lib/efl/native/elm/elm_toolbar.rb +145 -0
- data/lib/efl/native/elm/elm_tooltip.rb +59 -0
- data/lib/efl/native/elm/elm_transit.rb +135 -0
- data/lib/efl/native/elm/elm_video.rb +71 -0
- data/lib/efl/native/elm/elm_web.rb +165 -0
- data/lib/efl/native/elm/elm_win.rb +221 -0
- data/lib/efl/native/emap.rb +28 -34
- data/lib/efl/native/evas.rb +640 -618
- data/spec/ecore_evas_spec.rb +28 -22
- data/spec/ecore_spec.rb +1 -0
- data/spec/edje_spec.rb +8 -1
- data/spec/eina_hash_spec.rb +0 -1
- data/spec/eina_list_spec.rb +0 -1
- data/spec/eina_log_spec.rb +10 -8
- data/spec/elm_spec.rb +4 -114
- data/spec/evas_spec.rb +13 -244
- data/spec/helper.rb +16 -15
- data/tasks/constants.rb +9 -9
- data/test/test_elm_win-native.rb +6 -4
- data/test/test_elm_win.rb +20 -19
- data/test/test_evas.rb +12 -12
- metadata +209 -64
- data/lib/efl/ffi.rb +0 -172
- data/test/test_elementary.rb +0 -271
- data/test/tests/test_actionslider.rb +0 -132
- data/test/tests/test_anchorbock.rb +0 -73
- data/test/tests/test_bg.rb +0 -151
- data/test/tests/test_box.rb +0 -147
- data/test/tests/test_buttons.rb +0 -114
@@ -0,0 +1,93 @@
|
|
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 ElmObjectItem
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_object_item_' 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
|
+
# CALLBACKS
|
25
|
+
# typedef void (*Elm_Object_Item_Smart_Cb) (void *data, Elm_Object_Item *it, void *event_info);
|
26
|
+
callback :elm_object_item_smart_cb, [ :pointer, :elm_object_item, :pointer ], :void
|
27
|
+
#
|
28
|
+
# FUNCTIONS
|
29
|
+
fcts = [
|
30
|
+
# EAPI Evas_Object *elm_object_item_widget_get(const Elm_Object_Item *it);
|
31
|
+
[ :elm_object_item_widget_get, [ :elm_object_item ], :evas_object ],
|
32
|
+
# EAPI void elm_object_item_part_content_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
|
33
|
+
[ :elm_object_item_part_content_set, [ :elm_object_item, :string, :evas_object ], :void ],
|
34
|
+
# EAPI Evas_Object *elm_object_item_part_content_get(const Elm_Object_Item *it, const char *part);
|
35
|
+
[ :elm_object_item_part_content_get, [ :elm_object_item, :string ], :evas_object ],
|
36
|
+
# EAPI Evas_Object *elm_object_item_part_content_unset(Elm_Object_Item *it, const char *part);
|
37
|
+
[ :elm_object_item_part_content_unset, [ :elm_object_item, :string ], :evas_object ],
|
38
|
+
# EAPI void elm_object_item_part_text_set(Elm_Object_Item *it, const char *part, const char *label);
|
39
|
+
[ :elm_object_item_part_text_set, [ :elm_object_item, :string, :string ], :void ],
|
40
|
+
# EAPI const char *elm_object_item_part_text_get(const Elm_Object_Item *it, const char *part);
|
41
|
+
[ :elm_object_item_part_text_get, [ :elm_object_item, :string ], :string ],
|
42
|
+
# EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt);
|
43
|
+
[ :elm_object_item_access_info_set, [ :elm_object_item, :string ], :void ],
|
44
|
+
# EAPI void *elm_object_item_data_get(const Elm_Object_Item *it);
|
45
|
+
[ :elm_object_item_data_get, [ :elm_object_item ], :pointer ],
|
46
|
+
# EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data);
|
47
|
+
[ :elm_object_item_data_set, [ :elm_object_item, :pointer ], :void ],
|
48
|
+
# EAPI void elm_object_item_signal_emit(Elm_Object_Item *it, const char *emission, const char *source);
|
49
|
+
[ :elm_object_item_signal_emit, [ :elm_object_item, :string, :string ], :void ],
|
50
|
+
# EAPI void elm_object_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled);
|
51
|
+
[ :elm_object_item_disabled_set, [ :elm_object_item, :bool ], :void ],
|
52
|
+
# EAPI Eina_Bool elm_object_item_disabled_get(const Elm_Object_Item *it);
|
53
|
+
[ :elm_object_item_disabled_get, [ :elm_object_item ], :bool ],
|
54
|
+
# EAPI void elm_object_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb del_cb);
|
55
|
+
[ :elm_object_item_del_cb_set, [ :elm_object_item, :evas_smart_cb ], :void ],
|
56
|
+
# EAPI void elm_object_item_del(Elm_Object_Item *it);
|
57
|
+
[ :elm_object_item_del, [ :elm_object_item ], :void ],
|
58
|
+
# EAPI void elm_object_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
|
59
|
+
[ :elm_object_item_tooltip_text_set, [ :elm_object_item, :string ], :void ],
|
60
|
+
# EAPI Eina_Bool elm_object_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable);
|
61
|
+
[ :elm_object_item_tooltip_window_mode_set, [ :elm_object_item, :bool ], :bool ],
|
62
|
+
# EAPI Eina_Bool elm_object_item_tooltip_window_mode_get(const Elm_Object_Item *it);
|
63
|
+
[ :elm_object_item_tooltip_window_mode_get, [ :elm_object_item ], :bool ],
|
64
|
+
# EAPI void elm_object_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
|
65
|
+
[ :elm_object_item_tooltip_content_cb_set, [ :elm_object_item, :elm_tooltip_item_content_cb, :pointer, :evas_smart_cb ], :void ],
|
66
|
+
# EAPI void elm_object_item_tooltip_unset(Elm_Object_Item *it);
|
67
|
+
[ :elm_object_item_tooltip_unset, [ :elm_object_item ], :void ],
|
68
|
+
# EAPI void elm_object_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
|
69
|
+
[ :elm_object_item_tooltip_style_set, [ :elm_object_item, :string ], :void ],
|
70
|
+
# EAPI const char *elm_object_item_tooltip_style_get(const Elm_Object_Item *it);
|
71
|
+
[ :elm_object_item_tooltip_style_get, [ :elm_object_item ], :string ],
|
72
|
+
# EAPI void elm_object_item_cursor_set(Elm_Object_Item *it, const char *cursor);
|
73
|
+
[ :elm_object_item_cursor_set, [ :elm_object_item, :string ], :void ],
|
74
|
+
# EAPI const char *elm_object_item_cursor_get(const Elm_Object_Item *it);
|
75
|
+
[ :elm_object_item_cursor_get, [ :elm_object_item ], :string ],
|
76
|
+
# EAPI void elm_object_item_cursor_unset(Elm_Object_Item *it);
|
77
|
+
[ :elm_object_item_cursor_unset, [ :elm_object_item ], :void ],
|
78
|
+
# EAPI void elm_object_item_cursor_style_set(Elm_Object_Item *it, const char *style);
|
79
|
+
[ :elm_object_item_cursor_style_set, [ :elm_object_item, :string ], :void ],
|
80
|
+
# EAPI const char *elm_object_item_cursor_style_get(const Elm_Object_Item *it);
|
81
|
+
[ :elm_object_item_cursor_style_get, [ :elm_object_item ], :string ],
|
82
|
+
# EAPI void elm_object_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only);
|
83
|
+
[ :elm_object_item_cursor_engine_only_set, [ :elm_object_item, :bool ], :void ],
|
84
|
+
# EAPI Eina_Bool elm_object_item_cursor_engine_only_get(const Elm_Object_Item *it);
|
85
|
+
[ :elm_object_item_cursor_engine_only_get, [ :elm_object_item ], :bool ],
|
86
|
+
]
|
87
|
+
#
|
88
|
+
attach_fcts fcts
|
89
|
+
#
|
90
|
+
end
|
91
|
+
end
|
92
|
+
#
|
93
|
+
# EOF
|
@@ -0,0 +1,55 @@
|
|
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 ElmPanel
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_panel_' 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
|
+
# ENUMS
|
25
|
+
# typedef enum {...} Elm_Panel_Orient;
|
26
|
+
enum :elm_panel_orient, [ :elm_panel_orient_top, :elm_panel_orient_bottom, :elm_panel_orient_left, :elm_panel_orient_right ]
|
27
|
+
#
|
28
|
+
# FUNCTIONS
|
29
|
+
fcts = [
|
30
|
+
# EAPI Evas_Object *elm_panel_add(Evas_Object *parent);
|
31
|
+
[ :elm_panel_add, [ :evas_object ], :evas_object ],
|
32
|
+
# EAPI void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient);
|
33
|
+
[ :elm_panel_orient_set, [ :evas_object, :elm_panel_orient ], :void ],
|
34
|
+
# EAPI Elm_Panel_Orient elm_panel_orient_get(const Evas_Object *obj);
|
35
|
+
[ :elm_panel_orient_get, [ :evas_object ], :elm_panel_orient ],
|
36
|
+
# EAPI void elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden);
|
37
|
+
[ :elm_panel_hidden_set, [ :evas_object, :bool ], :void ],
|
38
|
+
# EAPI Eina_Bool elm_panel_hidden_get(const Evas_Object *obj);
|
39
|
+
[ :elm_panel_hidden_get, [ :evas_object ], :bool ],
|
40
|
+
# EAPI void elm_panel_toggle(Evas_Object *obj);
|
41
|
+
[ :elm_panel_toggle, [ :evas_object ], :void ],
|
42
|
+
# EAPI void elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
|
43
|
+
[ :elm_panel_content_set, [ :evas_object, :evas_object ], :void ],
|
44
|
+
# EAPI Evas_Object * elm_panel_content_get(const Evas_Object *obj);
|
45
|
+
[ :elm_panel_content_get, [ :evas_object ], :evas_object ],
|
46
|
+
# EAPI Evas_Object * elm_panel_content_unset(Evas_Object *obj);
|
47
|
+
[ :elm_panel_content_unset, [ :evas_object ], :evas_object ],
|
48
|
+
]
|
49
|
+
#
|
50
|
+
attach_fcts fcts
|
51
|
+
#
|
52
|
+
end
|
53
|
+
end
|
54
|
+
#
|
55
|
+
# EOF
|
@@ -0,0 +1,51 @@
|
|
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 ElmPanes
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_panes_' 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_panes_add(Evas_Object *parent);
|
27
|
+
[ :elm_panes_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI void elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed);
|
29
|
+
[ :elm_panes_fixed_set, [ :evas_object, :bool ], :void ],
|
30
|
+
# EAPI Eina_Bool elm_panes_fixed_get(const Evas_Object *obj);
|
31
|
+
[ :elm_panes_fixed_get, [ :evas_object ], :bool ],
|
32
|
+
# EAPI double elm_panes_content_left_size_get(const Evas_Object *obj);
|
33
|
+
[ :elm_panes_content_left_size_get, [ :evas_object ], :double ],
|
34
|
+
# EAPI void elm_panes_content_left_size_set(Evas_Object *obj, double size);
|
35
|
+
[ :elm_panes_content_left_size_set, [ :evas_object, :double ], :void ],
|
36
|
+
# EAPI double elm_panes_content_right_size_get(const Evas_Object *obj);
|
37
|
+
[ :elm_panes_content_right_size_get, [ :evas_object ], :double ],
|
38
|
+
# EAPI void elm_panes_content_right_size_set(Evas_Object *obj, double size);
|
39
|
+
[ :elm_panes_content_right_size_set, [ :evas_object, :double ], :void ],
|
40
|
+
# EAPI void elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
|
41
|
+
[ :elm_panes_horizontal_set, [ :evas_object, :bool ], :void ],
|
42
|
+
# EAPI Eina_Bool elm_panes_horizontal_get(const Evas_Object *obj);
|
43
|
+
[ :elm_panes_horizontal_get, [ :evas_object ], :bool ],
|
44
|
+
]
|
45
|
+
#
|
46
|
+
attach_fcts fcts
|
47
|
+
#
|
48
|
+
end
|
49
|
+
end
|
50
|
+
#
|
51
|
+
# EOF
|
@@ -0,0 +1,41 @@
|
|
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
|
@@ -0,0 +1,49 @@
|
|
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 ElmPhoto
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_photo_' 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_photo_add(Evas_Object *parent);
|
27
|
+
[ :elm_photo_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI Eina_Bool elm_photo_file_set(Evas_Object *obj, const char *file);
|
29
|
+
[ :elm_photo_file_set, [ :evas_object, :string ], :bool ],
|
30
|
+
# EAPI void elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group);
|
31
|
+
[ :elm_photo_thumb_set, [ :evas_object, :string, :string ], :void ],
|
32
|
+
# EAPI void elm_photo_size_set(Evas_Object *obj, int size);
|
33
|
+
[ :elm_photo_size_set, [ :evas_object, :int ], :void ],
|
34
|
+
# EAPI void elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill);
|
35
|
+
[ :elm_photo_fill_inside_set, [ :evas_object, :bool ], :void ],
|
36
|
+
# EAPI void elm_photo_editable_set(Evas_Object *obj, Eina_Bool set);
|
37
|
+
[ :elm_photo_editable_set, [ :evas_object, :bool ], :void ],
|
38
|
+
# EAPI void elm_photo_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed);
|
39
|
+
[ :elm_photo_aspect_fixed_set, [ :evas_object, :bool ], :void ],
|
40
|
+
# EAPI Eina_Bool elm_photo_aspect_fixed_get(const Evas_Object *obj);
|
41
|
+
[ :elm_photo_aspect_fixed_get, [ :evas_object ], :bool ],
|
42
|
+
]
|
43
|
+
#
|
44
|
+
attach_fcts fcts
|
45
|
+
#
|
46
|
+
end
|
47
|
+
end
|
48
|
+
#
|
49
|
+
# EOF
|
@@ -0,0 +1,74 @@
|
|
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 ElmPhotoCam
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_photocam_' 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
|
+
# ENUMS
|
25
|
+
# typedef enum {...} Elm_Photocam_Zoom_Mode;
|
26
|
+
enum :elm_photocam_zoom_mode, [ :elm_photocam_zoom_mode_manual, 0, :elm_photocam_zoom_mode_auto_fit, 1, :elm_photocam_zoom_mode_auto_fill, 2,
|
27
|
+
:elm_photocam_zoom_mode_auto_fit_in, 3, :elm_photocam_zoom_mode_last, 4 ]
|
28
|
+
#
|
29
|
+
# FUNCTIONS
|
30
|
+
fcts = [
|
31
|
+
# EAPI Evas_Object *elm_photocam_add(Evas_Object *parent);
|
32
|
+
[ :elm_photocam_add, [ :evas_object ], :evas_object ],
|
33
|
+
# EAPI Evas_Load_Error elm_photocam_file_set(Evas_Object *obj, const char *file);
|
34
|
+
[ :elm_photocam_file_set, [ :evas_object, :string ], :evas_load_error ],
|
35
|
+
# EAPI const char *elm_photocam_file_get(const Evas_Object *obj);
|
36
|
+
[ :elm_photocam_file_get, [ :evas_object ], :string ],
|
37
|
+
# EAPI void elm_photocam_zoom_set(Evas_Object *obj, double zoom);
|
38
|
+
[ :elm_photocam_zoom_set, [ :evas_object, :double ], :void ],
|
39
|
+
# EAPI double elm_photocam_zoom_get(const Evas_Object *obj);
|
40
|
+
[ :elm_photocam_zoom_get, [ :evas_object ], :double ],
|
41
|
+
# EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode);
|
42
|
+
[ :elm_photocam_zoom_mode_set, [ :evas_object, :elm_photocam_zoom_mode ], :void ],
|
43
|
+
# EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj);
|
44
|
+
[ :elm_photocam_zoom_mode_get, [ :evas_object ], :elm_photocam_zoom_mode ],
|
45
|
+
# EAPI void elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h);
|
46
|
+
[ :elm_photocam_image_size_get, [ :evas_object, :pointer, :pointer ], :void ],
|
47
|
+
# EAPI void elm_photocam_image_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
|
48
|
+
[ :elm_photocam_image_region_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ],
|
49
|
+
# EAPI void elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h);
|
50
|
+
[ :elm_photocam_image_region_show, [ :evas_object, :int, :int, :int, :int ], :void ],
|
51
|
+
# EAPI void elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
|
52
|
+
[ :elm_photocam_image_region_bring_in, [ :evas_object, :int, :int, :int, :int ], :void ],
|
53
|
+
# EAPI void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused);
|
54
|
+
[ :elm_photocam_paused_set, [ :evas_object, :bool ], :void ],
|
55
|
+
# EAPI Eina_Bool elm_photocam_paused_get(const Evas_Object *obj);
|
56
|
+
[ :elm_photocam_paused_get, [ :evas_object ], :bool ],
|
57
|
+
# EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj);
|
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
|
+
# EAPI void elm_photocam_gesture_set(Evas_Object *obj, Eina_Bool gesture);
|
64
|
+
# FIXME
|
65
|
+
# EAPI Eina_Bool elm_photocam_gesture_get(const Evas_Object *obj);
|
66
|
+
# FIXME
|
67
|
+
]
|
68
|
+
#
|
69
|
+
attach_fcts fcts
|
70
|
+
#
|
71
|
+
end
|
72
|
+
end
|
73
|
+
#
|
74
|
+
# EOF
|
@@ -0,0 +1,39 @@
|
|
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 ElmPlug
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_plug_' 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_plug_add(Evas_Object *parent);
|
27
|
+
[ :elm_plug_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI Eina_Bool elm_plug_connect(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys);
|
29
|
+
[ :elm_plug_connect, [ :evas_object, :string, :int, :bool ], :bool ],
|
30
|
+
# EAPI Evas_Object *elm_plug_image_object_get(const Evas_Object *obj);
|
31
|
+
[ :elm_plug_image_object_get, [ :evas_object ], :evas_object ],
|
32
|
+
]
|
33
|
+
#
|
34
|
+
attach_fcts fcts
|
35
|
+
#
|
36
|
+
end
|
37
|
+
end
|
38
|
+
#
|
39
|
+
# EOF
|
@@ -0,0 +1,61 @@
|
|
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 ElmProgressBar
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_progressbar_' 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_progressbar_add(Evas_Object *parent);
|
27
|
+
[ :elm_progressbar_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI void elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse);
|
29
|
+
[ :elm_progressbar_pulse_set, [ :evas_object, :bool ], :void ],
|
30
|
+
# EAPI Eina_Bool elm_progressbar_pulse_get(const Evas_Object *obj);
|
31
|
+
[ :elm_progressbar_pulse_get, [ :evas_object ], :bool ],
|
32
|
+
# EAPI void elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state);
|
33
|
+
[ :elm_progressbar_pulse, [ :evas_object, :bool ], :void ],
|
34
|
+
# EAPI void elm_progressbar_value_set(Evas_Object *obj, double val);
|
35
|
+
[ :elm_progressbar_value_set, [ :evas_object, :double ], :void ],
|
36
|
+
# EAPI double elm_progressbar_value_get(const Evas_Object *obj);
|
37
|
+
[ :elm_progressbar_value_get, [ :evas_object ], :double ],
|
38
|
+
# EAPI void elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size);
|
39
|
+
[ :elm_progressbar_span_size_set, [ :evas_object, :int ], :void ],
|
40
|
+
# EAPI Evas_Coord elm_progressbar_span_size_get(const Evas_Object *obj);
|
41
|
+
[ :elm_progressbar_span_size_get, [ :evas_object ], :int ],
|
42
|
+
# EAPI void elm_progressbar_unit_format_set(Evas_Object *obj, const char *format);
|
43
|
+
[ :elm_progressbar_unit_format_set, [ :evas_object, :string ], :void ],
|
44
|
+
# EAPI const char *elm_progressbar_unit_format_get(const Evas_Object *obj);
|
45
|
+
[ :elm_progressbar_unit_format_get, [ :evas_object ], :string ],
|
46
|
+
# EAPI void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
|
47
|
+
[ :elm_progressbar_horizontal_set, [ :evas_object, :bool ], :void ],
|
48
|
+
# EAPI Eina_Bool elm_progressbar_horizontal_get(const Evas_Object *obj);
|
49
|
+
[ :elm_progressbar_horizontal_get, [ :evas_object ], :bool ],
|
50
|
+
# EAPI void elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted);
|
51
|
+
[ :elm_progressbar_inverted_set, [ :evas_object, :bool ], :void ],
|
52
|
+
# EAPI Eina_Bool elm_progressbar_inverted_get(const Evas_Object *obj);
|
53
|
+
[ :elm_progressbar_inverted_get, [ :evas_object ], :bool ],
|
54
|
+
]
|
55
|
+
#
|
56
|
+
attach_fcts fcts
|
57
|
+
#
|
58
|
+
end
|
59
|
+
end
|
60
|
+
#
|
61
|
+
# EOF
|