elementary/flip - elm_flip_front_get -> elm_flip_front_visible_get
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 16 Feb 2012 08:08:16 +0000 (08:08 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 16 Feb 2012 08:08:16 +0000 (08:08 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68011 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_deprecated.h
src/lib/elm_flip.c
src/lib/elm_flip.h

index 4bf5b78..799f305 100644 (file)
@@ -4631,3 +4631,15 @@ EINA_DEPRECATED EAPI Evas_Object         *elm_flip_content_front_unset(Evas_Obje
  */
 EINA_DEPRECATED EAPI Evas_Object         *elm_flip_content_back_unset(Evas_Object *obj);
 
+/**
+ * @brief Get flip front visibility state
+ *
+ * @param obj The flip object
+ * @return EINA_TRUE if front front is showing, EINA_FALSE if the back is
+ * showing.
+ *
+ * @deprecated Use elm_flip_front_visible_get() instead
+ */
+EINA_DEPRECATED EAPI Eina_Bool            elm_flip_front_get(const Evas_Object *obj);
+
+
index 380b1bf..81c449a 100644 (file)
@@ -793,7 +793,7 @@ static void
 flip_show_hide(Evas_Object *obj)
 {
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (elm_flip_front_get(obj))
+   if (elm_flip_front_visible_get(obj))
      {
         if (wd->pageflip)
           {
@@ -1808,7 +1808,7 @@ elm_flip_content_back_unset(Evas_Object *obj)
 }
 
 EAPI Eina_Bool
-elm_flip_front_get(const Evas_Object *obj)
+elm_flip_front_visible_get(const Evas_Object *obj)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
@@ -1816,6 +1816,12 @@ elm_flip_front_get(const Evas_Object *obj)
    return wd->state;
 }
 
+EAPI Eina_Bool
+elm_flip_front_get(const Evas_Object *obj)
+{
+   return elm_flip_front_get(obj);
+}
+
 EAPI void
 elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc __UNUSED__, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
 {
index a8bb1e5..29fb97a 100644 (file)
@@ -71,7 +71,6 @@ typedef enum
  */
 EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
 
-
 /**
  * @brief Get flip front visibility state
  *
@@ -79,7 +78,7 @@ EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
  * @return EINA_TRUE if front front is showing, EINA_FALSE if the back is
  * showing.
  */
-EAPI Eina_Bool            elm_flip_front_get(const Evas_Object *obj);
+Eina_Bool elm_flip_front_visible_get(const Evas_Object *obj);
 
 /**
  * @brief Set flip perspective