ffi-efl 0.0.10 → 0.0.11

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 (209) hide show
  1. data/Changelog +10 -2
  2. data/README.rdoc +41 -30
  3. data/lib/efl.rb +88 -14
  4. data/lib/efl/ecore.rb +1 -0
  5. data/lib/efl/ecore_evas.rb +4 -2
  6. data/lib/efl/ecore_getopt.rb +12 -11
  7. data/lib/efl/ecore_input.rb +1 -0
  8. data/lib/efl/eet.rb +1 -0
  9. data/lib/efl/eina.rb +1 -0
  10. data/lib/efl/eina_hash.rb +1 -0
  11. data/lib/efl/eina_list.rb +1 -0
  12. data/lib/efl/eina_log.rb +4 -0
  13. data/lib/efl/elementary.rb +0 -662
  14. data/lib/efl/elementary_all.rb +82 -0
  15. data/lib/efl/elm/elm_actionslider.rb +22 -0
  16. data/lib/efl/elm/elm_anchorblock.rb +22 -0
  17. data/lib/efl/elm/elm_anchorview.rb +22 -0
  18. data/lib/efl/elm/elm_bg.rb +37 -0
  19. data/lib/efl/elm/elm_box.rb +42 -0
  20. data/lib/efl/elm/elm_bubble.rb +22 -0
  21. data/lib/efl/elm/elm_button.rb +22 -0
  22. data/lib/efl/elm/elm_calendar.rb +22 -0
  23. data/lib/efl/elm/elm_check.rb +22 -0
  24. data/lib/efl/elm/elm_clock.rb +22 -0
  25. data/lib/efl/elm/elm_cnp.rb +30 -0
  26. data/lib/efl/elm/elm_colorselector.rb +22 -0
  27. data/lib/efl/elm/elm_conform.rb +26 -0
  28. data/lib/efl/elm/elm_ctxpopup.rb +27 -0
  29. data/lib/efl/elm/elm_cursor.rb +20 -0
  30. data/lib/efl/elm/elm_debug.rb +25 -0
  31. data/lib/efl/elm/elm_diskselector.rb +51 -0
  32. data/lib/efl/elm/elm_entry.rb +22 -0
  33. data/lib/efl/elm/elm_factory.rb +22 -0
  34. data/lib/efl/elm/elm_fileselector.rb +22 -0
  35. data/lib/efl/elm/elm_fileselector_button.rb +22 -0
  36. data/lib/efl/elm/elm_fileselector_entry.rb +22 -0
  37. data/lib/efl/elm/elm_flip.rb +22 -0
  38. data/lib/efl/elm/elm_flipselector.rb +56 -0
  39. data/lib/efl/elm/elm_focus.rb +74 -0
  40. data/lib/efl/elm/elm_frame.rb +22 -0
  41. data/lib/efl/elm/elm_gengrid.rb +68 -0
  42. data/lib/efl/elm/elm_genlist.rb +79 -0
  43. data/lib/efl/elm/elm_gesture_layer.rb +22 -0
  44. data/lib/efl/elm/elm_glview.rb +22 -0
  45. data/lib/efl/elm/elm_grid.rb +22 -0
  46. data/lib/efl/elm/elm_hover.rb +22 -0
  47. data/lib/efl/elm/elm_hoversel.rb +27 -0
  48. data/lib/efl/elm/elm_icon.rb +26 -0
  49. data/lib/efl/elm/elm_image.rb +22 -0
  50. data/lib/efl/elm/elm_index.rb +31 -0
  51. data/lib/efl/elm/elm_label.rb +22 -0
  52. data/lib/efl/elm/elm_layout.rb +26 -0
  53. data/lib/efl/elm/elm_list.rb +55 -0
  54. data/lib/efl/elm/elm_map.rb +22 -0
  55. data/lib/efl/elm/elm_mapbuf.rb +22 -0
  56. data/lib/efl/elm/elm_menu.rb +55 -0
  57. data/lib/efl/elm/elm_mirroring.rb +36 -0
  58. data/lib/efl/elm/elm_multibuttonentry.rb +58 -0
  59. data/lib/efl/elm/elm_naviframe.rb +42 -0
  60. data/lib/efl/elm/elm_notify.rb +22 -0
  61. data/lib/efl/elm/elm_object.rb +68 -0
  62. data/lib/efl/elm/elm_object_item.rb +20 -0
  63. data/lib/efl/elm/elm_panel.rb +22 -0
  64. data/lib/efl/elm/elm_panes.rb +22 -0
  65. data/lib/efl/elm/elm_photo.rb +22 -0
  66. data/lib/efl/elm/elm_photocam.rb +22 -0
  67. data/lib/efl/elm/elm_plug.rb +22 -0
  68. data/lib/efl/elm/elm_progressbar.rb +22 -0
  69. data/lib/efl/elm/elm_radio.rb +22 -0
  70. data/lib/efl/elm/elm_route.rb +22 -0
  71. data/lib/efl/elm/elm_scale.rb +28 -0
  72. data/lib/efl/elm/elm_scroll.rb +50 -0
  73. data/lib/efl/elm/elm_scroller.rb +22 -0
  74. data/lib/efl/elm/elm_segment_control.rb +39 -0
  75. data/lib/efl/elm/elm_separator.rb +22 -0
  76. data/lib/efl/elm/elm_slider.rb +22 -0
  77. data/lib/efl/elm/elm_slideshow.rb +41 -0
  78. data/lib/efl/elm/elm_spinner.rb +22 -0
  79. data/lib/efl/elm/elm_store.rb +43 -0
  80. data/lib/efl/elm/elm_table.rb +22 -0
  81. data/lib/efl/elm/elm_theme.rb +42 -0
  82. data/lib/efl/elm/elm_thumb.rb +22 -0
  83. data/lib/efl/elm/elm_toolbar.rb +63 -0
  84. data/lib/efl/elm/elm_tooltip.rb +20 -0
  85. data/lib/efl/elm/elm_transit.rb +78 -0
  86. data/lib/efl/elm/elm_video.rb +30 -0
  87. data/lib/efl/elm/elm_web.rb +22 -0
  88. data/lib/efl/elm/elm_win.rb +33 -0
  89. data/lib/efl/evas.rb +8 -7
  90. data/lib/efl/native.rb +45 -11
  91. data/lib/efl/native/ecore.rb +188 -210
  92. data/lib/efl/native/ecore_evas.rb +260 -207
  93. data/lib/efl/native/ecore_getopt.rb +17 -24
  94. data/lib/efl/native/ecore_input.rb +7 -11
  95. data/lib/efl/native/edje.rb +250 -202
  96. data/lib/efl/native/eet.rb +154 -155
  97. data/lib/efl/native/eina.rb +7 -13
  98. data/lib/efl/native/eina_hash.rb +41 -47
  99. data/lib/efl/native/eina_list.rb +39 -48
  100. data/lib/efl/native/eina_log.rb +21 -23
  101. data/lib/efl/native/eina_types.rb +8 -14
  102. data/lib/efl/native/eina_xattr.rb +21 -18
  103. data/lib/efl/native/elementary.rb +9 -3381
  104. data/lib/efl/native/elm/elm_actionslider.rb +54 -0
  105. data/lib/efl/native/elm/elm_anchorblock.rb +55 -0
  106. data/lib/efl/native/elm/elm_anchorview.rb +59 -0
  107. data/lib/efl/native/elm/elm_app.rb +53 -0
  108. data/lib/efl/native/elm/elm_bg.rb +53 -0
  109. data/lib/efl/native/elm/elm_box.rb +81 -0
  110. data/lib/efl/native/elm/elm_bubble.rb +44 -0
  111. data/lib/efl/native/elm/elm_button.rb +47 -0
  112. data/lib/efl/native/elm/elm_cache.rb +59 -0
  113. data/lib/efl/native/elm/elm_calendar.rb +76 -0
  114. data/lib/efl/native/elm/elm_check.rb +41 -0
  115. data/lib/efl/native/elm/elm_clock.rb +64 -0
  116. data/lib/efl/native/elm/elm_cnp.rb +54 -0
  117. data/lib/efl/native/elm/elm_colorselector.rb +39 -0
  118. data/lib/efl/native/elm/elm_config.rb +103 -0
  119. data/lib/efl/native/elm/elm_conform.rb +37 -0
  120. data/lib/efl/native/elm/elm_ctxpopup.rb +59 -0
  121. data/lib/efl/native/elm/elm_cursor.rb +51 -0
  122. data/lib/efl/native/elm/elm_debug.rb +37 -0
  123. data/lib/efl/native/elm/elm_diskselector.rb +76 -0
  124. data/lib/efl/native/elm/elm_engine.rb +41 -0
  125. data/lib/efl/native/elm/elm_entry.rb +242 -0
  126. data/lib/efl/native/elm/elm_factory.rb +41 -0
  127. data/lib/efl/native/elm/elm_fileselector.rb +67 -0
  128. data/lib/efl/native/elm/elm_fileselector_button.rb +63 -0
  129. data/lib/efl/native/elm/elm_fileselector_entry.rb +67 -0
  130. data/lib/efl/native/elm/elm_finger.rb +39 -0
  131. data/lib/efl/native/elm/elm_flip.rb +62 -0
  132. data/lib/efl/native/elm/elm_flipselector.rb +63 -0
  133. data/lib/efl/native/elm/elm_focus.rb +65 -0
  134. data/lib/efl/native/elm/elm_fonts.rb +66 -0
  135. data/lib/efl/native/elm/elm_frame.rb +45 -0
  136. data/lib/efl/native/elm/elm_general.rb +105 -0
  137. data/lib/efl/native/elm/elm_gengrid.rb +184 -0
  138. data/lib/efl/native/elm/elm_genlist.rb +240 -0
  139. data/lib/efl/native/elm/elm_gesture_layer.rb +76 -0
  140. data/lib/efl/native/elm/elm_glview.rb +70 -0
  141. data/lib/efl/native/elm/elm_grid.rb +51 -0
  142. data/lib/efl/native/elm/elm_hover.rb +51 -0
  143. data/lib/efl/native/elm/elm_hoversel.rb +60 -0
  144. data/lib/efl/native/elm/elm_icon.rb +97 -0
  145. data/lib/efl/native/elm/elm_image.rb +80 -0
  146. data/lib/efl/native/elm/elm_index.rb +63 -0
  147. data/lib/efl/native/elm/elm_label.rb +60 -0
  148. data/lib/efl/native/elm/elm_layout.rb +77 -0
  149. data/lib/efl/native/elm/elm_list.rb +105 -0
  150. data/lib/efl/native/elm/elm_map.rb +225 -0
  151. data/lib/efl/native/elm/elm_mapbuf.rb +47 -0
  152. data/lib/efl/native/elm/elm_menu.rb +77 -0
  153. data/lib/efl/native/elm/elm_mirroring.rb +45 -0
  154. data/lib/efl/native/elm/elm_multibuttonentry.rb +81 -0
  155. data/lib/efl/native/elm/elm_naviframe.rb +79 -0
  156. data/lib/efl/native/elm/elm_need.rb +41 -0
  157. data/lib/efl/native/elm/elm_notify.rb +57 -0
  158. data/lib/efl/native/elm/elm_object.rb +74 -0
  159. data/lib/efl/native/elm/elm_object_item.rb +93 -0
  160. data/lib/efl/native/elm/elm_panel.rb +55 -0
  161. data/lib/efl/native/elm/elm_panes.rb +51 -0
  162. data/lib/efl/native/elm/elm_password.rb +41 -0
  163. data/lib/efl/native/elm/elm_photo.rb +49 -0
  164. data/lib/efl/native/elm/elm_photocam.rb +74 -0
  165. data/lib/efl/native/elm/elm_plug.rb +39 -0
  166. data/lib/efl/native/elm/elm_progressbar.rb +61 -0
  167. data/lib/efl/native/elm/elm_radio.rb +49 -0
  168. data/lib/efl/native/elm/elm_route.rb +42 -0
  169. data/lib/efl/native/elm/elm_scale.rb +41 -0
  170. data/lib/efl/native/elm/elm_scroll.rb +49 -0
  171. data/lib/efl/native/elm/elm_scroller.rb +80 -0
  172. data/lib/efl/native/elm/elm_segment_control.rb +57 -0
  173. data/lib/efl/native/elm/elm_separator.rb +39 -0
  174. data/lib/efl/native/elm/elm_slider.rb +71 -0
  175. data/lib/efl/native/elm/elm_slideshow.rb +97 -0
  176. data/lib/efl/native/elm/elm_spinner.rb +73 -0
  177. data/lib/efl/native/elm/elm_store.rb +110 -0
  178. data/lib/efl/native/elm/elm_table.rb +53 -0
  179. data/lib/efl/native/elm/elm_theme.rb +81 -0
  180. data/lib/efl/native/elm/elm_thumb.rb +60 -0
  181. data/lib/efl/native/elm/elm_toolbar.rb +145 -0
  182. data/lib/efl/native/elm/elm_tooltip.rb +59 -0
  183. data/lib/efl/native/elm/elm_transit.rb +135 -0
  184. data/lib/efl/native/elm/elm_video.rb +71 -0
  185. data/lib/efl/native/elm/elm_web.rb +165 -0
  186. data/lib/efl/native/elm/elm_win.rb +221 -0
  187. data/lib/efl/native/emap.rb +28 -34
  188. data/lib/efl/native/evas.rb +640 -618
  189. data/spec/ecore_evas_spec.rb +28 -22
  190. data/spec/ecore_spec.rb +1 -0
  191. data/spec/edje_spec.rb +8 -1
  192. data/spec/eina_hash_spec.rb +0 -1
  193. data/spec/eina_list_spec.rb +0 -1
  194. data/spec/eina_log_spec.rb +10 -8
  195. data/spec/elm_spec.rb +4 -114
  196. data/spec/evas_spec.rb +13 -244
  197. data/spec/helper.rb +16 -15
  198. data/tasks/constants.rb +9 -9
  199. data/test/test_elm_win-native.rb +6 -4
  200. data/test/test_elm_win.rb +20 -19
  201. data/test/test_evas.rb +12 -12
  202. metadata +209 -64
  203. data/lib/efl/ffi.rb +0 -172
  204. data/test/test_elementary.rb +0 -271
  205. data/test/tests/test_actionslider.rb +0 -132
  206. data/test/tests/test_anchorbock.rb +0 -73
  207. data/test/tests/test_bg.rb +0 -151
  208. data/test/tests/test_box.rb +0 -147
  209. data/test/tests/test_buttons.rb +0 -114
