Changeset View
Changeset View
Standalone View
Standalone View
src/lib/elementary/elm_bubble_eo.legacy.h
- This file was added.
1 | #ifndef _ELM_BUBBLE_EO_LEGACY_H_ | ||||
---|---|---|---|---|---|
2 | #define _ELM_BUBBLE_EO_LEGACY_H_ | ||||
3 | | ||||
4 | #ifndef _ELM_BUBBLE_EO_CLASS_TYPE | ||||
5 | #define _ELM_BUBBLE_EO_CLASS_TYPE | ||||
6 | | ||||
7 | typedef Eo Elm_Bubble; | ||||
8 | | ||||
9 | #endif | ||||
10 | | ||||
11 | #ifndef _ELM_BUBBLE_EO_TYPES | ||||
12 | #define _ELM_BUBBLE_EO_TYPES | ||||
13 | | ||||
14 | /** | ||||
15 | * @brief Defines the corner values for a bubble. | ||||
16 | * | ||||
17 | * The corner will be used to determine where the arrow of the bubble points | ||||
18 | * to. | ||||
19 | * | ||||
20 | * @ingroup Elm_Bubble | ||||
21 | */ | ||||
22 | typedef enum | ||||
23 | { | ||||
24 | ELM_BUBBLE_POS_INVALID = -1 /* +1 */, /**< Invalid corner. */ | ||||
25 | ELM_BUBBLE_POS_TOP_LEFT, /**< The arrow of the bubble points to the top left | ||||
26 | * corner. */ | ||||
27 | ELM_BUBBLE_POS_TOP_RIGHT, /**< The arrow of the bubble points to the top right | ||||
28 | * corner. */ | ||||
29 | ELM_BUBBLE_POS_BOTTOM_LEFT, /**< The arrow of the bubble points to the bottom | ||||
30 | * left corner. */ | ||||
31 | ELM_BUBBLE_POS_BOTTOM_RIGHT /**< The arrow of the bubble points to the bottom | ||||
32 | * right corner. */ | ||||
33 | } Elm_Bubble_Pos; | ||||
34 | | ||||
35 | | ||||
36 | #endif | ||||
37 | | ||||
38 | /** | ||||
39 | * @brief The corner of the bubble | ||||
40 | * | ||||
41 | * This function sets the corner of the bubble. The corner will be used to | ||||
42 | * determine where the arrow in the frame points to and where label, icon and | ||||
43 | * info are shown. See @ref Elm_Bubble_Pos | ||||
44 | * | ||||
45 | * @param[in] obj The object. | ||||
46 | * @param[in] pos The given corner for the bubble. | ||||
47 | * | ||||
48 | * @ingroup Elm_Bubble_Group | ||||
49 | */ | ||||
50 | EAPI void elm_bubble_pos_set(Elm_Bubble *obj, Elm_Bubble_Pos pos); | ||||
51 | | ||||
52 | /** | ||||
53 | * @brief The corner of the bubble | ||||
54 | * | ||||
55 | * This function sets the corner of the bubble. The corner will be used to | ||||
56 | * determine where the arrow in the frame points to and where label, icon and | ||||
57 | * info are shown. See @ref Elm_Bubble_Pos | ||||
58 | * | ||||
59 | * @param[in] obj The object. | ||||
60 | * | ||||
61 | * @return The given corner for the bubble. | ||||
62 | * | ||||
63 | * @ingroup Elm_Bubble_Group | ||||
64 | */ | ||||
65 | EAPI Elm_Bubble_Pos elm_bubble_pos_get(const Elm_Bubble *obj); | ||||
66 | | ||||
67 | #endif |