[TSAM-9543] ticker: do not set ticker transparent background 45/96345/3 accepted/tizen/mobile/20161110.001802 submit/tizen/20161109.095310
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Tue, 8 Nov 2016 15:13:07 +0000 (16:13 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 9 Nov 2016 10:28:06 +0000 (11:28 +0100)
Use default indicator color as ticker background instead
of applaying transparency. The reason of this change are:

1. It solved rendering artifacts problems occuring then ticker is being
   shown, however underlaying window did not updated indicator image.
2. There might be cases in which application may try to display white
   content in top window area and in this case ticker content will
   not be visible to user.

Change-Id: Id13337a3ea6f8f9dd5437cf728ac0063460bce4c

res/resource/color_classes.edc
src/ticker.c

index e05acb4..0c89aae 100644 (file)
@@ -48,7 +48,9 @@ color_classes {
        }
        color_class {
                name: "AO008";
-               color: 0 0 0 25;
+               # default indicator background color dimmed by 10%
+               # color: 61 184 204 255;
+               color: 55 166 184 255;
        }
        color_class {
                name: "ATO001";
index b4a3359..2be5b1c 100644 (file)
@@ -597,7 +597,7 @@ static Evas_Object *_ticker_window_create(struct appdata *ad)
        win = elm_win_add(NULL, "ticker_win", ELM_WIN_NOTIFICATION);
        retv_if(!win, NULL);
 
-       elm_win_alpha_set(win, EINA_TRUE);
+       elm_win_alpha_set(win, EINA_FALSE);
        elm_win_title_set(win, "ticker_win");
        elm_win_borderless_set(win, EINA_TRUE);
        elm_win_autodel_set(win, EINA_TRUE);