blob: 3e34757eb03bd86e4cfba20ae2cfd6b552dc8078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#ifndef _ELM_HOVERSEL_ITEM_EO_LEGACY_H_
#define _ELM_HOVERSEL_ITEM_EO_LEGACY_H_
#ifndef _ELM_HOVERSEL_ITEM_EO_CLASS_TYPE
#define _ELM_HOVERSEL_ITEM_EO_CLASS_TYPE
typedef Eo Elm_Hoversel_Item;
#endif
#ifndef _ELM_HOVERSEL_ITEM_EO_TYPES
#define _ELM_HOVERSEL_ITEM_EO_TYPES
#endif
/**
* @brief This controls the icon for the given hoversel item.
*
* The icon can be loaded from the standard set, from an image file, or from an
* edje file.
*
* @param[in] obj The object.
* @param[in] icon_file An image file path on disk to use for the icon or
* standard icon name
* @param[in] icon_group The edje group to use if @c icon_file is an edje file.
* Set this to NULL if the icon is not an edje file
* @param[in] icon_type The icon type
*
* @ingroup Elm_Hoversel_Item_Group
*/
EAPI void elm_hoversel_item_icon_set(Elm_Hoversel_Item *obj, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type);
/**
* @brief This controls the icon for the given hoversel item.
*
* The icon can be loaded from the standard set, from an image file, or from an
* edje file.
*
* @param[in] obj The object.
* @param[out] icon_file An image file path on disk to use for the icon or
* standard icon name
* @param[out] icon_group The edje group to use if @c icon_file is an edje
* file. Set this to NULL if the icon is not an edje file
* @param[out] icon_type The icon type
*
* @ingroup Elm_Hoversel_Item_Group
*/
EAPI void elm_hoversel_item_icon_get(const Elm_Hoversel_Item *obj, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type);
#endif
|