ffi-efl 0.0.4 → 0.0.5
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.
- data/Changelog +13 -2
- data/lib/efl.rb +1 -1
- data/lib/efl/edje.rb +11 -0
- data/lib/efl/eina_list.rb +1 -1
- data/lib/efl/eina_rectangle.rb +20 -0
- data/lib/efl/evas.rb +140 -21
- data/spec/ecore_evas_spec.rb +1 -1
- data/spec/edje_spec.rb +341 -2
- data/spec/eet_spec.rb +1 -1
- data/spec/evas_spec.rb +428 -18
- data/tasks/gem.rake +0 -1
- data/tasks/helpers.rb +1 -1
- data/test/test_edje.rb +40 -42
- data/test/test_evas.rb +53 -42
- metadata +4 -5
data/spec/eet_spec.rb
CHANGED
data/spec/evas_spec.rb
CHANGED
@@ -1,22 +1,24 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
2
|
# -*- coding: UTF-8 -*-
|
3
3
|
#
|
4
|
+
require 'efl/eina_list'
|
4
5
|
require 'efl/ecore'
|
5
6
|
require 'efl/evas'
|
6
7
|
#
|
7
8
|
describe Efl::Evas do
|
9
|
+
#
|
8
10
|
def realize_evas
|
9
|
-
|
10
|
-
|
11
|
-
@pixels = FFI::MemoryPointer.new :int,
|
11
|
+
width = 800
|
12
|
+
height = 600
|
13
|
+
@pixels = FFI::MemoryPointer.new :int, width*height
|
12
14
|
@e = Evas::REvas.new
|
13
15
|
@e.output_method_set Evas::render_method_lookup("buffer")
|
14
|
-
@e.output_viewport_set 0, 0,
|
15
|
-
@e.output_size_set
|
16
|
+
@e.output_viewport_set 0, 0, width, height
|
17
|
+
@e.output_size_set width, height
|
16
18
|
einfo = Native::EngineInfoBufferStruct.new @e.engine_info
|
17
|
-
einfo[:info][:depth_type] =
|
19
|
+
einfo[:info][:depth_type] = Evas::EVAS_ENGINE_BUFFER_DEPTH_ARGB32
|
18
20
|
einfo[:info][:dest_buffer] = @pixels
|
19
|
-
einfo[:info][:dest_buffer_row_bytes] =
|
21
|
+
einfo[:info][:dest_buffer_row_bytes] = width * FFI::type_size(:int);
|
20
22
|
einfo[:info][:use_color_key] = 0;
|
21
23
|
einfo[:info][:alpha_threshold] = 0;
|
22
24
|
einfo[:info][:func][:new_update_region] = nil #FFI::Pointer::NULL;
|
@@ -26,7 +28,7 @@ describe Efl::Evas do
|
|
26
28
|
#
|
27
29
|
before(:all) {
|
28
30
|
Evas = Efl::Evas
|
29
|
-
Native = Efl::Native
|
31
|
+
Native = Efl::Native unless Kernel.const_defined? 'Native'
|
30
32
|
}
|
31
33
|
#
|
32
34
|
it "should init" do
|
@@ -84,6 +86,7 @@ describe Efl::Evas do
|
|
84
86
|
@pixels.free
|
85
87
|
Evas.shutdown
|
86
88
|
end
|
89
|
+
#
|
87
90
|
it "should be able to create and destroy evas" do
|
88
91
|
e1 = Evas::REvas.new
|
89
92
|
e1.address.should_not == 0
|
@@ -146,6 +149,7 @@ describe Efl::Evas do
|
|
146
149
|
@e.render_idle_flush
|
147
150
|
@e.render_dump
|
148
151
|
end
|
152
|
+
#
|
149
153
|
it "output method should work" do
|
150
154
|
@e.output_method.should == Evas::render_method_lookup("buffer")
|
151
155
|
@e.output_method_get.should == Evas::render_method_lookup("buffer")
|
@@ -167,6 +171,7 @@ describe Efl::Evas do
|
|
167
171
|
@e.output_size = 666, 69
|
168
172
|
@e.size == [666,69]
|
169
173
|
end
|
174
|
+
#
|
170
175
|
it "output viewport should work" do
|
171
176
|
@e.output_viewport_set 0, 0, 666, 69
|
172
177
|
@e.viewport.should == [0,0,666,69]
|
@@ -243,7 +248,7 @@ describe Efl::Evas do
|
|
243
248
|
true
|
244
249
|
end
|
245
250
|
kd_d = FFI::MemoryPointer.from_string "mouse_in"
|
246
|
-
@bg =
|
251
|
+
@bg = @e.object_rectangle_add
|
247
252
|
@bg.move 0, 0
|
248
253
|
@bg.resize 20, 20
|
249
254
|
@bg.show
|
@@ -251,6 +256,7 @@ describe Efl::Evas do
|
|
251
256
|
@e.event_feed_mouse_in Time.now.to_i, FFI::Pointer::NULL
|
252
257
|
@bg.event_callback_del(:evas_callback_mouse_in, kd_cb).address.should == kd_d.address
|
253
258
|
@db.should be_true
|
259
|
+
@bg.free
|
254
260
|
end
|
255
261
|
#
|
256
262
|
it "image cache functions should work" do
|
@@ -285,7 +291,7 @@ describe Efl::Evas do
|
|
285
291
|
it "focus should work" do
|
286
292
|
@e.focus.should == FFI::Pointer::NULL
|
287
293
|
@e.focus_get.should == FFI::Pointer::NULL
|
288
|
-
@o = @e.
|
294
|
+
@o = @e.object_rectangle_add { |o|
|
289
295
|
o.color = 200,200,200,200
|
290
296
|
o.move 0, 0
|
291
297
|
o.resize 100, 100
|
@@ -294,23 +300,26 @@ describe Efl::Evas do
|
|
294
300
|
@o.focus = true
|
295
301
|
@e.focus.should == @o.to_ptr
|
296
302
|
@e.focus_get.should == @o.to_ptr
|
303
|
+
@o.free
|
297
304
|
end
|
298
305
|
#
|
299
306
|
it "object_name_find should work" do
|
300
307
|
@e.object_name_find("name").should == FFI::Pointer::NULL
|
301
|
-
@o = @e.
|
308
|
+
@o = @e.object_rectangle_add
|
302
309
|
@o.name="name"
|
303
310
|
@e.object_name_find("name").should == @o.to_ptr
|
311
|
+
@o.free
|
304
312
|
end
|
305
313
|
# TODO evas_object_top_at_xy_get, evas_object_top_at_pointer_get, evas_object_top_in_rectangle_get
|
306
314
|
# TODO evas_objects_at_xy_get, evas_objects_in_rectangle_get, evas_object_bottom_get, evas_object_top_get
|
307
315
|
end
|
316
|
+
#
|
308
317
|
describe Efl::Evas::REvasObject do
|
309
318
|
#
|
310
319
|
before(:all) do
|
311
320
|
Evas.init
|
312
321
|
realize_evas
|
313
|
-
@o = @e.
|
322
|
+
@o = @e.object_rectangle_add { |o|
|
314
323
|
o.color = 200,200,200,200
|
315
324
|
o.move 0, 0
|
316
325
|
o.resize 100, 100
|
@@ -325,7 +334,7 @@ describe Efl::Evas do
|
|
325
334
|
end
|
326
335
|
#
|
327
336
|
it "clipper should work" do
|
328
|
-
clipper = @e.
|
337
|
+
clipper = @e.object_rectangle_add
|
329
338
|
clipper.color = 255,255,255,255
|
330
339
|
clipper.move 25, 25
|
331
340
|
clipper.resize 50, 50
|
@@ -369,6 +378,15 @@ describe Efl::Evas do
|
|
369
378
|
@o.geometry_get.should == [10,10,50,50]
|
370
379
|
end
|
371
380
|
#
|
381
|
+
it "center should work" do
|
382
|
+
@o.geometry.should == [10,10,50,50]
|
383
|
+
@o.center_get.should == [35,35]
|
384
|
+
@o.center.should == [35,35]
|
385
|
+
@o.center_set 50, 50
|
386
|
+
@o.center.should == [50,50]
|
387
|
+
@o.geometry.should == [25,25,50,50]
|
388
|
+
end
|
389
|
+
#
|
372
390
|
it "show hide visible should work" do
|
373
391
|
@o.show
|
374
392
|
@o.visible?.should be_true
|
@@ -401,7 +419,7 @@ describe Efl::Evas do
|
|
401
419
|
it "raise, lower, stck_below, stack_above should work" do
|
402
420
|
os = []
|
403
421
|
0.upto(3) do
|
404
|
-
os << @e.
|
422
|
+
os << @e.object_rectangle_add
|
405
423
|
end
|
406
424
|
os[2].above.should === os[3]
|
407
425
|
os[2].below.should === os[1]
|
@@ -565,9 +583,10 @@ describe Efl::Evas do
|
|
565
583
|
before(:all) do
|
566
584
|
Evas.init
|
567
585
|
realize_evas
|
568
|
-
@l = @e.
|
586
|
+
@l = @e.object_line_add
|
569
587
|
end
|
570
588
|
after(:all) do
|
589
|
+
@l.free
|
571
590
|
@e.free
|
572
591
|
Evas.shutdown
|
573
592
|
end
|
@@ -582,17 +601,18 @@ describe Efl::Evas do
|
|
582
601
|
before(:all) do
|
583
602
|
Evas.init
|
584
603
|
realize_evas
|
585
|
-
@p = @e.
|
604
|
+
@p = @e.object_polygon_add
|
586
605
|
end
|
587
606
|
after(:all) do
|
607
|
+
@p.free
|
588
608
|
@e.free
|
589
609
|
Evas.shutdown
|
590
610
|
end
|
591
611
|
it "xy point_add should work" do
|
592
612
|
@p.point_add 10, 20
|
593
613
|
@p.point_add 30, 40
|
594
|
-
@p
|
595
|
-
@p
|
614
|
+
@p.<< 50, 60
|
615
|
+
@p.<< 80, 80
|
596
616
|
end
|
597
617
|
#
|
598
618
|
it "point clear shold work" do
|
@@ -600,4 +620,394 @@ describe Efl::Evas do
|
|
600
620
|
end
|
601
621
|
end
|
602
622
|
#
|
623
|
+
describe Efl::Evas::REvasText do
|
624
|
+
#
|
625
|
+
before(:all) do
|
626
|
+
Evas.init
|
627
|
+
realize_evas
|
628
|
+
@t = @e.object_text_add
|
629
|
+
end
|
630
|
+
after(:all) do
|
631
|
+
@t.free
|
632
|
+
@e.free
|
633
|
+
Evas.shutdown
|
634
|
+
end
|
635
|
+
#
|
636
|
+
it "font_source get/set should work" do
|
637
|
+
@t.font_source_set "myFont"
|
638
|
+
@t.font_source_get.should == "myFont"
|
639
|
+
@t.font_source = "myFont2"
|
640
|
+
@t.font_source.should == "myFont2"
|
641
|
+
end
|
642
|
+
#
|
643
|
+
it "font get/set should work" do
|
644
|
+
@t.font_set "Arial", 12
|
645
|
+
@t.font_get.should == ["Arial",12]
|
646
|
+
@t.font = "Ariall", 16
|
647
|
+
@t.font_get.should == ["Ariall",16]
|
648
|
+
end
|
649
|
+
#
|
650
|
+
it "text set/get should work" do
|
651
|
+
@t.text_set "hello"
|
652
|
+
@t.text_get.should == "hello"
|
653
|
+
@t.text="hello world"
|
654
|
+
@t.text.should == "hello world"
|
655
|
+
end
|
656
|
+
#
|
657
|
+
it "test different accessors" do
|
658
|
+
@t.ascent_get.should > 0
|
659
|
+
@t.descent_get.should > 0
|
660
|
+
@t.max_ascent_get.should > 0
|
661
|
+
@t.max_descent_get.should > 0
|
662
|
+
@t.horiz_advance_get.should > 0
|
663
|
+
@t.vert_advance_get.should > 0
|
664
|
+
@t.inset_get.should > 0
|
665
|
+
@t.direction_get.should == :evas_bidi_direction_ltr
|
666
|
+
@t.style_pad_get.length.should == 4
|
667
|
+
@t.ascent.should > 0
|
668
|
+
@t.descent.should > 0
|
669
|
+
@t.max_ascent.should > 0
|
670
|
+
@t.max_descent.should > 0
|
671
|
+
@t.horiz_advance.should > 0
|
672
|
+
@t.vert_advance.should > 0
|
673
|
+
@t.inset.should > 0
|
674
|
+
@t.direction.should == :evas_bidi_direction_ltr
|
675
|
+
@t.style_pad.length.should == 4
|
676
|
+
end
|
677
|
+
#
|
678
|
+
it "bidi_delimiters set/get should work" do
|
679
|
+
@t.bidi_delimiters_set "@"
|
680
|
+
@t.bidi_delimiters_get.should == "@"
|
681
|
+
@t.bidi_delimiters= "#"
|
682
|
+
@t.bidi_delimiters.should == "#"
|
683
|
+
end
|
684
|
+
#
|
685
|
+
it "char_pos_get char_coords_get last_up_to_pos should work" do
|
686
|
+
@t.text="hello world"
|
687
|
+
coords = @t.char_pos_get 6
|
688
|
+
@t.char_coords(coords[0], coords[1])[0].should == 6
|
689
|
+
@t.char_coords_get(coords[0], coords[1])[0].should == 6
|
690
|
+
coords = @t.char_pos_get 3
|
691
|
+
@t.char_coords(coords[0], coords[1])[0].should == 3
|
692
|
+
@t.char_coords_get(coords[0], coords[1])[0].should == 3
|
693
|
+
@t.last_up_to_pos(coords[0], coords[1]).should == 3
|
694
|
+
end
|
695
|
+
#
|
696
|
+
it "style ste/get should work" do
|
697
|
+
@t.style_set :evas_text_style_shadow
|
698
|
+
@t.style_get.should == :evas_text_style_shadow
|
699
|
+
@t.style= :evas_text_style_outline
|
700
|
+
@t.style.should == :evas_text_style_outline
|
701
|
+
end
|
702
|
+
#
|
703
|
+
it "shadow_color set/get should work" do
|
704
|
+
@t.shadow_color_set 100, 150, 200, 50
|
705
|
+
@t.shadow_color_get.should == [100, 150, 200, 50]
|
706
|
+
@t.shadow_color = 100, 150, 200, 50
|
707
|
+
@t.shadow_color.should == [100, 150, 200, 50]
|
708
|
+
end
|
709
|
+
#
|
710
|
+
it "glow_color set/get should work" do
|
711
|
+
@t.glow_color_set 100, 150, 200, 50
|
712
|
+
@t.glow_color_get.should == [100, 150, 200, 50]
|
713
|
+
@t.glow_color = 100, 150, 200, 50
|
714
|
+
@t.glow_color.should == [100, 150, 200, 50]
|
715
|
+
end
|
716
|
+
#
|
717
|
+
it "glow2_color set/get should work" do
|
718
|
+
@t.glow2_color_set 100, 150, 200, 50
|
719
|
+
@t.glow2_color_get.should == [100, 150, 200, 50]
|
720
|
+
@t.glow2_color = 100, 150, 200, 50
|
721
|
+
@t.glow2_color.should == [100, 150, 200, 50]
|
722
|
+
end
|
723
|
+
#
|
724
|
+
it "outline_color set/get should work" do
|
725
|
+
@t.outline_color_set 100, 150, 200, 50
|
726
|
+
@t.outline_color_get.should == [100, 150, 200, 50]
|
727
|
+
@t.outline_color = 100, 150, 200, 50
|
728
|
+
@t.outline_color.should == [100, 150, 200, 50]
|
729
|
+
end
|
730
|
+
#
|
731
|
+
end
|
732
|
+
#
|
733
|
+
describe Efl::Evas::REvasBox do
|
734
|
+
#
|
735
|
+
before(:all) do
|
736
|
+
Evas.init
|
737
|
+
realize_evas
|
738
|
+
@b = @e.object_box_add
|
739
|
+
@os = []
|
740
|
+
0.upto(4) do
|
741
|
+
@os << @e.object_rectangle_add
|
742
|
+
end
|
743
|
+
end
|
744
|
+
after(:all) do
|
745
|
+
@b.free
|
746
|
+
@e.free
|
747
|
+
Evas.shutdown
|
748
|
+
end
|
749
|
+
#
|
750
|
+
it "append, prepend, insert_before, insert_after, insert_at, remove, remove_at, remove_all and children_get should work" do
|
751
|
+
@b.append @os[4]
|
752
|
+
@b.prepend @os[0]
|
753
|
+
@b.insert_before @os[1], @os[4]
|
754
|
+
@b.insert_after @os[2], @os[1]
|
755
|
+
@b.insert_at @os[3], 3
|
756
|
+
@b.children_get.each_with_index do |o,i|
|
757
|
+
Evas::REvasRectangle.new(o).should === @os[i]
|
758
|
+
end
|
759
|
+
@os.delete_at 2
|
760
|
+
@b.remove_at(2).should be_true
|
761
|
+
@b.remove_at(20).should be_false
|
762
|
+
o = @os.delete_at 2
|
763
|
+
@b.remove(o).should be_true
|
764
|
+
@b.children_get.each_with_index do |o,i|
|
765
|
+
Evas::REvasRectangle.new(o).should === @os[i]
|
766
|
+
end
|
767
|
+
@b.remove_all true
|
768
|
+
@b.children.to_a.length.should == 0
|
769
|
+
end
|
770
|
+
#
|
771
|
+
it "align set/get should work" do
|
772
|
+
@b.align_set 0.2, 0.3
|
773
|
+
@b.align_get.should == [0.2,0.3]
|
774
|
+
@b.align = 0.3, 0.2
|
775
|
+
@b.align.should == [0.3,0.2]
|
776
|
+
end
|
777
|
+
#
|
778
|
+
it "padding set/get should work" do
|
779
|
+
@b.padding_set 20, 30
|
780
|
+
@b.padding_get.should == [20,30]
|
781
|
+
@b.padding = 30, 20
|
782
|
+
@b.padding.should == [30,20]
|
783
|
+
end
|
784
|
+
#
|
785
|
+
|
786
|
+
# EAPI void evas_object_box_smart_set (Evas_Object_Box_Api *api);
|
787
|
+
# EAPI const Evas_Object_Box_Api *evas_object_box_smart_class_get (void);
|
788
|
+
# EAPI void evas_object_box_layout_set (Evas_Object *o, Evas_Object_Box_Layout cb, const void *data, void (*free_data)(void *data));
|
789
|
+
|
790
|
+
# EAPI void evas_object_box_layout_horizontal (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
|
791
|
+
# EAPI void evas_object_box_layout_vertical (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
|
792
|
+
# EAPI void evas_object_box_layout_homogeneous_vertical (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
|
793
|
+
# EAPI void evas_object_box_layout_homogeneous_horizontal (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
|
794
|
+
# EAPI void evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
|
795
|
+
# EAPI void evas_object_box_layout_homogeneous_max_size_vertical (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
|
796
|
+
# EAPI void evas_object_box_layout_flow_horizontal (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
|
797
|
+
# EAPI void evas_object_box_layout_flow_vertical (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
|
798
|
+
# EAPI void evas_object_box_layout_stack (Evas_Object *o, Evas_Object_Box_Data *priv, void *data);
|
799
|
+
|
800
|
+
# EAPI Eina_Iterator *evas_object_box_iterator_new (const Evas_Object *o);
|
801
|
+
# EAPI Eina_Accessor *evas_object_box_accessor_new (const Evas_Object *o);
|
802
|
+
|
803
|
+
# EAPI const char *evas_object_box_option_property_name_get (Evas_Object *o, int property);
|
804
|
+
|
805
|
+
# EAPI int evas_object_box_option_property_id_get (Evas_Object *o, const char *name);
|
806
|
+
# EAPI Eina_Bool evas_object_box_option_property_set (Evas_Object *o, Evas_Object_Box_Option *opt, int property, ...);
|
807
|
+
# EAPI Eina_Bool evas_object_box_option_property_vset (Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args);
|
808
|
+
# EAPI Eina_Bool evas_object_box_option_property_get (Evas_Object *o, Evas_Object_Box_Option *opt, int property, ...);
|
809
|
+
# EAPI Eina_Bool evas_object_box_option_property_vget (Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args);
|
810
|
+
end
|
811
|
+
#
|
812
|
+
# EAPI Evas_Object *evas_object_image_filled_add (Evas *e);
|
813
|
+
# EAPI void evas_object_image_memfile_set (Evas_Object *obj, void *data, int size, char *format, char *key);
|
814
|
+
# EAPI void evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key);
|
815
|
+
# EAPI void evas_object_image_file_get (const Evas_Object *obj, const char **file, const char **key);
|
816
|
+
# EAPI void evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b);
|
817
|
+
# EAPI void evas_object_image_border_get (const Evas_Object *obj, int *l, int *r, int *t, int *b);
|
818
|
+
# EAPI void evas_object_image_border_center_fill_set (Evas_Object *obj, Evas_Border_Fill_Mode fill);
|
819
|
+
# EAPI Evas_Border_Fill_Mode evas_object_image_border_center_fill_get (const Evas_Object *obj);
|
820
|
+
# EAPI void evas_object_image_filled_set (Evas_Object *obj, Eina_Bool setting);
|
821
|
+
# EAPI Eina_Bool evas_object_image_filled_get (const Evas_Object *obj);
|
822
|
+
# EAPI void evas_object_image_border_scale_set (Evas_Object *obj, double scale);
|
823
|
+
# EAPI double evas_object_image_border_scale_get (const Evas_Object *obj);
|
824
|
+
# EAPI void evas_object_image_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
|
825
|
+
# EAPI void evas_object_image_fill_get (const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
|
826
|
+
# EAPI void evas_object_image_fill_spread_set (Evas_Object *obj, Evas_Fill_Spread spread);
|
827
|
+
# EAPI Evas_Fill_Spread evas_object_image_fill_spread_get (const Evas_Object *obj);
|
828
|
+
# EAPI void evas_object_image_size_set (Evas_Object *obj, int w, int h);
|
829
|
+
# EAPI void evas_object_image_size_get (const Evas_Object *obj, int *w, int *h);
|
830
|
+
# EAPI int evas_object_image_stride_get (const Evas_Object *obj);
|
831
|
+
# EAPI Evas_Load_Error evas_object_image_load_error_get (const Evas_Object *obj);
|
832
|
+
# EAPI void evas_object_image_data_set (Evas_Object *obj, void *data);
|
833
|
+
# EAPI void *evas_object_image_data_convert (Evas_Object *obj, Evas_Colorspace to_cspace);
|
834
|
+
# EAPI void *evas_object_image_data_get (const Evas_Object *obj, Eina_Bool for_writing);
|
835
|
+
# EAPI void evas_object_image_data_copy_set (Evas_Object *obj, void *data);
|
836
|
+
# EAPI void evas_object_image_data_update_add (Evas_Object *obj, int x, int y, int w, int h);
|
837
|
+
# EAPI void evas_object_image_alpha_set (Evas_Object *obj, Eina_Bool has_alpha);
|
838
|
+
# EAPI Eina_Bool evas_object_image_alpha_get (const Evas_Object *obj);
|
839
|
+
# EAPI void evas_object_image_smooth_scale_set (Evas_Object *obj, Eina_Bool smooth_scale);
|
840
|
+
# EAPI Eina_Bool evas_object_image_smooth_scale_get (const Evas_Object *obj);
|
841
|
+
# EAPI void evas_object_image_preload (Evas_Object *obj, Eina_Bool cancel);
|
842
|
+
# EAPI void evas_object_image_reload (Evas_Object *obj);
|
843
|
+
# EAPI Eina_Bool evas_object_image_save (const Evas_Object *obj, const char *file, const char *key, const char *flags);
|
844
|
+
# EAPI Eina_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels);
|
845
|
+
# EAPI void evas_object_image_pixels_get_callback_set(Evas_Object *obj, Evas_Object_Image_Pixels_Get_Cb func, void *data);
|
846
|
+
# EAPI void evas_object_image_pixels_dirty_set (Evas_Object *obj, Eina_Bool dirty);
|
847
|
+
# EAPI Eina_Bool evas_object_image_pixels_dirty_get (const Evas_Object *obj);
|
848
|
+
# EAPI void evas_object_image_load_dpi_set (Evas_Object *obj, double dpi);
|
849
|
+
# EAPI double evas_object_image_load_dpi_get (const Evas_Object *obj);
|
850
|
+
# EAPI void evas_object_image_load_size_set (Evas_Object *obj, int w, int h);
|
851
|
+
# EAPI void evas_object_image_load_size_get (const Evas_Object *obj, int *w, int *h);
|
852
|
+
# EAPI void evas_object_image_load_scale_down_set (Evas_Object *obj, int scale_down);
|
853
|
+
# EAPI int evas_object_image_load_scale_down_get (const Evas_Object *obj);
|
854
|
+
# EAPI void evas_object_image_load_region_set (Evas_Object *obj, int x, int y, int w, int h);
|
855
|
+
# EAPI void evas_object_image_load_region_get (const Evas_Object *obj, int *x, int *y, int *w, int *h);
|
856
|
+
# EAPI void evas_object_image_colorspace_set (Evas_Object *obj, Evas_Colorspace cspace);
|
857
|
+
# EAPI Evas_Colorspace evas_object_image_colorspace_get (const Evas_Object *obj);
|
858
|
+
# EAPI void evas_object_image_native_surface_set (Evas_Object *obj, Evas_Native_Surface *surf);
|
859
|
+
# EAPI Evas_Native_Surface *evas_object_image_native_surface_get (const Evas_Object *obj);
|
860
|
+
# EAPI void evas_object_image_scale_hint_set (Evas_Object *obj, Evas_Image_Scale_Hint hint);
|
861
|
+
# EAPI Evas_Image_Scale_Hint evas_object_image_scale_hint_get (const Evas_Object *obj);
|
862
|
+
# EAPI void evas_object_image_content_hint_set (Evas_Object *obj, Evas_Image_Content_Hint hint);
|
863
|
+
# EAPI Evas_Image_Content_Hint evas_object_image_content_hint_get (const Evas_Object *obj);
|
864
|
+
# EAPI void evas_object_image_alpha_mask_set (Evas_Object *obj, Eina_Bool ismask);
|
865
|
+
# EAPI Eina_Bool evas_object_image_source_set (Evas_Object *obj, Evas_Object *src);
|
866
|
+
# EAPI Evas_Object *evas_object_image_source_get (Evas_Object *obj);
|
867
|
+
# EAPI Eina_Bool evas_object_image_source_unset (Evas_Object *obj);
|
868
|
+
# EAPI Evas_Object *evas_object_textblock_add(Evas *e);
|
869
|
+
# EAPI const char *evas_textblock_escape_string_get(const char *escape);
|
870
|
+
# EAPI const char *evas_textblock_string_escape_get(const char *string, int *len_ret);
|
871
|
+
# EAPI const char *evas_textblock_escape_string_range_get(const char *escape_start, const char *escape_end);
|
872
|
+
# EAPI Evas_Textblock_Style *evas_textblock_style_new(void);
|
873
|
+
# EAPI void evas_textblock_style_free(Evas_Textblock_Style *ts);
|
874
|
+
# EAPI void evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text);
|
875
|
+
# EAPI const char *evas_textblock_style_get(const Evas_Textblock_Style *ts);
|
876
|
+
# EAPI void evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts);
|
877
|
+
# EAPI const Evas_Textblock_Style *evas_object_textblock_style_get(const Evas_Object *obj);
|
878
|
+
# EAPI void evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch);
|
879
|
+
# EAPI const char *evas_object_textblock_replace_char_get(Evas_Object *obj);
|
880
|
+
# EAPI void evas_object_textblock_valign_set(Evas_Object *obj, double align);
|
881
|
+
# EAPI double evas_object_textblock_valign_get(const Evas_Object *obj);
|
882
|
+
# EAPI void evas_object_textblock_bidi_delimiters_set(Evas_Object *obj, const char *delim);
|
883
|
+
# EAPI const char *evas_object_textblock_bidi_delimiters_get(const Evas_Object *obj);
|
884
|
+
# EAPI void evas_object_textblock_newline_mode_set(Evas_Object *obj, Eina_Bool mode);
|
885
|
+
# EAPI Eina_Bool evas_object_textblock_newline_mode_get(const Evas_Object *obj);
|
886
|
+
# EAPI void evas_object_textblock_text_markup_set(Evas_Object *obj, const char *text);
|
887
|
+
# EAPI void evas_object_textblock_text_markup_prepend(Evas_Textblock_Cursor *cur, const char *text);
|
888
|
+
# EAPI const char *evas_object_textblock_text_markup_get(const Evas_Object *obj);
|
889
|
+
# EAPI const Evas_Textblock_Cursor *evas_object_textblock_cursor_get(const Evas_Object *obj);
|
890
|
+
# EAPI Evas_Textblock_Cursor *evas_object_textblock_cursor_new(Evas_Object *obj);
|
891
|
+
# EAPI void evas_textblock_cursor_free(Evas_Textblock_Cursor *cur);
|
892
|
+
# EAPI void evas_textblock_cursor_paragraph_first(Evas_Textblock_Cursor *cur);
|
893
|
+
# EAPI void evas_textblock_cursor_paragraph_last(Evas_Textblock_Cursor *cur);
|
894
|
+
# EAPI Eina_Bool evas_textblock_cursor_paragraph_next(Evas_Textblock_Cursor *cur);
|
895
|
+
# EAPI Eina_Bool evas_textblock_cursor_paragraph_prev(Evas_Textblock_Cursor *cur);
|
896
|
+
# EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_node_format_first_get(const Evas_Object *obj);
|
897
|
+
# EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_node_format_last_get(const Evas_Object *obj);
|
898
|
+
# EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_node_format_next_get(const Evas_Object_Textblock_Node_Format *n);
|
899
|
+
# EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_node_format_prev_get(const Evas_Object_Textblock_Node_Format *n);
|
900
|
+
# EAPI void evas_textblock_node_format_remove_pair(Evas_Object *obj, Evas_Object_Textblock_Node_Format *n);
|
901
|
+
# EAPI void evas_textblock_cursor_set_at_format(Evas_Textblock_Cursor *cur, const Evas_Object_Textblock_Node_Format *n);
|
902
|
+
# EAPI const Evas_Object_Textblock_Node_Format *evas_textblock_cursor_format_get(const Evas_Textblock_Cursor *cur);
|
903
|
+
# EAPI const char *evas_textblock_node_format_text_get(const Evas_Object_Textblock_Node_Format *cur);
|
904
|
+
# EAPI void evas_textblock_cursor_at_format_set(Evas_Textblock_Cursor *cur, const Evas_Object_Textblock_Node_Format *fmt);
|
905
|
+
# EAPI Eina_Bool evas_textblock_cursor_format_is_visible_get(const Evas_Textblock_Cursor *cur);
|
906
|
+
# EAPI Eina_Bool evas_textblock_cursor_format_next(Evas_Textblock_Cursor *cur);
|
907
|
+
# EAPI Eina_Bool evas_textblock_cursor_format_prev(Evas_Textblock_Cursor *cur);
|
908
|
+
# EAPI Eina_Bool evas_textblock_cursor_is_format(const Evas_Textblock_Cursor *cur);
|
909
|
+
# EAPI Eina_Bool evas_textblock_cursor_char_next(Evas_Textblock_Cursor *cur);
|
910
|
+
# EAPI Eina_Bool evas_textblock_cursor_char_prev(Evas_Textblock_Cursor *cur);
|
911
|
+
# EAPI void evas_textblock_cursor_paragraph_char_first(Evas_Textblock_Cursor *cur);
|
912
|
+
# EAPI void evas_textblock_cursor_paragraph_char_last(Evas_Textblock_Cursor *cur);
|
913
|
+
# EAPI void evas_textblock_cursor_line_char_first(Evas_Textblock_Cursor *cur);
|
914
|
+
# EAPI void evas_textblock_cursor_line_char_last(Evas_Textblock_Cursor *cur);
|
915
|
+
# EAPI int evas_textblock_cursor_pos_get(const Evas_Textblock_Cursor *cur);
|
916
|
+
# EAPI void evas_textblock_cursor_pos_set(Evas_Textblock_Cursor *cur, int pos);
|
917
|
+
# EAPI Eina_Bool evas_textblock_cursor_line_set(Evas_Textblock_Cursor *cur, int line);
|
918
|
+
# EAPI int evas_textblock_cursor_compare(const Evas_Textblock_Cursor *cur1, const Evas_Textblock_Cursor *cur2);
|
919
|
+
# EAPI void evas_textblock_cursor_copy(const Evas_Textblock_Cursor *cur, Evas_Textblock_Cursor *cur_dest);
|
920
|
+
# EAPI int evas_textblock_cursor_text_append(Evas_Textblock_Cursor *cur, const char *text);
|
921
|
+
# EAPI int evas_textblock_cursor_text_prepend(Evas_Textblock_Cursor *cur, const char *text);
|
922
|
+
# EAPI Eina_Bool evas_textblock_cursor_format_append(Evas_Textblock_Cursor *cur, const char *format);
|
923
|
+
# EAPI Eina_Bool evas_textblock_cursor_format_prepend(Evas_Textblock_Cursor *cur, const char *format);
|
924
|
+
# EAPI void evas_textblock_cursor_char_delete(Evas_Textblock_Cursor *cur);
|
925
|
+
# EAPI void evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_Cursor *cur2);
|
926
|
+
# EAPI const char *evas_textblock_cursor_paragraph_text_get(const Evas_Textblock_Cursor *cur);
|
927
|
+
# EAPI int evas_textblock_cursor_paragraph_text_length_get(const Evas_Textblock_Cursor *cur);
|
928
|
+
# EAPI char *evas_textblock_cursor_range_text_get(const Evas_Textblock_Cursor *cur1, const Evas_Textblock_Cursor *cur2, Evas_Textblock_Text_Type format);
|
929
|
+
# EAPI char *evas_textblock_cursor_content_get(const Evas_Textblock_Cursor *cur);
|
930
|
+
# 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);
|
931
|
+
# 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);
|
932
|
+
# 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);
|
933
|
+
# 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);
|
934
|
+
# EAPI Eina_Bool evas_textblock_cursor_char_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord x, Evas_Coord y);
|
935
|
+
# EAPI int evas_textblock_cursor_line_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord y);
|
936
|
+
# EAPI Eina_List *evas_textblock_cursor_range_geometry_get(const Evas_Textblock_Cursor *cur1, const Evas_Textblock_Cursor *cur2);
|
937
|
+
# 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);
|
938
|
+
# EAPI Eina_Bool evas_textblock_cursor_eol_get(const Evas_Textblock_Cursor *cur);
|
939
|
+
# 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);
|
940
|
+
# EAPI void evas_object_textblock_clear(Evas_Object *obj);
|
941
|
+
# EAPI void evas_object_textblock_size_formatted_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
942
|
+
# EAPI void evas_object_textblock_size_native_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
943
|
+
# EAPI void evas_object_textblock_style_insets_get(const Evas_Object *obj, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b);
|
944
|
+
# EAPI void evas_smart_free (Evas_Smart *s);
|
945
|
+
# EAPI Evas_Smart *evas_smart_class_new (const Evas_Smart_Class *sc);
|
946
|
+
# EAPI const Evas_Smart_Class *evas_smart_class_get (const Evas_Smart *s);
|
947
|
+
# EAPI void *evas_smart_data_get (const Evas_Smart *s);
|
948
|
+
# EAPI const Evas_Smart_Cb_Description **evas_smart_callbacks_descriptions_get(const Evas_Smart *s, unsigned int *count);
|
949
|
+
# EAPI const Evas_Smart_Cb_Description *evas_smart_callback_description_find(const Evas_Smart *s, const char *name);
|
950
|
+
# EAPI Eina_Bool evas_smart_class_inherit_full (Evas_Smart_Class *sc, const Evas_Smart_Class *parent_sc, unsigned int parent_sc_size);
|
951
|
+
# EAPI Evas_Object *evas_object_smart_add (Evas *e, Evas_Smart *s);
|
952
|
+
# EAPI void evas_object_smart_member_add (Evas_Object *obj, Evas_Object *smart_obj);
|
953
|
+
# EAPI void evas_object_smart_member_del (Evas_Object *obj);
|
954
|
+
# EAPI Evas_Object *evas_object_smart_parent_get (const Evas_Object *obj);
|
955
|
+
# EAPI Eina_Bool evas_object_smart_type_check (const Evas_Object *obj, const char *type);
|
956
|
+
# EAPI Eina_Bool evas_object_smart_type_check_ptr (const Evas_Object *obj, const char *type);
|
957
|
+
# EAPI Eina_List *evas_object_smart_members_get (const Evas_Object *obj);
|
958
|
+
# EAPI Evas_Smart *evas_object_smart_smart_get (const Evas_Object *obj);
|
959
|
+
# EAPI void *evas_object_smart_data_get (const Evas_Object *obj);
|
960
|
+
# EAPI void evas_object_smart_data_set (Evas_Object *obj, void *data);
|
961
|
+
# EAPI void evas_object_smart_callback_add (Evas_Object *obj, const char *event, Evas_Smart_Cb func, const void *data);
|
962
|
+
# EAPI void *evas_object_smart_callback_del (Evas_Object *obj, const char *event, Evas_Smart_Cb func);
|
963
|
+
# EAPI void evas_object_smart_callback_call (Evas_Object *obj, const char *event, void *event_info);
|
964
|
+
# EAPI Eina_Bool evas_object_smart_callbacks_descriptions_set(Evas_Object *obj, const Evas_Smart_Cb_Description *descriptions);
|
965
|
+
# 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);
|
966
|
+
# 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);
|
967
|
+
# EAPI void evas_object_smart_changed (Evas_Object *obj);
|
968
|
+
# EAPI void evas_object_smart_need_recalculate_set(Evas_Object *obj, Eina_Bool value);
|
969
|
+
# EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Evas_Object *obj);
|
970
|
+
# EAPI void evas_object_smart_calculate (Evas_Object *obj);
|
971
|
+
# EAPI void evas_smart_objects_calculate (Evas *e);
|
972
|
+
# EAPI Evas_Object *evas_object_smart_clipped_clipper_get (Evas_Object *obj);
|
973
|
+
# EAPI void evas_object_smart_clipped_smart_set (Evas_Smart_Class *sc);
|
974
|
+
# EAPI const Evas_Smart_Class *evas_object_smart_clipped_class_get (void);
|
975
|
+
# EAPI void evas_object_smart_move_children_relative(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);
|
976
|
+
# EAPI Evas_Object *evas_object_table_add (Evas *evas);
|
977
|
+
# EAPI Evas_Object *evas_object_table_add_to (Evas_Object *parent);
|
978
|
+
# EAPI void evas_object_table_homogeneous_set (Evas_Object *o, Evas_Object_Table_Homogeneous_Mode homogeneous);
|
979
|
+
# EAPI Evas_Object_Table_Homogeneous_Mode evas_object_table_homogeneous_get (const Evas_Object *o);
|
980
|
+
# EAPI void evas_object_table_padding_set (Evas_Object *o, Evas_Coord horizontal, Evas_Coord vertical);
|
981
|
+
# EAPI void evas_object_table_padding_get (const Evas_Object *o, Evas_Coord *horizontal, Evas_Coord *vertical);
|
982
|
+
# EAPI void evas_object_table_align_set (Evas_Object *o, double horizontal, double vertical);
|
983
|
+
# EAPI void evas_object_table_align_get (const Evas_Object *o, double *horizontal, double *vertical);
|
984
|
+
# EAPI void evas_object_table_mirrored_set (Evas_Object *o, Eina_Bool mirrored);
|
985
|
+
# EAPI Eina_Bool evas_object_table_mirrored_get (const Evas_Object *o);
|
986
|
+
# 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);
|
987
|
+
# EAPI Eina_Bool evas_object_table_unpack (Evas_Object *o, Evas_Object *child);
|
988
|
+
# EAPI void evas_object_table_clear (Evas_Object *o, Eina_Bool clear);
|
989
|
+
# EAPI void evas_object_table_col_row_size_get(const Evas_Object *o, int *cols, int *rows);
|
990
|
+
# EAPI Eina_Iterator *evas_object_table_iterator_new (const Evas_Object *o);
|
991
|
+
# EAPI Eina_Accessor *evas_object_table_accessor_new (const Evas_Object *o);
|
992
|
+
# EAPI Eina_List *evas_object_table_children_get (const Evas_Object *o);
|
993
|
+
# EAPI Evas_Object *evas_object_table_child_get (const Evas_Object *o, unsigned short col, unsigned short row);
|
994
|
+
# EAPI Eina_Bool evas_object_filter_mode_set (Evas_Object *o, Evas_Filter_Mode mode);
|
995
|
+
# EAPI Evas_Filter_Mode evas_object_filter_mode_get (Evas_Object *o);
|
996
|
+
# EAPI Eina_Bool evas_object_filter_set (Evas_Object *o, Evas_Filter filter);
|
997
|
+
# EAPI Evas_Filter evas_object_filter_get (Evas_Object *o);
|
998
|
+
# EAPI Eina_Bool evas_object_filter_param_int_set (Evas_Object *o, const char *param, int val);
|
999
|
+
# EAPI int evas_object_filter_param_int_get (Evas_Object *o, const char *param);
|
1000
|
+
# EAPI Eina_Bool evas_object_filter_param_str_set (Evas_Object *o, const char *param, const char *val);
|
1001
|
+
# EAPI const char *evas_object_filter_param_str_get (Evas_Object *o, const char *param);
|
1002
|
+
# EAPI Eina_Bool evas_object_filter_param_obj_set (Evas_Object *o, const char *param, Evas_Object *val);
|
1003
|
+
# EAPI Evas_Object *evas_object_filter_param_obj_get (Evas_Object *o, const char *param);
|
1004
|
+
# EAPI Eina_Bool evas_object_filter_param_float_set(Evas_Object *o, const char *param, double val);
|
1005
|
+
# EAPI double evas_object_filter_param_float_get(Evas_Object *o, const char *param);
|
1006
|
+
# EAPI Eina_Bool evas_cserve_want_get (void);
|
1007
|
+
# EAPI Eina_Bool evas_cserve_connected_get (void);
|
1008
|
+
# EAPI Eina_Bool evas_cserve_stats_get (Evas_Cserve_Stats *stats);
|
1009
|
+
# EAPI void evas_cserve_image_cache_contents_clean (Evas_Cserve_Image_Cache *cache);
|
1010
|
+
# EAPI Eina_Bool evas_cserve_config_get (Evas_Cserve_Config *config);
|
1011
|
+
# EAPI Eina_Bool evas_cserve_config_set (const Evas_Cserve_Config *config);
|
1012
|
+
# EAPI void evas_cserve_disconnect (void);
|
603
1013
|
end
|