summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-09-01 00:40:20 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-09-01 00:40:20 +0900
commit8d02283ff90bd78900a0fb4494e03f4f58994fc2 (patch)
treeb98e07839a055e47db2fca945a5dd780834c3a76 /src/lib
parent49cad7f61aafcdc8263a4d7f9e7d575a329c3db4 (diff)
actionslider: Added descriptions for Elm_Actionslider_Pos and added # for enum.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_actionslider.eo4
-rw-r--r--src/lib/elm_actionslider_common.h15
2 files changed, 12 insertions, 7 deletions
diff --git a/src/lib/elm_actionslider.eo b/src/lib/elm_actionslider.eo
index 2d5a3c705..27d74ea2e 100644
--- a/src/lib/elm_actionslider.eo
+++ b/src/lib/elm_actionslider.eo
@@ -25,7 +25,7 @@ class Elm_Actionslider (Elm_Layout)
25 set { 25 set {
26 /*@ 26 /*@
27 Set actionslider magnet position. To make multiple positions magnets @c or 27 Set actionslider magnet position. To make multiple positions magnets @c or
28 them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT) 28 them together(e.g.: #ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT)
29 29
30 @ingroup Actionslider */ 30 @ingroup Actionslider */
31 } 31 }
@@ -45,7 +45,7 @@ class Elm_Actionslider (Elm_Layout)
45 set { 45 set {
46 /*@ 46 /*@
47 Set actionslider enabled position. To set multiple positions as enabled @c or 47 Set actionslider enabled position. To set multiple positions as enabled @c or
48 them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT). 48 them together(e.g.: #ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT).
49 49
50 @note All the positions are enabled by default. 50 @note All the positions are enabled by default.
51 51
diff --git a/src/lib/elm_actionslider_common.h b/src/lib/elm_actionslider_common.h
index 86137ad76..fefd7db1f 100644
--- a/src/lib/elm_actionslider_common.h
+++ b/src/lib/elm_actionslider_common.h
@@ -1,8 +1,13 @@
1/**
2 * A position for indicators, magnets, and enabled items.
3 *
4 * @ingroup Actionslider
5 */
1typedef enum 6typedef enum
2{ 7{
3 ELM_ACTIONSLIDER_NONE = 0, 8 ELM_ACTIONSLIDER_NONE = 0, /**< no position is set */
4 ELM_ACTIONSLIDER_LEFT = 1 << 0, 9 ELM_ACTIONSLIDER_LEFT = 1 << 0, /**< left position */
5 ELM_ACTIONSLIDER_CENTER = 1 << 1, 10 ELM_ACTIONSLIDER_CENTER = 1 << 1, /**< center position */
6 ELM_ACTIONSLIDER_RIGHT = 1 << 2, 11 ELM_ACTIONSLIDER_RIGHT = 1 << 2, /**< right position */
7 ELM_ACTIONSLIDER_ALL = (1 << 3) - 1 12 ELM_ACTIONSLIDER_ALL = (1 << 3) - 1 /**< all positions for left/center/right */
8} Elm_Actionslider_Pos; 13} Elm_Actionslider_Pos;