@@ -2,6 +2,7 @@
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
4
  require 'efl/eina_list'
5
+ require 'efl/ecore'
5
6
  require 'efl/ecore_evas'
6
7
  require './spec/helper'
7
8
  #
@@ -29,7 +30,6 @@ describe 'Efl::EcoreEvas' do
29
30
  EcoreEvas.engines_free EcoreEvas.engines_get
30
31
  l = EcoreEvas.engines_list
31
32
  r = l.inject("\t") do |s,e| s+=e.read_string+' ' end
32
- puts r
33
33
  EcoreEvas.engines_free l
34
34
  end
35
35
  #
@@ -52,16 +52,17 @@ describe 'Efl::EcoreEvas' do
52
52
  EcoreEvas.init.should == 2
53
53
  end
54
54
  before(:each) do
55
- @e = EcoreEvas::REcoreEvas.new :engine_name=>"software_x11", :x=>10, :y=>10, :w=>100, :h=>120
55
+ @e = EcoreEvas::REcoreEvas.new :engine_name=>"software_x11", :x=>10, :y=>10, :w=>100, :h=>120 do
56
+ move 10, 10
57
+ show
58
+ end
56
59
  @canvas = @e.evas
57
- @bg = @canvas.object_rectangle_add { |o|
58
- o.color = 100, 100, 255, 255
59
- o.size = @e.size
60
- }
61
- @bg.show
60
+ @bg = @canvas.object_rectangle_add do
61
+ color_set 100, 100, 255, 255
62
+ show
63
+ end
64
+ @bg.size = @e.size
62
65
  @e.object_associate @bg, :ecore_evas_object_associate_base
