seoz pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=6db2aa4ea2b32c8e19923d6a12cb241fb7ea3ffd

commit 6db2aa4ea2b32c8e19923d6a12cb241fb7ea3ffd
Author: Daniel Juyung Seo <juyung....@samsung.com>
Date:   Mon Jan 26 08:20:18 2015 +0900

    Ephoto: Use premultiplied colors.
---
 src/bin/ephoto_single_browser.c | 2 +-
 src/bin/ephoto_thumb_browser.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c
index 0160a83..e2c31ea 100644
--- a/src/bin/ephoto_single_browser.c
+++ b/src/bin/ephoto_single_browser.c
@@ -527,7 +527,7 @@ _ephoto_single_browser_recalc(Ephoto_Single_Browser *sb)
                (sb->viewer, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel, sb);
 
              botbox = 
evas_object_rectangle_add(evas_object_evas_get(sb->table));
-             evas_object_color_set(botbox, 255, 255, 255, 0);
+             evas_object_color_set(botbox, 0, 0, 0, 0);
              evas_object_size_hint_min_set(botbox, 0, 
sb->ephoto->bottom_bar_size);
              evas_object_size_hint_weight_set(botbox, EVAS_HINT_EXPAND, 0.0);
              evas_object_size_hint_fill_set(botbox, EVAS_HINT_FILL, 
EVAS_HINT_FILL);
diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c
index da8ebc4..b57b728 100644
--- a/src/bin/ephoto_thumb_browser.c
+++ b/src/bin/ephoto_thumb_browser.c
@@ -909,7 +909,7 @@ ephoto_thumb_browser_add(Ephoto *ephoto, Evas_Object 
*parent)
    elm_table_pack(tb->table, tb->grid, 0, 0, 4, 1);
 
    botbox = evas_object_rectangle_add(evas_object_evas_get(tb->table));
-   evas_object_color_set(botbox, 255, 255, 255, 0);
+   evas_object_color_set(botbox, 0, 0, 0, 0);
    evas_object_size_hint_min_set(botbox, 0, h);
    evas_object_size_hint_weight_set(botbox, EVAS_HINT_EXPAND, 0.0);
    evas_object_size_hint_fill_set(botbox, EVAS_HINT_FILL, EVAS_HINT_FILL);

-- 


Reply via email to