actionslider: Added descriptions for Elm_Actionslider_Pos and added # for enum.

This commit is contained in:
Daniel Juyung Seo 2014-09-01 00:40:20 +09:00
parent a991adfa8a
commit ca27474779
2 changed files with 12 additions and 7 deletions

View 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.

View 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;