From 16831c75583f08f1deb9a76ba78845a5bb610101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 19 May 2012 14:25:17 +0200 Subject: Evas only handles pre multiplied colors --- README.md | 2 +- test/test_elm_win.rb | 2 +- test/test_evas.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c7e68ae..b44a758 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ A ruby-ffi binding to [efl](http://www.enlightenment.org/p.php?p=docs&l=en) libr def feed @bg = Elm::ElmBg.new(self) do size_hint_weight_expand - evas_object_color_set 200,255,100,150 + evas_object_color_set 150,180,100,180 show end resize_object_add @bg diff --git a/test/test_elm_win.rb b/test/test_elm_win.rb index 01d03a2..29573a7 100644 --- a/test/test_elm_win.rb +++ b/test/test_elm_win.rb @@ -18,7 +18,7 @@ class MyWin < Elm::ElmWin def feed @bg = Elm::ElmBg.new(self) do size_hint_weight_expand - evas_object_color_set 200,255,100,150 + evas_object_color_set 150,180,100,180 show end resize_object_add @bg diff --git a/test/test_evas.rb b/test/test_evas.rb index c70f4d9..4093bf5 100644 --- a/test/test_evas.rb +++ b/test/test_evas.rb @@ -94,7 +94,7 @@ l1.xy = *(r2.center+r3.center) l1.show # p1 = canvas.object_polygon_add do |p| - p.color = 100, 128, 0, 100 + p.color = 100, 128, 0, 130 p.<< w/2.0,10 p.<< w-10,h/2.0 p.<< w/2.0, h-10 -- cgit v1.1-2-g2b99