forked from enlightenment/efl
whoops, forgot to give transparent tooltip an alpha channel
SVN revision: 61812
This commit is contained in:
parent
3957a809f4
commit
51491fbbae
|
@ -282,10 +282,16 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt)
|
||||||
if (tt->tt_win)
|
if (tt->tt_win)
|
||||||
{ /* FIXME: hardcoded here is bad */
|
{ /* FIXME: hardcoded here is bad */
|
||||||
if (!strcmp(style, "transparent"))
|
if (!strcmp(style, "transparent"))
|
||||||
|
{
|
||||||
|
elm_win_alpha_set(tt->tt_win, EINA_TRUE);
|
||||||
elm_win_transparent_set(tt->tt_win, EINA_TRUE);
|
elm_win_transparent_set(tt->tt_win, EINA_TRUE);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
elm_win_alpha_set(tt->tt_win, EINA_FALSE);
|
||||||
elm_win_transparent_set(tt->tt_win, EINA_FALSE);
|
elm_win_transparent_set(tt->tt_win, EINA_FALSE);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
str = edje_object_data_get(tt->tooltip, "pad_x");
|
str = edje_object_data_get(tt->tooltip, "pad_x");
|
||||||
if (str) tt->pad.x = atoi(str);
|
if (str) tt->pad.x = atoi(str);
|
||||||
|
|
Loading…
Reference in New Issue