diff options
author | Yeshwanth Reddivari <r.yeshwanth@samsung.com> | 2015-09-19 08:38:39 +0530 |
---|---|---|
committer | Amitesh Singh <singh.amitesh@gmail.com> | 2015-09-19 08:38:39 +0530 |
commit | ba77b75c06f4de5baeacc306bd14cf43d8631528 (patch) | |
tree | 5cd364af2efa41503660c53a8de1ab0728cdea77 | |
parent | 1943d32de6a0a2bfd3126c9eeeb677248d4afb7f (diff) | |
download | efl-ba77b75c06f4de5baeacc306bd14cf43d8631528.tar.gz |
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.c | 2 |
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) 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)) |