forked from enlightenment/efl
parent
55b7cd2d80
commit
7542e629d3
|
@ -4741,6 +4741,30 @@ EAPI Elm_Object_Item *elm_index_item_append_relative(Evas_Object *obj, cons
|
|||
*/
|
||||
EAPI Elm_Object_Item *elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Object_Item *relative);
|
||||
|
||||
/**
|
||||
* Set the transparency state of a window.
|
||||
*
|
||||
* Use elm_win_alpha_set() instead.
|
||||
*
|
||||
* @param obj The window object
|
||||
* @param transparent If true, the window is transparent
|
||||
*
|
||||
* @see elm_win_alpha_set()
|
||||
* @deprecated Please use elm_win_alpha_set()
|
||||
*/
|
||||
EINA_DEPRECATED EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
|
||||
|
||||
/**
|
||||
* Get the transparency state of a window.
|
||||
*
|
||||
* @param obj The window object
|
||||
* @return If true, the window is transparent
|
||||
*
|
||||
* @see elm_win_transparent_set()
|
||||
* @deprecated Please use elm_win_alpha_get()
|
||||
*/
|
||||
EINA_DEPRECATED EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
@ -2362,7 +2362,7 @@ elm_win_alpha_get(const Evas_Object *obj)
|
|||
return ecore_evas_alpha_get(win->ee);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
EINA_DEPRECATED EAPI void
|
||||
elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent)
|
||||
{
|
||||
Elm_Win *win;
|
||||
|
@ -2391,7 +2391,7 @@ elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent)
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
elm_win_transparent_get(const Evas_Object *obj)
|
||||
{
|
||||
Elm_Win *win;
|
||||
|
|
|
@ -521,30 +521,6 @@ EAPI void elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha);
|
|||
*/
|
||||
EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Set the transparency state of a window.
|
||||
*
|
||||
* Use elm_win_alpha_set() instead.
|
||||
*
|
||||
* @param obj The window object
|
||||
* @param transparent If true, the window is transparent
|
||||
*
|
||||
* @see elm_win_alpha_set()
|
||||
*/
|
||||
// XXX: deprecate this
|
||||
EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
|
||||
|
||||
/**
|
||||
* Get the transparency state of a window.
|
||||
*
|
||||
* @param obj The window object
|
||||
* @return If true, the window is transparent
|
||||
*
|
||||
* @see elm_win_transparent_set()
|
||||
*/
|
||||
// XXX: deprecate this
|
||||
EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Set the override state of a window.
|
||||
*
|
||||
|
|
|
@ -282,12 +282,10 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt)
|
|||
if (str && (!strcmp(str, "enabled")))
|
||||
{
|
||||
elm_win_alpha_set(tt->tt_win, EINA_TRUE);
|
||||
elm_win_transparent_set(tt->tt_win, EINA_TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
elm_win_alpha_set(tt->tt_win, EINA_FALSE);
|
||||
elm_win_transparent_set(tt->tt_win, EINA_FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue