actionslider: Added descriptions for Elm_Actionslider_Pos and added # for enum.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Sun, 31 Aug 2014 15:40:20 +0000 (00:40 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Sun, 31 Aug 2014 15:40:20 +0000 (00:40 +0900)
legacy/elementary/src/lib/elm_actionslider.eo
legacy/elementary/src/lib/elm_actionslider_common.h

index 2d5a3c7..27d74ea 100644 (file)
@@ -25,7 +25,7 @@ class Elm_Actionslider (Elm_Layout)
          set {
             /*@
             Set actionslider magnet position. To make multiple positions magnets @c or
-            them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT)
+            them together(e.g.: #ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT)
 
             @ingroup Actionslider */
          }
@@ -45,7 +45,7 @@ class Elm_Actionslider (Elm_Layout)
          set {
             /*@
             Set actionslider enabled position. To set multiple positions as enabled @c or
-            them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT).
+            them together(e.g.: #ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT).
 
             @note All the positions are enabled by default.
 
index 86137ad..fefd7db 100644 (file)
@@ -1,8 +1,13 @@
+/**
+ * A position for indicators, magnets, and enabled items.
+ *
+ * @ingroup Actionslider
+ */
 typedef enum
 {
-   ELM_ACTIONSLIDER_NONE = 0,
-   ELM_ACTIONSLIDER_LEFT = 1 << 0,
-   ELM_ACTIONSLIDER_CENTER = 1 << 1,
-   ELM_ACTIONSLIDER_RIGHT = 1 << 2,
-   ELM_ACTIONSLIDER_ALL = (1 << 3) - 1
+   ELM_ACTIONSLIDER_NONE = 0, /**< no position is set */
+   ELM_ACTIONSLIDER_LEFT = 1 << 0, /**< left position */
+   ELM_ACTIONSLIDER_CENTER = 1 << 1, /**< center position */
+   ELM_ACTIONSLIDER_RIGHT = 1 << 2, /**< right position */
+   ELM_ACTIONSLIDER_ALL = (1 << 3) - 1 /**< all positions for left/center/right */
 } Elm_Actionslider_Pos;