63
- @e.move 10, 10
64
- @e.show
65
66
  end
66
67
  after(:each) do
67
68
  @e.free
@@ -82,23 +83,34 @@ describe 'Efl::EcoreEvas' do
82
83
  it "move, resize move_resize and geometry_get (and check association)" do
83
84
  @e.geometry_get.should == [10,10,100,120]
84
85
  @bg.geometry_get.should == [0,0,100,120]
85
- @e.move 20, 20
86
+ @e.move 50, 50
86
87
  ecore_loop 3
87
88
  g = @e.geometry_get
88
- g.delete_at 1
89
- g.should == [20,100,120]
89
+ g[0].should >=50
90
+ g[0].should <=60
91
+ g[1].should >=60
92
+ g[1].should <=80
93
+ g.delete_at 0
94
+ g.delete_at 0
95
+ g.should == [100,120]
90
96
  @bg.geometry_get.should == [0,0,100,120]
91
97
  @e.resize 200,150
92
98
  ecore_loop 3
93
99
  g = @e.geometry_get
94
- g.delete_at 1
95
- g.should == [20,200,150]
100
+ g.delete_at 0
101
+ g.delete_at 0
102
+ g.should == [200,150]
96
103
  @bg.geometry_get.should == [0,0,200,150]
97
104
  @e.move_resize 10, 0, 130, 100
98
105
  ecore_loop 3
99
106
  g = @e.geometry_get
100
- g.delete_at 1
101
- g.should == [10,130,100]
107
+ g[0].should >=10
108
+ g[0].should <=20
109
+ g[1].should >=20
110
+ g[1].should <=30
111
+ g.delete_at 0
112
+ g.delete_at 0
113
+ g.should == [130,100]
102
114
  @bg.geometry_get.should == [0,0,130,100]
103
115
  g = @e.geometry_get
104
116
  end
@@ -203,12 +215,6 @@ describe 'Efl::EcoreEvas' do
203
215
  bool_check @e, 'override'
204
216
  end
205
217
  #
206
- # FIXME maximized
207
- # ecore/src/lib/ecore_evas/ecore_evas.c => ecore_evas_maximized_set => IFC => return
208
- it "maximized set/get " do
209
- bool_check @e, 'maximized', 5
210
- end
211
- #
212
218
  it "fullscreen set/get " do
213
219
  bool_check @e, 'fullscreen', 5
214
220
  end
data/spec/ecore_spec.rb CHANGED
@@ -144,6 +144,7 @@ describe "Efl::Ecore #{Efl::Ecore.version.full}" do
144
144
  Ecore.main_loop_iterate
145
145
  pipe.read_close
146
146
  pipe.write_close
147
+ pipe.del # without this, pipe is freed by autopointer, but after Ecore.shutdown then SIGSEV
147
148
  end
148
149
  it "manual destructor should not raise FFI::AutoPointer error" do
149
150
  data = FFI::MemoryPointer.from_string("none")
data/spec/edje_spec.rb CHANGED
@@ -17,7 +17,6 @@ else
17
17
  end
18
18
  #
19
19
  require 'efl/eina_list'
20
- require 'efl/evas'
21
20
  require 'efl/edje'
22
21
  require './spec/helper'
23
22
  #
@@ -43,6 +42,14 @@ describe "Efl::Edje #{Efl::Edje.version.full}" do
43
42
  Edje.shutdown.should == @init
44
43
  end
45
44
  #
45
+ it "enum edje_external_param_flags should be correct" do
46
+ [ :edje_external_param_flags_none, :edje_external_param_flags_get,
47
+ :edje_external_param_flags_set, :edje_external_param_flags_state,
48
+ :edje_external_param_flags_constructor, :edje_external_param_flags_regular ].zip([0,1,2,4,8,7]) do |s,v|
49
+ Efl::Native.enum_value(s).should == v
50
+ end
51
+ end
52
+ #
46
53
  it "frametime get/set " do
47
54
  Edje.frametime_set 10
48
55
  Edje.frametime_get.should == 10
@@ -1,7 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl'
5
4
  require 'efl/eina_hash'
6
5
  #
7
6
  describe 'Efl::EinaHash' do
@@ -1,7 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/eina'
5
4
  require 'efl/eina_list'
6
5
  #
7
6
  describe 'Efl::EinaList' do
@@ -1,7 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/eina'
5
4
  require 'efl/eina_log'
6
5
  require './spec/helper'
7
6
  #
