From 16831c75583f08f1deb9a76ba78845a5bb610101 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Sat, 19 May 2012 14:25:17 +0200 Subject: Evas only handles pre multiplied colors --- test/test_elm_win.rb | 2 +- test/test_evas.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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.2.3