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
This commit is contained in:
Yeshwanth Reddivari 2015-09-19 08:38:39 +05:30 committed by Amitesh Singh
parent 1943d32de6
commit ba77b75c06
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
o = last = evas_object_rectangle_add(evas);
evas_object_size_hint_min_set(o, 50, 50);
evas_object_resize(o, 50, 50);
evas_object_color_set(o, 255, 0, 0, 128);
evas_object_color_set(o, 128, 0, 0, 128);
evas_object_show(o);
if (!edje_object_part_box_append(edje_obj, "example/box", o))