@@ -21,6 +20,16 @@ describe 'Efl::EinaLog' do
21
20
  EinaLog.level.should == 3
22
21
  end
23
22
  #
23
+ it "eina_log_level enum should be well defined" do
24
+ Efl::Native.enum_value(:eina_log_level_critical).should == 0
25
+ Efl::Native.enum_value(:eina_log_level_err).should == 1
26
+ Efl::Native.enum_value(:eina_log_level_warn).should == 2
27
+ Efl::Native.enum_value(:eina_log_level_info).should == 3
28
+ Efl::Native.enum_value(:eina_log_level_dbg).should == 4
29
+ Efl::Native.enum_value(:eina_log_levels).should == 5
30
+ Efl::Native.enum_value(:eina_log_level_unknown).should == (-2147483647-1)
31
+ end
32
+ #
24
33
  it "color_disable set/get" do
25
34
  bool_check EinaLog, 'color_disable'
26
35
  end
@@ -60,12 +69,5 @@ describe 'Efl::EinaLog' do
60
69
  EinaLog.main_thread_check.should be_true
61
70
  EinaLog.threads_enable
62
71
  end
63
- # EAPI void eina_log_threads_enable(void);
64
- # EAPI void eina_log_print_cb_set(Eina_Log_Print_Cb cb, void *data);
65
72
  #
66
- # EAPI void eina_log_print(int domain, Eina_Log_Level level, const char *file, const char *function, int line, const char *fmt, ...);
67
- # EAPI void eina_log_vprint(int domain, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, va_list args);
68
- # EAPI void eina_log_print_cb_stdout(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args);
69
- # EAPI void eina_log_print_cb_stderr(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args);
70
- # EAPI void eina_log_print_cb_file(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args);
71
73
  end
data/spec/elm_spec.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/elementary'
4
+ require 'efl/ecore'
5
+ require 'efl/elementary_all'
5
6
  require './spec/helper'
6
7
  #
7
8
  describe "Efl::Elm #{Efl::Elm.version.full}" do
@@ -81,10 +82,6 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
81
82
  it "fullscreen set/get" do
82
83
  bool_check @win, 'fullscreen', 4
83
84
  end
84
- # FIXME depends on issue: ecore-2
85
- it "maximized set/get" do
86
- bool_check @win, 'maximized', 3
87
- end
88
85
  #
89
86
  it "iconified set/get" do
90
87
  bool_check @win, 'iconified'
@@ -176,28 +173,7 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
176
173
  o2 = @win.inlined_image_object
177
174
  o1.should === o2
178
175
  end
179
- # TODO EAPI void elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params);;
180
- # TODO EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj);
181
- #
182
- describe 'Efl::Elm::ElmInWin' do
183
- it "activate, content set/get/unset" do
184
- @iwin = @win.inwin_add
185
- o1 = @win.evas.object_rectangle_add
186
- o2 = @win.evas.object_rectangle_add
187
- @iwin.activate
188
- @iwin.content_set o1
189
- @iwin.content.should == o1.to_ptr
190
- @iwin.content_get.should === o1.to_ptr
191
- @iwin.content= o2
192
- @iwin.content.should === o2.to_ptr
193
- @iwin.content_get.should === o2.to_ptr
194
- @iwin.content_unset
195
- @iwin.content.should == FFI::Pointer::NULL
196
- @iwin.content_get.should == FFI::Pointer::NULL
197
- o1.free
198
- o2.free
199
- end
200
- end
176
+ #
201
177
  end
202
178
  #
203
179
  describe 'Efl::Elm::ElmBg' do
@@ -228,18 +204,9 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
228
204
  @bg.color_get.should == [12,24,36]
229
205
  @bg.color= 2,4,8
230
206
  @bg.color.should == [2,4,8]
231
- @bg.class.superclass.instance_method(:color).bind(@bg).call.should == [200,255,100,150]
207
+ # @bg.class.superclass.instance_method(:color_get).bind(@bg).call.should == [200,255,100,150]
232
208
  end
233
209
  #
234
- it "overlay get/set unset" do
235
- r = @win.evas.object_rectangle_add
236
- @bg.overlay_get.should==FFI::Pointer::NULL
237
- @bg.overlay_set r
238
- @bg.overlay_get.should == r.to_ptr
239
- @bg.overlay_unset.should == r.to_ptr
240
- @bg.overlay_get.should == FFI::Pointer::NULL
241
- r.free
242
- end
243
210
  end
244
211
  #
245
212
  describe 'Efl::Elm::ElmLabel' do
@@ -292,82 +259,5 @@ describe "Efl::Elm #{Efl::Elm.version.full}" do
292
259
  end
293
260
  end
294
261
  #
295
- describe 'Efl::Elm::ElmPager' do
296
- #
297
- before(:all) {
298
- realize_win
299
- @p = Elm::ElmPager.new @win
300
- @os = []
301
- 0.upto(3) do
302
- @os << @win.evas.object_rectangle_add
303
- end
304
- }
305
- after(:all) {
306
- @p.free
307
- @bg.free
308
- @win.free
309
- }
310
- #
311
- it "content push pop promote bottom_get top_get" do
312
- @os.each do |o|
313
- @p.content_push o
314
- end
315
- @p.content_top_get.should == @os[-1].to_ptr
316
- @p.content_bottom_get.should == @os[0].to_ptr
317
- @p.content_pop
318
- @p.content_top_get.should == @os[-2].to_ptr
319
- @p.content_bottom_get.should == @os[0].to_ptr
320
- @p.content_promote @os[0]
321
- @p.content_top_get.should == @os[0].to_ptr
322
- @p.content_bottom_get.should == @os[1].to_ptr
323
- end
324
- end
325
- #
326
- describe 'Efl::Elm::ElmPanel' do
327
- #
328
- before(:all) {
329
- realize_win
330
- @p = Elm::ElmPanel.new @win
331
- @os = []
332
- }
333
- after(:all) {
334
- @p.free
335
- @bg.free
336
- @win.free
337
- }
338
- #
339
- it "orient set/get" do
340
- @p.orient_set :elm_panel_orient_bottom
341
- @p.orient_get.should == :elm_panel_orient_bottom
342
- @p.orient= :elm_panel_orient_top
343
- @p.orient.should == :elm_panel_orient_top
344
- end
345
- #
346
- it "content set/get/unset" do
347
- o = @win.evas.object_rectangle_add
348
- @p.content_set o
349
- @p.content_get.should == o.to_ptr
350
- @p.content_unset.should == o.to_ptr
351
- o.free
352
- o = @win.evas.object_rectangle_add
353
- @p.content= o
354
- @p.content.should == o.to_ptr
355
- @p.content_unset.should == o.to_ptr
356
- o.free
357
- end
358
- #
359
- it "hidden set/get toggle" do
360
- @p.hidden_set true
361
- @p.hidden_get.should be_true
362
- @p.hidden=false
363
- @p.hidden.should be_false
364
- @p.toggle
365
- @p.hidden_get.should be_true
366
- @p.hidden.should be_true
367
- @p.toggle
368
- @p.hidden_get.should be_false
369
- @p.hidden.should be_false
370
- end
371
- end
372
262
  end
