seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=8d02283ff90bd78900a0fb4494e03f4f58994fc2
commit 8d02283ff90bd78900a0fb4494e03f4f58994fc2 Author: Daniel Juyung Seo <[email protected]> Date: Mon Sep 1 00:40:20 2014 +0900 actionslider: Added descriptions for Elm_Actionslider_Pos and added # for enum. --- src/lib/elm_actionslider.eo | 4 ++-- src/lib/elm_actionslider_common.h | 15 ++++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/lib/elm_actionslider.eo b/src/lib/elm_actionslider.eo index 2d5a3c7..27d74ea 100644 --- a/src/lib/elm_actionslider.eo +++ b/src/lib/elm_actionslider.eo @@ -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. diff --git a/src/lib/elm_actionslider_common.h b/src/lib/elm_actionslider_common.h index 86137ad..fefd7db 100644 --- a/src/lib/elm_actionslider_common.h +++ b/src/lib/elm_actionslider_common.h @@ -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; --
