summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_flip_legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_flip_legacy.h')
-rw-r--r--src/lib/elementary/efl_ui_flip_legacy.h70
1 files changed, 40 insertions, 30 deletions
diff --git a/src/lib/elementary/efl_ui_flip_legacy.h b/src/lib/elementary/efl_ui_flip_legacy.h
index 8470bb1..2965255 100644
--- a/src/lib/elementary/efl_ui_flip_legacy.h
+++ b/src/lib/elementary/efl_ui_flip_legacy.h
@@ -1,30 +1,39 @@
1#include "efl_ui_flip.eo.legacy.h"
2
3typedef Eo Elm_Flip; 1typedef Eo Elm_Flip;
4 2
5typedef Efl_Ui_Flip_Interaction Elm_Flip_Interaction;
6
7#define ELM_FLIP_INTERACTION_NONE EFL_UI_FLIP_INTERACTION_NONE
8#define ELM_FLIP_INTERACTION_ROTATE EFL_UI_FLIP_INTERACTION_ROTATE
9#define ELM_FLIP_INTERACTION_CUBE EFL_UI_FLIP_INTERACTION_CUBE
10#define ELM_FLIP_INTERACTION_PAGE EFL_UI_FLIP_INTERACTION_PAGE
11 3
4/** Elm flip mode
5 *
6 * @ingroup Elm_Flip
7 */
8typedef enum
9{
10 ELM_FLIP_ROTATE_Y_CENTER_AXIS = 0, /**< Rotate Y center axis flip mode */
11 ELM_FLIP_ROTATE_X_CENTER_AXIS, /**< Rotate X center axis flip mode */
12 ELM_FLIP_ROTATE_XZ_CENTER_AXIS, /**< Rotate XZ center axis flip mode */
13 ELM_FLIP_ROTATE_YZ_CENTER_AXIS, /**< Rotate YZ center axis flip mode */
14 ELM_FLIP_CUBE_LEFT, /**< Cube left flip mode */
15 ELM_FLIP_CUBE_RIGHT, /**< Cube right flip mode */
16 ELM_FLIP_CUBE_UP, /**< Cube up flip mode */
17 ELM_FLIP_CUBE_DOWN, /**< Cube down flip mode */
18 ELM_FLIP_PAGE_LEFT, /**< Page left flip mode */
19 ELM_FLIP_PAGE_RIGHT, /**< Page right flip mode */
20 ELM_FLIP_PAGE_UP, /**< Page up flip mode */
21 ELM_FLIP_PAGE_DOWN, /**< Page down flip mode */
22 ELM_FLIP_CROSS_FADE /**< Cross fade flip mode */
23} Elm_Flip_Mode;
12 24
13typedef Efl_Ui_Flip_Mode Elm_Flip_Mode; 25/** Efl UI flip interaction
26 *
27 * @ingroup Efl_Ui
28 */
29typedef enum
30{
31 ELM_FLIP_INTERACTION_NONE = 0, /**< No interaction */
32 ELM_FLIP_INTERACTION_ROTATE, /**< Rotate interaction */
33 ELM_FLIP_INTERACTION_CUBE, /**< Cube interaction */
34 ELM_FLIP_INTERACTION_PAGE /**< Page interaction */
35} Elm_Flip_Interaction;
14 36
15#define ELM_FLIP_ROTATE_Y_CENTER_AXIS EFL_UI_FLIP_ROTATE_Y_CENTER_AXIS
16#define ELM_FLIP_ROTATE_X_CENTER_AXIS EFL_UI_FLIP_ROTATE_X_CENTER_AXIS
17#define ELM_FLIP_ROTATE_XZ_CENTER_AXIS EFL_UI_FLIP_ROTATE_XZ_CENTER_AXIS
18#define ELM_FLIP_ROTATE_YZ_CENTER_AXIS EFL_UI_FLIP_ROTATE_YZ_CENTER_AXIS
19#define ELM_FLIP_CUBE_LEFT EFL_UI_FLIP_CUBE_LEFT
20#define ELM_FLIP_CUBE_RIGHT EFL_UI_FLIP_CUBE_RIGHT
21#define ELM_FLIP_CUBE_UP EFL_UI_FLIP_CUBE_UP
22#define ELM_FLIP_CUBE_DOWN EFL_UI_FLIP_CUBE_DOWN
23#define ELM_FLIP_PAGE_LEFT EFL_UI_FLIP_PAGE_LEFT
24#define ELM_FLIP_PAGE_RIGHT EFL_UI_FLIP_PAGE_RIGHT
25#define ELM_FLIP_PAGE_UP EFL_UI_FLIP_PAGE_UP
26#define ELM_FLIP_PAGE_DOWN EFL_UI_FLIP_PAGE_DOWN
27#define ELM_FLIP_CROSS_FADE EFL_UI_FLIP_CROSS_FADE
28 37
29typedef enum 38typedef enum
30{ 39{
@@ -58,9 +67,9 @@ typedef enum
58 * 67 *
59 * @param[in] hitsize The amount of that dimension (0.0 to 1.0) to use. 68 * @param[in] hitsize The amount of that dimension (0.0 to 1.0) to use.
60 * 69 *
61 * @ingroup Efl_Ui_Flip 70 * @ingroup Elm_Flip
62 */ 71 */
63EAPI void elm_flip_interaction_direction_hitsize_set(Efl_Ui_Flip *obj, Elm_Flip_Direction dir, double hitsize); 72EAPI void elm_flip_interaction_direction_hitsize_set(Elm_Flip *obj, Elm_Flip_Direction dir, double hitsize);
64 73
65/** 74/**
66 * @brief Get the amount of the flip that is sensitive to interactive flip. 75 * @brief Get the amount of the flip that is sensitive to interactive flip.
@@ -69,9 +78,9 @@ EAPI void elm_flip_interaction_direction_hitsize_set(Efl_Ui_Flip *obj, Elm_Flip_
69 * 78 *
70 * @return The size set for that direction. 79 * @return The size set for that direction.
71 * 80 *
72 * @ingroup Efl_Ui_Flip 81 * @ingroup Elm_Flip
73 */ 82 */
74EAPI double elm_flip_interaction_direction_hitsize_get(Efl_Ui_Flip *obj, Elm_Flip_Direction dir); 83EAPI double elm_flip_interaction_direction_hitsize_get(Elm_Flip *obj, Elm_Flip_Direction dir);
75 84
76/** 85/**
77 * @brief Set which directions of the flip respond to interactive flip 86 * @brief Set which directions of the flip respond to interactive flip
@@ -86,9 +95,9 @@ EAPI double elm_flip_interaction_direction_hitsize_get(Efl_Ui_Flip *obj, Elm_Fli
86 * 95 *
87 * @param[in] enabled If that direction is enabled or not. 96 * @param[in] enabled If that direction is enabled or not.
88 * 97 *
89 * @ingroup Efl_Ui_Flip 98 * @ingroup Elm_Flip
90 */ 99 */
91EAPI void elm_flip_interaction_direction_enabled_set(Efl_Ui_Flip *obj, Elm_Flip_Direction dir, Eina_Bool enabled); 100EAPI void elm_flip_interaction_direction_enabled_set(Elm_Flip *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
92 101
93/** 102/**
94 * @brief Get the enabled state of that flip direction. 103 * @brief Get the enabled state of that flip direction.
@@ -97,9 +106,9 @@ EAPI void elm_flip_interaction_direction_enabled_set(Efl_Ui_Flip *obj, Elm_Flip_
97 * 106 *
98 * @return If that direction is enabled or not. 107 * @return If that direction is enabled or not.
99 * 108 *
100 * @ingroup Efl_Ui_Flip 109 * @ingroup Elm_Flip
101 */ 110 */
102EAPI Eina_Bool elm_flip_interaction_direction_enabled_get(Efl_Ui_Flip *obj, Elm_Flip_Direction dir); 111EAPI Eina_Bool elm_flip_interaction_direction_enabled_get(Elm_Flip *obj, Elm_Flip_Direction dir);
103 112
104/** 113/**
105 * @brief Add a new flip to the parent 114 * @brief Add a new flip to the parent
@@ -124,3 +133,4 @@ EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
124 * @ingroup Elm_Flip 133 * @ingroup Elm_Flip
125 */ 134 */
126EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y); 135EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y);
136#include "efl_ui_flip_eo.legacy.h"