[stackedicon] Move docs to Elementary.h.in
authorMike McCormack <mj.mccormack@samsung.com>
Fri, 25 Nov 2011 06:35:57 +0000 (15:35 +0900)
committerMike McCormack <mj.mccormack@samsung.com>
Fri, 25 Nov 2011 06:39:14 +0000 (15:39 +0900)
src/lib/Elementary.h.in
src/lib/elm_stackedicon.c

index 7e5df58..a190877 100644 (file)
@@ -29757,25 +29757,62 @@ extern "C" {
     * @}
     */
 
-   /* available styles:
+   /**
+    * @defgroup Stackedicon Stackedicon
+    * @ingroup Elementary
+    * @addtogroup Stackedicon
+    * @{
+    *
+    * This is a Stackedicon.
+    * smart callback called:
+    * "expanded" - This signal is emitted when a stackedicon is expanded.
+    * "clicked" - This signal is emitted when a stackedicon is clicked.
+    *
+    * available styles:
     * default
     */
-
-   /* stackedicon */
    typedef struct _Stackedicon_Item Elm_Stackedicon_Item;
+   /**
+    * Add a new stackedicon to the parent
+    *
+    * @param parent The parent object
+    * @return The new object or NULL if it cannot be created
+    */
    EAPI Evas_Object          *elm_stackedicon_add(Evas_Object *parent);
+   /**
+    * This appends a path to the stackedicon
+    *
+    * @param    obj   The stackedicon object
+    * @param    path   The image full path
+    * @return   The new item or NULL if it cannot be created
+    */
    EAPI Elm_Stackedicon_Item *elm_stackedicon_item_append(Evas_Object *obj, const char *path);
+   /**
+    * This prepends a path to the stackedicon
+    *
+    * @param    obj   The stackedicon object
+    * @param    path   The image full path
+    * @return   The new item or NULL if it cannot be created
+    */
    EAPI Elm_Stackedicon_Item *elm_stackedicon_item_prepend(Evas_Object *obj, const char *path);
+   /**
+    * This delete a path at the stackedicon
+    *
+    * @param    Elm_Stackedicon_Item   The delete item
+    */
    EAPI void                  elm_stackedicon_item_del(Elm_Stackedicon_Item *it);
-   EAPI Eina_List            *elm_stackedicon_item_list_get(Evas_Object *obj);
-   /* smart callback called:
-    * "expanded" - This signal is emitted when a stackedicon is expanded.
-    * "clicked" - This signal is emitted when a stackedicon is clicked.
+   /**
+    * Get item list from the stackedicon
+    *
+    * @param    obj   The stackedicon object
+    * @return   The item list or NULL if it cannot be created
     */
-   /* available styles:
-    * default
+   EAPI Eina_List            *elm_stackedicon_item_list_get(Evas_Object *obj);
+   /**
+    * @}
     */
 
+
    /* dialoguegroup */
    typedef struct _Dialogue_Item Dialogue_Item;
 
index 1e54310..bd8adb9 100644 (file)
@@ -2,13 +2,6 @@
 #include "elm_priv.h"
 
 
-/**
- * @defgroup Stackedicon Stackedicon
- * @ingroup Elementary
- *
- * This is a Stackedicon.
- */
-
 
 #define MAX_ITEM_NUM      (9)
 #define MAX_MOVE_INTERVAL   (0.2)
@@ -693,14 +686,6 @@ _event_init(Evas_Object *obj)
    evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, _hide_cb, obj);
 }
 
-/**
- * Add a new stackedicon to the parent
- *
- * @param parent The parent object
- * @return The new object or NULL if it cannot be created
- *
- * @ingroup Stackedicon
- */
 EAPI Evas_Object *
 elm_stackedicon_add(Evas_Object *parent)
 {
@@ -732,15 +717,6 @@ elm_stackedicon_add(Evas_Object *parent)
    return obj;
 }
 
-/**
- * This appends a path to the stackedicon
- *
- * @param    obj   The stackedicon object
- * @param    path   The image full path
- * @return   The new item or NULL if it cannot be created
- *
- * @ingroup Stackedicon
- */
 EAPI Elm_Stackedicon_Item *elm_stackedicon_item_append(Evas_Object *obj, const char *path)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) NULL;
@@ -768,15 +744,6 @@ EAPI Elm_Stackedicon_Item *elm_stackedicon_item_append(Evas_Object *obj, const c
    return it;
 }
 
-/**
- * This prepends a path to the stackedicon
- *
- * @param    obj   The stackedicon object
- * @param    path   The image full path
- * @return   The new item or NULL if it cannot be created
- *
- * @ingroup Stackedicon
- */
 EAPI Elm_Stackedicon_Item *elm_stackedicon_item_prepend(Evas_Object *obj, const char *path)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) NULL;
@@ -804,16 +771,9 @@ EAPI Elm_Stackedicon_Item *elm_stackedicon_item_prepend(Evas_Object *obj, const
    return it;
 }
 
-/**
- * This delete a path at the stackedicon
- *
- * @param    Elm_Stackedicon_Item   The delete item
- *
- * @ingroup Stackedicon
- */
 EAPI void elm_stackedicon_item_del(Elm_Stackedicon_Item *it)
 {
-   if (!it)return;
+   if (!it) return;
    ELM_CHECK_WIDTYPE(it->parent, widtype);
    Evas_Object *obj = it->parent;
    Widget_Data *wd = elm_widget_data_get(obj);
@@ -834,14 +794,6 @@ EAPI void elm_stackedicon_item_del(Elm_Stackedicon_Item *it)
    _update_stackedicon(obj);
 }
 
-/**
- * Get item list from the stackedicon
- *
- * @param    obj   The stackedicon object
- * @return   The item list or NULL if it cannot be created
- *
- * @ingroup Stackedicon
- */
 EAPI Eina_List *elm_stackedicon_item_list_get(Evas_Object *obj)
 {
    ELM_CHECK_WIDTYPE(obj, widtype) NULL;
@@ -849,4 +801,3 @@ EAPI Eina_List *elm_stackedicon_item_list_get(Evas_Object *obj)
    if (!wd) return NULL;
    return wd->list;
 }
-