Add some more documentation.

Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68941
This commit is contained in:
Sanjeev BA 2012-03-07 12:57:06 +00:00 committed by Sanjeev BA
parent 18c952dcd1
commit a311a4cc7d
1 changed files with 16 additions and 5 deletions

View File

@ -358,13 +358,19 @@
typedef enum
{
ELM_GENLIST_ITEM_NONE = 0, /**< simple item */
//XXX: ELM_GENLIST_ITEM_TREE
ELM_GENLIST_ITEM_SUBITEMS = (1 << 0), /**< may expand and have child items */
ELM_GENLIST_ITEM_TREE = (1 << 0), /**< may expand and have child items */
ELM_GENLIST_ITEM_GROUP = (1 << 1), /**< index of a group of items */
ELM_GENLIST_ITEM_MAX = (1 << 2)
} Elm_Genlist_Item_Type;
/**
* Defines the type of the item part
* Used while updating item's parts
* It can be used at updating multi fields.
*
* @ingroup Genlist
*/
typedef enum
{
ELM_GENLIST_ITEM_FIELD_ALL = 0,
@ -373,12 +379,17 @@ typedef enum
ELM_GENLIST_ITEM_FIELD_STATE = (1 << 2)
} Elm_Genlist_Item_Field_Type;
/**
* Defines where to position the item in the genlist.
*
* @ingroup Genlist
*/
typedef enum
{
ELM_GENLIST_ITEM_SCROLLTO_NONE = 0, /**< no scrollto */
ELM_GENLIST_ITEM_SCROLLTO_IN = (1 << 0), /**< show, bring in */
ELM_GENLIST_ITEM_SCROLLTO_TOP = (1 << 1), /**< top show, top bring in */
ELM_GENLIST_ITEM_SCROLLTO_MIDDLE = (1 << 2) /**< middle show, middle bring in */
ELM_GENLIST_ITEM_SCROLLTO_IN = (1 << 0), /**< to the nearest viewport */
ELM_GENLIST_ITEM_SCROLLTO_TOP = (1 << 1), /**< to the top of viewport */
ELM_GENLIST_ITEM_SCROLLTO_MIDDLE = (1 << 2) /**< to the middle of viewport */
} Elm_Genlist_Item_Scrollto_Type;
typedef enum