summaryrefslogtreecommitdiffstats
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
parente56f62d5e965362d537bc027037f6cb26eb612f0 (diff)
downloadffi-efl-16831c75583f08f1deb9a76ba78845a5bb610101.zip
ffi-efl-16831c75583f08f1deb9a76ba78845a5bb610101.tar.gz
Evas only handles pre multiplied colors
-rw-r--r--README.md2
-rw-r--r--test/test_elm_win.rb2
-rw-r--r--test/test_evas.rb2
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