summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-19 14:25:17 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-19 14:25:17 +0200
commit16831c75583f08f1deb9a76ba78845a5bb610101 (patch)
tree07a485334d7f23a2e603bfbd788ba725f996df59 /test
parente56f62d5e965362d537bc027037f6cb26eb612f0 (diff)
downloadffi-efl-16831c75583f08f1deb9a76ba78845a5bb610101.zip
ffi-efl-16831c75583f08f1deb9a76ba78845a5bb610101.tar.gz
Evas only handles pre multiplied colors
Diffstat (limited to 'test')
-rw-r--r--test/test_elm_win.rb2
-rw-r--r--test/test_evas.rb2
2 files changed, 2 insertions, 2 deletions
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