edje: Part Drag Group created in documentation.
authorJonas M. Gastal <jgastal@profusion.mobi>
Tue, 25 Sep 2012 19:42:16 +0000 (19:42 +0000)
committerJonas M. Gastal <jgastal@profusion.mobi>
Tue, 25 Sep 2012 19:42:16 +0000 (19:42 +0000)
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77054

legacy/edje/src/lib/Edje.h

index 31070d6..023a8e9 100644 (file)
@@ -1308,14 +1308,6 @@ struct _Edje_Entry_Change_Info
  */
 typedef struct _Edje_Entry_Change_Info        Edje_Entry_Change_Info;
 
-typedef enum _Edje_Drag_Dir
-{
-   EDJE_DRAG_DIR_NONE = 0,
-   EDJE_DRAG_DIR_X = 1,
-   EDJE_DRAG_DIR_Y = 2,
-   EDJE_DRAG_DIR_XY = 3
-} Edje_Drag_Dir;
-
 typedef enum _Edje_Text_Filter_Type
 {
    EDJE_TEXT_FILTER_TEXT = 0,
@@ -3701,6 +3693,37 @@ EAPI void             edje_object_part_unswallow      (Evas_Object *obj, Evas_Ob
 EAPI Evas_Object     *edje_object_part_swallow_get    (const Evas_Object *obj, const char *part);
 
 /**
+ * @}
+ */
+
+/**
+ * @defgroup Edje_Part_Drag Edje Drag
+ *
+ * @brief Functions that deal with dragable parts.
+ *
+ * To create a movable part it must be declared as dragable
+ * in EDC file. To do so, one must define a "dragable" block inside
+ * the "part" block.
+ *
+ * These functions are used to set dragging properties to a
+ * part or get dragging information about it.
+ *
+ * @see @ref tutorial_edje_drag
+ *
+ * @ingroup Edje_Object_Part
+ *
+ * @{
+ */
+
+typedef enum _Edje_Drag_Dir
+{
+   EDJE_DRAG_DIR_NONE = 0,
+   EDJE_DRAG_DIR_X = 1,
+   EDJE_DRAG_DIR_Y = 2,
+   EDJE_DRAG_DIR_XY = 3
+} Edje_Drag_Dir;
+
+/**
  * @brief Determine dragable directions.
  *
  * @param obj A valid Evas_Object handle