deprecate elm_win_transparent stuff

SVN revision: 68698
This commit is contained in:
Carsten Haitzler 2012-03-05 12:03:40 +00:00
parent 55b7cd2d80
commit 7542e629d3
4 changed files with 26 additions and 28 deletions

View File

@ -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); 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);
/** /**
* @} * @}
*/ */

View File

@ -2362,7 +2362,7 @@ elm_win_alpha_get(const Evas_Object *obj)
return ecore_evas_alpha_get(win->ee); 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_transparent_set(Evas_Object *obj, Eina_Bool transparent)
{ {
Elm_Win *win; 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_transparent_get(const Evas_Object *obj)
{ {
Elm_Win *win; Elm_Win *win;

View File

@ -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); 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. * Set the override state of a window.
* *

View File

@ -282,12 +282,10 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt)
if (str && (!strcmp(str, "enabled"))) if (str && (!strcmp(str, "enabled")))
{ {
elm_win_alpha_set(tt->tt_win, EINA_TRUE); elm_win_alpha_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_alpha_set(tt->tt_win, EINA_FALSE);
elm_win_transparent_set(tt->tt_win, EINA_FALSE);
} }
} }