diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-06 09:43:35 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-06 09:43:35 +0200 |
commit | e70f8fdfbb74919d38392123b26a764db3561192 (patch) | |
tree | de9aea7eba773ea6ff6e01dbc6f717dfb099976e /test/test_evas.rb | |
parent | be6a692686130aaed436812ac85eaf854e11c902 (diff) | |
download | ffi-efl-e70f8fdfbb74919d38392123b26a764db3561192.zip ffi-efl-e70f8fdfbb74919d38392123b26a764db3561192.tar.gz |
replace REvas.object_add with REvas.object_xxx_add
Diffstat (limited to 'test/test_evas.rb')
-rw-r--r-- | test/test_evas.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_evas.rb b/test/test_evas.rb index 6fdf111..6408360 100644 --- a/test/test_evas.rb +++ b/test/test_evas.rb @@ -73,7 +73,7 @@ w = 320 h = 240 canvas, pixels = create_canvas w, h # -bg = Evas::REvasObject.new canvas.object_rectangle_add +bg = canvas.object_rectangle_add bg.color = 255, 255, 255, 255 bg.move 0, 0 bg.resize w, h @@ -81,19 +81,19 @@ bg.show # draw_scene canvas # -r1 = Evas::REvasObject.new canvas.object_rectangle_add +r1 = canvas.object_rectangle_add r1.color = 255, 0, 0, 255 r1.move 10, 10 r1.resize 100, 100 r1.show # -r2 = Evas::REvasObject.new canvas.object_rectangle_add +r2 = canvas.object_rectangle_add r2.color = 0, 128, 0, 128 r2.move 10, 10 r2.resize 50, 50 r2.show # -r3 = Evas::REvasObject.new canvas.object_rectangle_add +r3 = canvas.object_rectangle_add r3.color = 0, 128, 0, 255 r3.move 60, 60 r3.resize 50, 50 |