summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeshwanth Reddivari <r.yeshwanth@samsung.com>2015-09-19 08:38:39 +0530
committerAmitesh Singh <singh.amitesh@gmail.com>2015-09-19 09:17:01 +0530
commit43d02ed84af7fa7ba20304fc38e60456b9e7c872 (patch)
tree5373aab2378f954ab92118378d4cecc05685fa69
parentfcd0d31235027641172c2735e0dea5e98fd42b5b (diff)
Edje Example: Fix wrong usage of evas_object_color_set API
Summary: Evas only handles pre multiplied colors. So use r,g,b values lesser than alpha to prevent error message. Signed-off-by: Yeshwanth Reddivari <r.yeshwanth@samsung.com> Reviewers: sachin.dev, singh.amitesh Reviewed By: singh.amitesh Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3073
-rw-r--r--src/examples/edje/edje-box2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/edje/edje-box2.c b/src/examples/edje/edje-box2.c
index 9dea39373e..aa5aaf7717 100644
--- a/src/examples/edje/edje-box2.c
+++ b/src/examples/edje/edje-box2.c
@@ -201,7 +201,7 @@ main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
201 o = last = evas_object_rectangle_add(evas); 201 o = last = evas_object_rectangle_add(evas);
202 evas_object_size_hint_min_set(o, 50, 50); 202 evas_object_size_hint_min_set(o, 50, 50);
203 evas_object_resize(o, 50, 50); 203 evas_object_resize(o, 50, 50);
204 evas_object_color_set(o, 255, 0, 0, 128); 204 evas_object_color_set(o, 128, 0, 0, 128);
205 evas_object_show(o); 205 evas_object_show(o);
206 206
207 if (!edje_object_part_box_append(edje_obj, "example/box", o)) 207 if (!edje_object_part_box_append(edje_obj, "example/box", o))