[genlist] Add elm_genlist_fx_mode_set/get API in genlist.h
authorSeunggyun Kim <sgyun.kim@samsung.com>
Tue, 23 Apr 2013 10:59:17 +0000 (19:59 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:31:31 +0000 (13:31 +0900)
Change-Id: I0256d48f1a1c7980dbf6d0f9de3e01d4e995af28

src/lib/elm_genlist.h

index 1efcd07..6bf4db2 100644 (file)
@@ -1939,6 +1939,42 @@ elm_genlist_item_select_mode_get(const Elm_Object_Item *it);
 EAPI Elm_Object_Item *
 elm_genlist_nth_item_get(const Evas_Object *obj, unsigned int nth);
 
+
+/**
+ * Set Genlist fx mode
+ *
+ * note!! : this API can be changed or deleted later.
+ *
+ * This sets Genlist Special Effects.
+ * Only In case genlist effets have to be disabled, use it.
+ *
+ * Normal case don't use this API
+ * fx mode is enabled by default.
+ *
+ * @param obj The Genlist object
+ * @param disabled The FX status
+ * (EINA_TRUE = fx mode, EINA_FALSE = normal mode)
+ *
+ * @ingroup Genlist
+ */
+EAPI void
+elm_genlist_fx_mode_set(Evas_Object *obj, Eina_Bool fx_mode);
+
+
+/**
+ * Get the Genlist fx mode
+ *
+ * note!! : this API can be changed or deleted later.
+ *
+ * @param obj The genlist object
+ * @return The fx mode
+ * (EINA_TRUE = on, EINA_FALSE = off)
+ *
+ * @ingroup Genlist
+ */
+EAPI Eina_Bool
+elm_genlist_fx_mode_get(const Evas_Object *obj);
+
 /**
  * @}
  */