373
263
 
data/spec/evas_spec.rb CHANGED
@@ -1,8 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/eina_list'
5
- require 'efl/ecore'
6
4
  require 'efl/evas'
7
5
  require './spec/helper'
8
6
  #
@@ -29,6 +27,13 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
29
27
  Evas.shutdown.should == @init
30
28
  end
31
29
  #
30
+ it "enum evas_bidi_direction should be correct" do
31
+ Efl::Native.enum_value(:evas_bidi_direction_natural).should == 0
32
+ Efl::Native.enum_value(:evas_bidi_direction_neutral).should == 0
33
+ Efl::Native.enum_value(:evas_bidi_direction_ltr).should == 1
34
+ Efl::Native.enum_value(:evas_bidi_direction_rtl).should == 2
35
+ end
36
+ #
32
37
  it "evas alloc error enum is ok" do
33
38
  Native.enum_value(:evas_alloc_error_none).should == 0
34
39
  Native.enum_value(:evas_alloc_error_fatal).should == 1
@@ -68,8 +73,9 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
68
73
  end
69
74
  #
70
75
  it "should be able to create and destroy evas" do
71
- e1 = Evas::REvas.new
72
- e1.address.should_not == 0
76
+ e1 = Evas::REvas.new do
77
+ address.should_not == 0
78
+ end
73
79
  e2 = Evas::REvas.new e1.to_ptr
74
80
  e1.address.should == e2.address
75
81
  (e1==e2).should be_false
@@ -208,16 +214,6 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
208
214
  @e.pointer_inside.should be_false
209
215
  end
210
216
  #
211
- # TODO evas_event_feed_*
212
- # evas_event_feed_multi_down
213
- # evas_event_feed_multi_up
214
- # evas_event_feed_multi_move
215
- # evas_event_feed_mouse_cancel
216
- # evas_event_feed_mouse_wheel
217
- # evas_event_feed_key_down
218
- # evas_event_feed_key_up
219
- # evas_event_feed_hold
220
- #
221
217
  it "add/del event callback " do
222
218
  @cb = false
223
219
  kd_cb = Proc.new do |data, e, obj, event_info|
@@ -290,8 +286,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
290
286
  @e.object_name_find("name").should == @o.to_ptr
291
287
  @o.free
292
288
  end
293
- # TODO evas_object_top_at_xy_get, evas_object_top_at_pointer_get, evas_object_top_in_rectangle_get
294
- # TODO evas_objects_at_xy_get, evas_objects_in_rectangle_get, evas_object_bottom_get, evas_object_top_get
289
+ #
295
290
  end
296
291
  #
297
292
  describe 'Efl::Evas::REvasObject' do
@@ -634,7 +629,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
634
629
  @t.horiz_advance_get.should > 0
635
630
  @t.vert_advance_get.should > 0
636
631
  @t.inset_get.should > 0
637
- @t.direction_get.should == :evas_bidi_direction_neutral
632
+ @t.direction_get.should == :evas_bidi_direction_ltr
638
633
  @t.style_pad_get.length.should == 4
639
634
  @t.ascent.should > 0
640
635
  @t.descent.should > 0
@@ -643,7 +638,7 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
643
638
  @t.horiz_advance.should > 0
644
639
  @t.vert_advance.should > 0
645
640
  @t.inset.should > 0
646
- @t.direction.should == :evas_bidi_direction_neutral
641
+ @t.direction.should == :evas_bidi_direction_ltr
647
642
  @t.style_pad.length.should == 4
648
643
  end
649
644
  #
@@ -752,232 +747,6 @@ describe "Efl::Evas #{Efl::Evas.version.full}" do
752
747
  @b.padding.should == [30,20]
753
748
  end
754
749
  #
755
-
756
- # EAPI void evas_object_box_smart_set (Evas_Object_Box_Api *api);
757
- # EAPI const Evas_Object_Box_Api *evas_object_box_smart_class_get (void);
758
- # EAPI void evas_object_box_layout_set (Evas_Object *o, Evas_Object_Box_Layout cb, const void *data, void (*free_data)(void *data));
759
-
760
- # EAPI void evas_object_box_layout_horizontal (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
761
- # EAPI void evas_object_box_layout_vertical (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
762
- # EAPI void evas_object_box_layout_homogeneous_vertical (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
763
- # EAPI void evas_object_box_layout_homogeneous_horizontal (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
764
- # EAPI void evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
765
- # EAPI void evas_object_box_layout_homogeneous_max_size_vertical (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
766
- # EAPI void evas_object_box_layout_flow_horizontal (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
767
- # EAPI void evas_object_box_layout_flow_vertical (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
768
- # EAPI void evas_object_box_layout_stack (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
769
-
770
- # EAPI Eina_Iterator *evas_object_box_iterator_new (const Evas_Object *o);
771
- # EAPI Eina_Accessor *evas_object_box_accessor_new (const Evas_Object *o);
772
-
773
- # EAPI const char *evas_object_box_option_property_name_get (Evas_Object *o, int property);
774
-
775
- # EAPI int evas_object_box_option_property_id_get (Evas_Object *o, const char *name);
776
- # EAPI Eina_Bool evas_object_box_option_property_set (Evas_Object *o, Evas_Object_Box_Option *opt, int property, ...);
777
- # EAPI Eina_Bool evas_object_box_option_property_vset (Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args);
778
- # EAPI Eina_Bool evas_object_box_option_property_get (Evas_Object *o, Evas_Object_Box_Option *opt, int property, ...);
779
- # EAPI Eina_Bool evas_object_box_option_property_vget (Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args);
780
750
  end
781
751
  #
