deprecate elm_win_transparent stuff
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Mar 2012 12:03:40 +0000 (12:03 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Mar 2012 12:03:40 +0000 (12:03 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68698 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_deprecated.h
src/lib/elm_win.c
src/lib/elm_win.h
src/lib/els_tooltip.c

index f24c19a..8e59d3e 100644 (file)
@@ -4742,5 +4742,29 @@ 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);
+
+/**
  * @}
  */
index 044d48d..32cbc6e 100644 (file)
@@ -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;
index 254d652..db6d046 100644 (file)
@@ -522,30 +522,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.
  *
  * A window with @p override set to EINA_TRUE will not be managed by the
index a9efedf..a4ac5e0 100644 (file)
@@ -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);
                }
           }