summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_Common.h
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-06-10 15:32:22 +0100
committerTom Hacohen <tom@stosb.com>2015-06-10 15:32:29 +0100
commitd10f9733ac7b9f5dc59607d2f61b4b70c3d9c787 (patch)
tree36ca81e91aafa15414502a2f12efe787f8bc265f /src/lib/evas/Evas_Common.h
parent7d40ec0ad96b1621c95d3424355f6435d4c39c2e (diff)
Evas canvas: Fix Eolian warnings (migrate types).
Diffstat (limited to 'src/lib/evas/Evas_Common.h')
-rw-r--r--src/lib/evas/Evas_Common.h117
1 files changed, 0 insertions, 117 deletions
diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h
index 312c74ee24..aa82737c30 100644
--- a/src/lib/evas/Evas_Common.h
+++ b/src/lib/evas/Evas_Common.h
@@ -58,76 +58,6 @@ EAPI extern Evas_Version * evas_version;
58 */ 58 */
59 59
60/** 60/**
61 * Identifier of callbacks to be set for Evas canvases or Evas
62 * objects.
63 *
64 * The following figure illustrates some Evas callbacks:
65 *
66 * @image html evas-callbacks.png
67 * @image rtf evas-callbacks.png
68 * @image latex evas-callbacks.eps
69 *
70 * @see evas_object_event_callback_add()
71 * @see evas_event_callback_add()
72 */
73typedef enum _Evas_Callback_Type
74{
75 /*
76 * The following events are only for use with Evas objects, with
77 * evas_object_event_callback_add():
78 */
79 EVAS_CALLBACK_MOUSE_IN, /**< Mouse In Event */
80 EVAS_CALLBACK_MOUSE_OUT, /**< Mouse Out Event */
81 EVAS_CALLBACK_MOUSE_DOWN, /**< Mouse Button Down Event */
82 EVAS_CALLBACK_MOUSE_UP, /**< Mouse Button Up Event */
83 EVAS_CALLBACK_MOUSE_MOVE, /**< Mouse Move Event */
84 EVAS_CALLBACK_MOUSE_WHEEL, /**< Mouse Wheel Event */
85 EVAS_CALLBACK_MULTI_DOWN, /**< Multi-touch Down Event */
86 EVAS_CALLBACK_MULTI_UP, /**< Multi-touch Up Event */
87 EVAS_CALLBACK_MULTI_MOVE, /**< Multi-touch Move Event */
88 EVAS_CALLBACK_FREE, /**< Object Being Freed (Called after Del) */
89 EVAS_CALLBACK_KEY_DOWN, /**< Key Press Event */
90 EVAS_CALLBACK_KEY_UP, /**< Key Release Event */
91 EVAS_CALLBACK_FOCUS_IN, /**< Focus In Event */
92 EVAS_CALLBACK_FOCUS_OUT, /**< Focus Out Event */
93 EVAS_CALLBACK_SHOW, /**< Show Event */
94 EVAS_CALLBACK_HIDE, /**< Hide Event */
95 EVAS_CALLBACK_MOVE, /**< Move Event */
96 EVAS_CALLBACK_RESIZE, /**< Resize Event */
97 EVAS_CALLBACK_RESTACK, /**< Restack Event */
98 EVAS_CALLBACK_DEL, /**< Object Being Deleted (called before Free) */
99 EVAS_CALLBACK_HOLD, /**< Events go on/off hold */
100 EVAS_CALLBACK_CHANGED_SIZE_HINTS, /**< Size hints changed event */
101 EVAS_CALLBACK_IMAGE_PRELOADED, /**< Image has been preloaded */
102
103 /*
104 * The following events are only for use with Evas canvases, with
105 * evas_event_callback_add():
106 */
107 EVAS_CALLBACK_CANVAS_FOCUS_IN, /**< Canvas got focus as a whole */
108 EVAS_CALLBACK_CANVAS_FOCUS_OUT, /**< Canvas lost focus as a whole */
109 EVAS_CALLBACK_RENDER_FLUSH_PRE, /**< Called just before rendering is updated on the canvas target */
110 EVAS_CALLBACK_RENDER_FLUSH_POST, /**< Called just after rendering is updated on the canvas target */
111 EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN, /**< Canvas object got focus */
112 EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT, /**< Canvas object lost focus */
113 EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE, /**< Canvas viewport resized @since 1.15 */
114
115 /*
116 * More Evas object event types - see evas_object_event_callback_add():
117 */
118 EVAS_CALLBACK_IMAGE_UNLOADED, /**< Image data has been unloaded (by some mechanism in Evas that throw out original image data) */
119
120 EVAS_CALLBACK_RENDER_PRE, /**< Called just before rendering starts on the canvas target @since 1.2 */
121 EVAS_CALLBACK_RENDER_POST, /**< Called just after rendering stops on the canvas target @since 1.2 */
122
123 EVAS_CALLBACK_IMAGE_RESIZE, /**< Image size is changed @since 1.8 */
124 EVAS_CALLBACK_DEVICE_CHANGED, /**< Devices added, removed or changed on canvas @since 1.8 */
125
126 EVAS_CALLBACK_AXIS_UPDATE, /**< Input device changed value on some axis @since 1.13 */
127 EVAS_CALLBACK_LAST /**< kept as last element/sentinel -- not really an event */
128} Evas_Callback_Type; /**< The types of events triggering a callback */
129
130/**
131 * @def EVAS_CALLBACK_PRIORITY_BEFORE 61 * @def EVAS_CALLBACK_PRIORITY_BEFORE
132 * Slightly more prioritized than default. 62 * Slightly more prioritized than default.
133 * @since 1.1 63 * @since 1.1
@@ -160,49 +90,6 @@ typedef enum _Evas_Callback_Type
160 */ 90 */
161typedef Eo_Callback_Priority Evas_Callback_Priority; 91typedef Eo_Callback_Priority Evas_Callback_Priority;
162 92
163/**
164 * Flags for Mouse Button events
165 */
166typedef enum _Evas_Button_Flags
167{
168 EVAS_BUTTON_NONE = 0, /**< No extra mouse button data */
169 EVAS_BUTTON_DOUBLE_CLICK = (1 << 0), /**< This mouse button press was the 2nd press of a double click */
170 EVAS_BUTTON_TRIPLE_CLICK = (1 << 1) /**< This mouse button press was the 3rd press of a triple click */
171} Evas_Button_Flags; /**< Flags for Mouse Button events */
172
173/**
174 * Flags for Events
175 */
176typedef enum _Evas_Event_Flags
177{
178 EVAS_EVENT_FLAG_NONE = 0, /**< No fancy flags set */
179 EVAS_EVENT_FLAG_ON_HOLD = (1 << 0), /**< This event is being delivered but should be put "on hold" until the on hold flag is unset. The event should be used for informational purposes and maybe some indications visually, but not actually perform anything */
180 EVAS_EVENT_FLAG_ON_SCROLL = (1 << 1) /**< This event flag indicates the event occurs while scrolling; for example, DOWN event occurs during scrolling; the event should be used for informational purposes and maybe some indications visually, but not actually perform anything */
181} Evas_Event_Flags; /**< Flags for Events */
182
183/**
184 * State of Evas_Coord_Touch_Point
185 */
186typedef enum _Evas_Touch_Point_State
187{
188 EVAS_TOUCH_POINT_DOWN, /**< Touch point is pressed down */
189 EVAS_TOUCH_POINT_UP, /**< Touch point is released */
190 EVAS_TOUCH_POINT_MOVE, /**< Touch point is moved */
191 EVAS_TOUCH_POINT_STILL, /**< Touch point is not moved after pressed */
192 EVAS_TOUCH_POINT_CANCEL /**< Touch point is cancelled */
193} Evas_Touch_Point_State;
194
195/**
196 * Flags for Font Hinting
197 * @ingroup Evas_Font_Group
198 */
199typedef enum _Evas_Font_Hinting_Flags
200{
201 EVAS_FONT_HINTING_NONE, /**< No font hinting */
202 EVAS_FONT_HINTING_AUTO, /**< Automatic font hinting */
203 EVAS_FONT_HINTING_BYTECODE /**< Bytecode font hinting */
204} Evas_Font_Hinting_Flags; /**< Flags for Font Hinting */
205
206typedef struct _Evas_Coord_Rectangle Evas_Coord_Rectangle; /**< A generic rectangle handle */ 93typedef struct _Evas_Coord_Rectangle Evas_Coord_Rectangle; /**< A generic rectangle handle */
207typedef struct _Evas_Point Evas_Point; /**< integer point */ 94typedef struct _Evas_Point Evas_Point; /**< integer point */
208 95
@@ -284,8 +171,6 @@ typedef Eo Evas_Object;
284typedef Eo Efl_VG; 171typedef Eo Efl_VG;
285 172
286typedef void Evas_Performance; /**< An Evas Performance handle */ 173typedef void Evas_Performance; /**< An Evas Performance handle */
287typedef struct _Evas_Modifier Evas_Modifier; /**< An opaque type containing information on which modifier keys are registered in an Evas canvas */
288typedef struct _Evas_Lock Evas_Lock; /**< An opaque type containing information on which lock keys are registered in an Evas canvas */
289typedef struct _Evas_Smart Evas_Smart; /**< An Evas Smart Object handle */ 174typedef struct _Evas_Smart Evas_Smart; /**< An Evas Smart Object handle */
290typedef struct _Evas_Native_Surface Evas_Native_Surface; /**< A generic datatype for engine specific native surface information */ 175typedef struct _Evas_Native_Surface Evas_Native_Surface; /**< A generic datatype for engine specific native surface information */
291 176
@@ -357,7 +242,6 @@ struct _Evas_Precision_Position /** A position with precision*/
357}; 242};
358 243
359typedef struct _Evas_Pixel_Import_Source Evas_Pixel_Import_Source; /**< A source description of pixels for importing pixels */ 244typedef struct _Evas_Pixel_Import_Source Evas_Pixel_Import_Source; /**< A source description of pixels for importing pixels */
360typedef struct _Evas_Engine_Info Evas_Engine_Info; /**< A generic Evas Engine information structure */
361typedef struct _Evas_Device Evas_Device; /**< A source device handle - where the event came from */ 245typedef struct _Evas_Device Evas_Device; /**< A source device handle - where the event came from */
362typedef struct _Evas_Event_Mouse_Down Evas_Event_Mouse_Down; /**< Event structure for #EVAS_CALLBACK_MOUSE_DOWN event callbacks */ 246typedef struct _Evas_Event_Mouse_Down Evas_Event_Mouse_Down; /**< Event structure for #EVAS_CALLBACK_MOUSE_DOWN event callbacks */
363typedef struct _Evas_Event_Mouse_Up Evas_Event_Mouse_Up; /**< Event structure for #EVAS_CALLBACK_MOUSE_UP event callbacks */ 247typedef struct _Evas_Event_Mouse_Up Evas_Event_Mouse_Up; /**< Event structure for #EVAS_CALLBACK_MOUSE_UP event callbacks */
@@ -372,7 +256,6 @@ typedef struct _Evas_Event_Key_Down Evas_Event_Key_Down; /**< Event structu
372typedef struct _Evas_Event_Key_Up Evas_Event_Key_Up; /**< Event structure for #EVAS_CALLBACK_KEY_UP event callbacks */ 256typedef struct _Evas_Event_Key_Up Evas_Event_Key_Up; /**< Event structure for #EVAS_CALLBACK_KEY_UP event callbacks */
373typedef struct _Evas_Event_Hold Evas_Event_Hold; /**< Event structure for #EVAS_CALLBACK_HOLD event callbacks */ 257typedef struct _Evas_Event_Hold Evas_Event_Hold; /**< Event structure for #EVAS_CALLBACK_HOLD event callbacks */
374typedef struct _Evas_Event_Render_Post Evas_Event_Render_Post; /**< Event structure that may come with #EVAS_CALLBACK_RENDER_POST event callbacks @since 1.8 */ 258typedef struct _Evas_Event_Render_Post Evas_Event_Render_Post; /**< Event structure that may come with #EVAS_CALLBACK_RENDER_POST event callbacks @since 1.8 */
375typedef struct _Evas_Axis Evas_Axis; /**< Details for a single device axis state @since 1.13 */
376typedef struct _Evas_Event_Axis_Update Evas_Event_Axis_Update; /**< Event structure for #EVAS_CALLBACK_AXIS_UPDATE event callbacks @since 1.13 */ 259typedef struct _Evas_Event_Axis_Update Evas_Event_Axis_Update; /**< Event structure for #EVAS_CALLBACK_AXIS_UPDATE event callbacks @since 1.13 */
377 260
378typedef enum _Evas_Alloc_Error 261typedef enum _Evas_Alloc_Error