782
- # EAPI Evas_Object *evas_object_image_filled_add (Evas *e);
783
- # EAPI void evas_object_image_memfile_set (Evas_Object *obj, void *data, int size, char *format, char *key);
784
- # EAPI void evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key);
785
- # EAPI void evas_object_image_file_get (const Evas_Object *obj, const char **file, const char **key);
786
- # EAPI void evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b);
787
- # EAPI void evas_object_image_border_get (const Evas_Object *obj, int *l, int *r, int *t, int *b);
788
- # EAPI void evas_object_image_border_center_fill_set (Evas_Object *obj, Evas_Border_Fill_Mode fill);
789
- # EAPI Evas_Border_Fill_Mode evas_object_image_border_center_fill_get (const Evas_Object *obj);
790
- # EAPI void evas_object_image_filled_set (Evas_Object *obj, Eina_Bool setting);
791
- # EAPI Eina_Bool evas_object_image_filled_get (const Evas_Object *obj);
792
- # EAPI void evas_object_image_border_scale_set (Evas_Object *obj, double scale);
793
- # EAPI double evas_object_image_border_scale_get (const Evas_Object *obj);
794
- # EAPI void evas_object_image_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
795
- # EAPI void evas_object_image_fill_get (const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
796
- # EAPI void evas_object_image_fill_spread_set (Evas_Object *obj, Evas_Fill_Spread spread);
797
- # EAPI Evas_Fill_Spread evas_object_image_fill_spread_get (const Evas_Object *obj);
798
- # EAPI void evas_object_image_size_set (Evas_Object *obj, int w, int h);
799
- # EAPI void evas_object_image_size_get (const Evas_Object *obj, int *w, int *h);
800
- # EAPI int evas_object_image_stride_get (const Evas_Object *obj);
801
- # EAPI Evas_Load_Error evas_object_image_load_error_get (const Evas_Object *obj);
802
- # EAPI void evas_object_image_data_set (Evas_Object *obj, void *data);
803
- # EAPI void *evas_object_image_data_convert (Evas_Object *obj, Evas_Colorspace to_cspace);
804
- # EAPI void *evas_object_image_data_get (const Evas_Object *obj, Eina_Bool for_writing);
805
- # EAPI void evas_object_image_data_copy_set (Evas_Object *obj, void *data);
806
- # EAPI void evas_object_image_data_update_add (Evas_Object *obj, int x, int y, int w, int h);
807
- # EAPI void evas_object_image_alpha_set (Evas_Object *obj, Eina_Bool has_alpha);
808
- # EAPI Eina_Bool evas_object_image_alpha_get (const Evas_Object *obj);
809
- # EAPI void evas_object_image_smooth_scale_set (Evas_Object *obj, Eina_Bool smooth_scale);
810
- # EAPI Eina_Bool evas_object_image_smooth_scale_get (const Evas_Object *obj);
811
- # EAPI void evas_object_image_preload (Evas_Object *obj, Eina_Bool cancel);
812
- # EAPI void evas_object_image_reload (Evas_Object *obj);
813
- # EAPI Eina_Bool evas_object_image_save (const Evas_Object *obj, const char *file, const char *key, const char *flags);
814
- # EAPI Eina_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels);
815
- # EAPI void evas_object_image_pixels_get_callback_set(Evas_Object *obj, Evas_Object_Image_Pixels_Get_Cb func, void *data);
816
- # EAPI void evas_object_image_pixels_dirty_set (Evas_Object *obj, Eina_Bool dirty);
817
- # EAPI Eina_Bool evas_object_image_pixels_dirty_get (const Evas_Object *obj);
818
- # EAPI void evas_object_image_load_dpi_set (Evas_Object *obj, double dpi);
819
- # EAPI double evas_object_image_load_dpi_get (const Evas_Object *obj);
820
- # EAPI void evas_object_image_load_size_set (Evas_Object *obj, int w, int h);
821
- # EAPI void evas_object_image_load_size_get (const Evas_Object *obj, int *w, int *h);
822
- # EAPI void evas_object_image_load_scale_down_set (Evas_Object *obj, int scale_down);
823
- # EAPI int evas_object_image_load_scale_down_get (const Evas_Object *obj);
824
- # EAPI void evas_object_image_load_region_set (Evas_Object *obj, int x, int y, int w, int h);
825
- # EAPI void evas_object_image_load_region_get (const Evas_Object *obj, int *x, int *y, int *w, int *h);
826
- # EAPI void evas_object_image_colorspace_set (Evas_Object *obj, Evas_Colorspace cspace);
827
- # EAPI Evas_Colorspace evas_object_image_colorspace_get (const Evas_Object *obj);
828
- # EAPI void evas_object_image_native_surface_set (Evas_Object *obj, Evas_Native_Surface *surf);
829
- # EAPI Evas_Native_Surface *evas_object_image_native_surface_get (const Evas_Object *obj);
830
- # EAPI void evas_object_image_scale_hint_set (Evas_Object *obj, Evas_Image_Scale_Hint hint);
831
- # EAPI Evas_Image_Scale_Hint evas_object_image_scale_hint_get (const Evas_Object *obj);
832
- # EAPI void evas_object_image_content_hint_set (Evas_Object *obj, Evas_Image_Content_Hint hint);
833
- # EAPI Evas_Image_Content_Hint evas_object_image_content_hint_get (const Evas_Object *obj);
834
- # EAPI void evas_object_image_alpha_mask_set (Evas_Object *obj, Eina_Bool ismask);
835
- # EAPI Eina_Bool evas_object_image_source_set (Evas_Object *obj, Evas_Object *src);
836
- # EAPI Evas_Object *evas_object_image_source_get (Evas_Object *obj);
837
- # EAPI Eina_Bool evas_object_image_source_unset (Evas_Object *obj);
838
- # EAPI Evas_Object *evas_object_textblock_add(Evas *e);
839
- # EAPI const char *evas_textblock_escape_string_get(const char *escape);
840
- # EAPI const char *evas_textblock_string_escape_get(const char *string, int *len_ret);
841
- # EAPI const char *evas_textblock_escape_string_range_get(const char *escape_start, const char *escape_end);
842
- # EAPI Evas_Textblock_Style *evas_textblock_style_new(void);
843
- # EAPI void evas_textblock_style_free(Evas_Textblock_Style *ts);
844
- # EAPI void evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text);
845
- # EAPI const char *evas_textblock_style_get(const Evas_Textblock_Style *ts);
846
- # EAPI void evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts);
847
- # EAPI const Evas_Textblock_Style *evas_object_textblock_style_get(const Evas_Object *obj);
848
- # EAPI void evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch);
849
- # EAPI const char *evas_object_textblock_replace_char_get(Evas_Object *obj);
850
- # EAPI void evas_object_textblock_valign_set(Evas_Object *obj, double align);
851
- # EAPI double evas_object_textblock_valign_get(const Evas_Object *obj);
852
- # EAPI void evas_object_textblock_bidi_delimiters_set(Evas_Object *obj, const char *delim);
853
- # EAPI const char *evas_object_textblock_bidi_delimiters_get(const Evas_Object *obj);
854
- # EAPI void evas_object_textblock_newline_mode_set(Evas_Object *obj, Eina_Bool mode);
855
- # EAPI Eina_Bool evas_object_textblock_newline_mode_get(const Evas_Object *obj);
856
- # EAPI void evas_object_textblock_text_markup_set(Evas_Object *obj, const char *text);
857
- # EAPI void evas_object_textblock_text_markup_prepend(Evas_Textblock_Cursor *cur, const char *text);
858
- # EAPI const char *evas_object_textblock_text_markup_get(const Evas_Object *obj);
859
- # EAPI const Evas_Textblock_Cursor *evas_object_textblock_cursor_get(const Evas_Object *obj);
860
- # EAPI Evas_Textblock_Cursor *evas_object_textblock_cursor_new(Evas_Object *obj);
861
- # EAPI void evas_textblock_cursor_free(Evas_Textblock_Cursor *cur);
862
- # EAPI void evas_textblock_cursor_paragraph_first(Evas_Textblock_Cursor *cur);
863
- # EAPI void evas_textblock_cursor_paragraph_last(Evas_Textblock_Cursor *cur);
864
- # EAPI Eina_Bool evas_textblock_cursor_paragraph_next(Evas_Textblock_Cursor *cur);
865
- # EAPI Eina_Bool evas_textblock_cursor_paragraph_prev(Evas_Textblock_Cursor *cur);
866
- # EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_node_format_first_get(const Evas_Object *obj);
867
- # EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_node_format_last_get(const Evas_Object *obj);
868
- # EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_node_format_next_get(const Evas_Object_Textblock_Node_Format *n);
869
- # EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_node_format_prev_get(const Evas_Object_Textblock_Node_Format *n);
870
- # EAPI void evas_textblock_node_format_remove_pair(Evas_Object *obj, Evas_Object_Textblock_Node_Format *n);
871
- # EAPI void evas_textblock_cursor_set_at_format(Evas_Textblock_Cursor *cur, const Evas_Object_Textblock_Node_Format *n);
872
- # EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_cursor_format_get(const Evas_Textblock_Cursor *cur);
873
- # EAPI const char *evas_textblock_node_format_text_get(const Evas_Object_Textblock_Node_Format *cur);
874
- # EAPI void evas_textblock_cursor_at_format_set(Evas_Textblock_Cursor *cur, const Evas_Object_Textblock_Node_Format *fmt);
875
- # EAPI Eina_Bool evas_textblock_cursor_format_is_visible_get(const Evas_Textblock_Cursor *cur);
876
- # EAPI Eina_Bool evas_textblock_cursor_format_next(Evas_Textblock_Cursor *cur);
877
- # EAPI Eina_Bool evas_textblock_cursor_format_prev(Evas_Textblock_Cursor *cur);
878
- # EAPI Eina_Bool evas_textblock_cursor_is_format(const Evas_Textblock_Cursor *cur);
879
- # EAPI Eina_Bool evas_textblock_cursor_char_next(Evas_Textblock_Cursor *cur);
880
- # EAPI Eina_Bool evas_textblock_cursor_char_prev(Evas_Textblock_Cursor *cur);
881
- # EAPI void evas_textblock_cursor_paragraph_char_first(Evas_Textblock_Cursor *cur);
882
- # EAPI void evas_textblock_cursor_paragraph_char_last(Evas_Textblock_Cursor *cur);
883
- # EAPI void evas_textblock_cursor_line_char_first(Evas_Textblock_Cursor *cur);
884
- # EAPI void evas_textblock_cursor_line_char_last(Evas_Textblock_Cursor *cur);
885
- # EAPI int evas_textblock_cursor_pos_get(const Evas_Textblock_Cursor *cur);
886
- # EAPI void evas_textblock_cursor_pos_set(Evas_Textblock_Cursor *cur, int pos);
887
- # EAPI Eina_Bool evas_textblock_cursor_line_set(Evas_Textblock_Cursor *cur, int line);
888
- # EAPI int evas_textblock_cursor_compare(const Evas_Textblock_Cursor *cur1, const Evas_Textblock_Cursor *cur2);
889
- # EAPI void evas_textblock_cursor_copy(const Evas_Textblock_Cursor *cur, Evas_Textblock_Cursor *cur_dest);
890
- # EAPI int evas_textblock_cursor_text_append(Evas_Textblock_Cursor *cur, const char *text);
891
- # EAPI int evas_textblock_cursor_text_prepend(Evas_Textblock_Cursor *cur, const char *text);
892
- # EAPI Eina_Bool evas_textblock_cursor_format_append(Evas_Textblock_Cursor *cur, const char *format);
893
- # EAPI Eina_Bool evas_textblock_cursor_format_prepend(Evas_Textblock_Cursor *cur, const char *format);
894
- # EAPI void evas_textblock_cursor_char_delete(Evas_Textblock_Cursor *cur);
895
- # EAPI void evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_Cursor *cur2);
896
- # EAPI const char *evas_textblock_cursor_paragraph_text_get(const Evas_Textblock_Cursor *cur);
897
- # EAPI int evas_textblock_cursor_paragraph_text_length_get(const Evas_Textblock_Cursor *cur);
898
- # EAPI char *evas_textblock_cursor_range_text_get(const Evas_Textblock_Cursor *cur1, const Evas_Textblock_Cursor *cur2, Evas_Textblock_Text_Type format);
899
- # EAPI char *evas_textblock_cursor_content_get(const Evas_Textblock_Cursor *cur);
900
- # EAPI int evas_textblock_cursor_geometry_get(const Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch, Evas_BiDi_Direction *dir, Evas_Textblock_Cursor_Type ctype);
901
- # EAPI int evas_textblock_cursor_char_geometry_get(const Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch);
902
- # EAPI int evas_textblock_cursor_pen_geometry_get(const Evas_Textblock_Cursor *cur, Evas_Coord *cpen_x, Evas_Coord *cy, Evas_Coord *cadv, Evas_Coord *ch);
903
- # EAPI int evas_textblock_cursor_line_geometry_get(const Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch);
904
- # EAPI Eina_Bool evas_textblock_cursor_char_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord x, Evas_Coord y);
905
- # EAPI int evas_textblock_cursor_line_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord y);
906
- # EAPI Eina_List *evas_textblock_cursor_range_geometry_get(const Evas_Textblock_Cursor *cur1, const Evas_Textblock_Cursor *cur2);
907
- # EAPI Eina_Bool evas_textblock_cursor_format_item_geometry_get(const Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch);
908
- # EAPI Eina_Bool evas_textblock_cursor_eol_get(const Evas_Textblock_Cursor *cur);
909
- # EAPI Eina_Bool evas_object_textblock_line_number_geometry_get(const Evas_Object *obj, int line, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch);
910
- # EAPI void evas_object_textblock_clear(Evas_Object *obj);
911
- # EAPI void evas_object_textblock_size_formatted_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
912
- # EAPI void evas_object_textblock_size_native_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
913
- # EAPI void evas_object_textblock_style_insets_get(const Evas_Object *obj, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b);
914
- # EAPI void evas_smart_free (Evas_Smart *s);
915
- # EAPI Evas_Smart *evas_smart_class_new (const Evas_Smart_Class *sc);
916
- # EAPI const Evas_Smart_Class *evas_smart_class_get (const Evas_Smart *s);
917
- # EAPI void *evas_smart_data_get (const Evas_Smart *s);
918
- # EAPI const Evas_Smart_Cb_Description **evas_smart_callbacks_descriptions_get(const Evas_Smart *s, unsigned int *count);
919
- # EAPI const Evas_Smart_Cb_Description *evas_smart_callback_description_find(const Evas_Smart *s, const char *name);
920
- # EAPI Eina_Bool evas_smart_class_inherit_full (Evas_Smart_Class *sc, const Evas_Smart_Class *parent_sc, unsigned int parent_sc_size);
921
- # EAPI Evas_Object *evas_object_smart_add (Evas *e, Evas_Smart *s);
922
- # EAPI void evas_object_smart_member_add (Evas_Object *obj, Evas_Object *smart_obj);
923
- # EAPI void evas_object_smart_member_del (Evas_Object *obj);
924
- # EAPI Evas_Object *evas_object_smart_parent_get (const Evas_Object *obj);
925
- # EAPI Eina_Bool evas_object_smart_type_check (const Evas_Object *obj, const char *type);
926
- # EAPI Eina_Bool evas_object_smart_type_check_ptr (const Evas_Object *obj, const char *type);
927
- # EAPI Eina_List *evas_object_smart_members_get (const Evas_Object *obj);
928
- # EAPI Evas_Smart *evas_object_smart_smart_get (const Evas_Object *obj);
929
- # EAPI void *evas_object_smart_data_get (const Evas_Object *obj);
930
- # EAPI void evas_object_smart_data_set (Evas_Object *obj, void *data);
931
- # EAPI void evas_object_smart_callback_add (Evas_Object *obj, const char *event, Evas_Smart_Cb func, const void *data);
932
- # EAPI void *evas_object_smart_callback_del (Evas_Object *obj, const char *event, Evas_Smart_Cb func);
933
- # EAPI void evas_object_smart_callback_call (Evas_Object *obj, const char *event, void *event_info);
934
- # EAPI Eina_Bool evas_object_smart_callbacks_descriptions_set(Evas_Object *obj, const Evas_Smart_Cb_Description *descriptions);
935
- # EAPI void evas_object_smart_callbacks_descriptions_get(const Evas_Object *obj, const Evas_Smart_Cb_Description ***class_descriptions, unsigned int *class_count, const Evas_Smart_Cb_Description ***instance_descriptions, unsigned int *instance_count);
936
- # EAPI void evas_object_smart_callback_description_find(const Evas_Object *obj, const char *name, const Evas_Smart_Cb_Description **class_description, const Evas_Smart_Cb_Description **instance_description);
937
- # EAPI void evas_object_smart_changed (Evas_Object *obj);
938
- # EAPI void evas_object_smart_need_recalculate_set(Evas_Object *obj, Eina_Bool value);
939
- # EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Evas_Object *obj);
940
- # EAPI void evas_object_smart_calculate (Evas_Object *obj);
941
- # EAPI void evas_smart_objects_calculate (Evas *e);
942
- # EAPI Evas_Object *evas_object_smart_clipped_clipper_get (Evas_Object *obj);
943
- # EAPI void evas_object_smart_clipped_smart_set (Evas_Smart_Class *sc);
944
- # EAPI const Evas_Smart_Class *evas_object_smart_clipped_class_get (void);
945
- # EAPI void evas_object_smart_move_children_relative(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);
946
- # EAPI Evas_Object *evas_object_table_add (Evas *evas);
947
- # EAPI Evas_Object *evas_object_table_add_to (Evas_Object *parent);
948
- # EAPI void evas_object_table_homogeneous_set (Evas_Object *o, Evas_Object_Table_Homogeneous_Mode homogeneous);
949
- # EAPI Evas_Object_Table_Homogeneous_Mode evas_object_table_homogeneous_get (const Evas_Object *o);
950
- # EAPI void evas_object_table_padding_set (Evas_Object *o, Evas_Coord horizontal, Evas_Coord vertical);
951
- # EAPI void evas_object_table_padding_get (const Evas_Object *o, Evas_Coord *horizontal, Evas_Coord *vertical);
952
- # EAPI void evas_object_table_align_set (Evas_Object *o, double horizontal, double vertical);
953
- # EAPI void evas_object_table_align_get (const Evas_Object *o, double *horizontal, double *vertical);
954
- # EAPI void evas_object_table_mirrored_set (Evas_Object *o, Eina_Bool mirrored);
955
- # EAPI Eina_Bool evas_object_table_mirrored_get (const Evas_Object *o);
956
- # EAPI Eina_Bool evas_object_table_pack (Evas_Object *o, Evas_Object *child, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan);
957
- # EAPI Eina_Bool evas_object_table_unpack (Evas_Object *o, Evas_Object *child);
958
- # EAPI void evas_object_table_clear (Evas_Object *o, Eina_Bool clear);
959
- # EAPI void evas_object_table_col_row_size_get(const Evas_Object *o, int *cols, int *rows);
960
- # EAPI Eina_Iterator *evas_object_table_iterator_new (const Evas_Object *o);
961
- # EAPI Eina_Accessor *evas_object_table_accessor_new (const Evas_Object *o);
962
- # EAPI Eina_List *evas_object_table_children_get (const Evas_Object *o);
963
- # EAPI Evas_Object *evas_object_table_child_get (const Evas_Object *o, unsigned short col, unsigned short row);
964
- # EAPI Eina_Bool evas_object_filter_mode_set (Evas_Object *o, Evas_Filter_Mode mode);
965
- # EAPI Evas_Filter_Mode evas_object_filter_mode_get (Evas_Object *o);
966
- # EAPI Eina_Bool evas_object_filter_set (Evas_Object *o, Evas_Filter filter);
967
- # EAPI Evas_Filter evas_object_filter_get (Evas_Object *o);
968
- # EAPI Eina_Bool evas_object_filter_param_int_set (Evas_Object *o, const char *param, int val);
969
- # EAPI int evas_object_filter_param_int_get (Evas_Object *o, const char *param);
970
- # EAPI Eina_Bool evas_object_filter_param_str_set (Evas_Object *o, const char *param, const char *val);
971
- # EAPI const char *evas_object_filter_param_str_get (Evas_Object *o, const char *param);
972
- # EAPI Eina_Bool evas_object_filter_param_obj_set (Evas_Object *o, const char *param, Evas_Object *val);
973
- # EAPI Evas_Object *evas_object_filter_param_obj_get (Evas_Object *o, const char *param);
974
- # EAPI Eina_Bool evas_object_filter_param_float_set(Evas_Object *o, const char *param, double val);
975
- # EAPI double evas_object_filter_param_float_get(Evas_Object *o, const char *param);
976
- # EAPI Eina_Bool evas_cserve_want_get (void);
977
- # EAPI Eina_Bool evas_cserve_connected_get (void);
978
- # EAPI Eina_Bool evas_cserve_stats_get (Evas_Cserve_Stats *stats);
979
- # EAPI void evas_cserve_image_cache_contents_clean (Evas_Cserve_Image_Cache *cache);
980
- # EAPI Eina_Bool evas_cserve_config_get (Evas_Cserve_Config *config);
981
- # EAPI Eina_Bool evas_cserve_config_set (const Evas_Cserve_Config *config);
982
- # EAPI void evas_cserve_disconnect (void);
983
752
  end