summaryrefslogtreecommitdiff
path: root/src
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
parent7d40ec0ad96b1621c95d3424355f6435d4c39c2e (diff)
Evas canvas: Fix Eolian warnings (migrate types).
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/Evas_Common.h117
-rw-r--r--src/lib/evas/canvas/evas_canvas.eo32
-rw-r--r--src/lib/evas/canvas/evas_types.eot110
3 files changed, 126 insertions, 133 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
diff --git a/src/lib/evas/canvas/evas_canvas.eo b/src/lib/evas/canvas/evas_canvas.eo
index 79462c71de..561aae1070 100644
--- a/src/lib/evas/canvas/evas_canvas.eo
+++ b/src/lib/evas/canvas/evas_canvas.eo
@@ -111,7 +111,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
111 @since 1.2 */ 111 @since 1.2 */
112 } 112 }
113 values { 113 values {
114 flags: Evas_Event_Flags; /*@ The default flags to use */ 114 flags: Evas.Event_Flags; /*@ The default flags to use */
115 } 115 }
116 } 116 }
117 @property output_method { 117 @property output_method {
@@ -224,7 +224,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
224 @ingroup Evas_Font_Group */ 224 @ingroup Evas_Font_Group */
225 } 225 }
226 values { 226 values {
227 hinting: Evas_Font_Hinting_Flags; /*@ The hinting to use, one of #EVAS_FONT_HINTING_NONE, */ 227 hinting: Evas.Font.Hinting_Flags; /*@ The hinting to use, one of #EVAS_FONT_HINTING_NONE, */
228 } 228 }
229 } 229 }
230 @property engine_info { 230 @property engine_info {
@@ -262,7 +262,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
262 @ingroup Evas_Output_Method */ 262 @ingroup Evas_Output_Method */
263 } 263 }
264 values { 264 values {
265 info: Evas_Engine_Info *; /*@ The pointer to the Engine Info to use */ 265 info: Evas.Engine_Info *; /*@ The pointer to the Engine Info to use */
266 } 266 }
267 } 267 }
268 @property focus { 268 @property focus {
@@ -343,7 +343,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
343 343
344 @return An .Evas_Lock handle to query Evas' keys subsystem with 344 @return An .Evas_Lock handle to query Evas' keys subsystem with
345 evas_key_lock_is_set(), or @c NULL on error. */ 345 evas_key_lock_is_set(), or @c NULL on error. */
346 return: const(Evas_Lock)* @warn_unused; 346 return: const(Evas.Lock)* @warn_unused;
347 } 347 }
348 } 348 }
349 @property pointer_canvas_xy { 349 @property pointer_canvas_xy {
@@ -535,7 +535,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
535 535
536 @return An .Evas_Modifier handle to query Evas' keys subsystem 536 @return An .Evas_Modifier handle to query Evas' keys subsystem
537 with evas_key_modifier_is_set(), or @c NULL on error. */ 537 with evas_key_modifier_is_set(), or @c NULL on error. */
538 return: const(Evas_Modifier)* @warn_unused; 538 return: const(Evas.Modifier)* @warn_unused;
539 } 539 }
540 } 540 }
541 @property pointer_button_down_mask { 541 @property pointer_button_down_mask {
@@ -666,7 +666,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
666 @see evas_key_modifier_is_set 666 @see evas_key_modifier_is_set
667 @see evas_object_key_grab 667 @see evas_object_key_grab
668 @see evas_object_key_ungrab */ 668 @see evas_object_key_ungrab */
669 return: Evas_Modifier_Mask @warn_unused; 669 return: Evas.Modifier_Mask @warn_unused;
670 params { 670 params {
671 @in keyname: const(char)* @nonull; /*@ The name of the modifier key to create the mask for. */ 671 @in keyname: const(char)* @nonull; /*@ The name of the modifier key to create the mask for. */
672 } 672 }
@@ -829,7 +829,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
829 @in ang: double; 829 @in ang: double;
830 @in fx: double; 830 @in fx: double;
831 @in fy: double; 831 @in fy: double;
832 @in flags: Evas_Button_Flags; 832 @in flags: Evas.Button_Flags;
833 @in timestamp: uint; 833 @in timestamp: uint;
834 @in data: const(void)*; 834 @in data: const(void)*;
835 } 835 }
@@ -847,7 +847,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
847 @in ang: double; 847 @in ang: double;
848 @in fx: double; 848 @in fx: double;
849 @in fy: double; 849 @in fy: double;
850 @in flags: Evas_Button_Flags; 850 @in flags: Evas.Button_Flags;
851 @in timestamp: uint; 851 @in timestamp: uint;
852 @in data: const(void)*; 852 @in data: const(void)*;
853 } 853 }
@@ -987,7 +987,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
987 @in ang: double; 987 @in ang: double;
988 @in fx: double; 988 @in fx: double;
989 @in fy: double; 989 @in fy: double;
990 @in flags: Evas_Button_Flags; 990 @in flags: Evas.Button_Flags;
991 @in timestamp: uint; 991 @in timestamp: uint;
992 @in data: const(void)*; 992 @in data: const(void)*;
993 } 993 }
@@ -1051,7 +1051,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
1051 @ingroup Evas_Font_Group */ 1051 @ingroup Evas_Font_Group */
1052 return: bool @warn_unused; 1052 return: bool @warn_unused;
1053 params { 1053 params {
1054 @in hinting: Evas_Font_Hinting_Flags; /*@ The hinting to use, one of #EVAS_FONT_HINTING_NONE, */ 1054 @in hinting: Evas.Font.Hinting_Flags; /*@ The hinting to use, one of #EVAS_FONT_HINTING_NONE, */
1055 } 1055 }
1056 } 1056 }
1057 object_top_at_xy_get @const { 1057 object_top_at_xy_get @const {
@@ -1107,7 +1107,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
1107 1107
1108 params { 1108 params {
1109 @in b: int; /*@ The button number. */ 1109 @in b: int; /*@ The button number. */
1110 @in flags: Evas_Button_Flags; /*@ evas button flags. */ 1110 @in flags: Evas.Button_Flags; /*@ evas button flags. */
1111 @in timestamp: uint; /*@ The timestamp of the mouse up event. */ 1111 @in timestamp: uint; /*@ The timestamp of the mouse up event. */
1112 @in data: const(void)*; /*@ The data for canvas. */ 1112 @in data: const(void)*; /*@ The data for canvas. */
1113 } 1113 }
@@ -1122,7 +1122,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
1122 1122
1123 params { 1123 params {
1124 @in b: int; /*@ The button number. */ 1124 @in b: int; /*@ The button number. */
1125 @in flags: Evas_Button_Flags; /*@ The evas button flags. */ 1125 @in flags: Evas.Button_Flags; /*@ The evas button flags. */
1126 @in timestamp: uint; /*@ The timestamp of the mouse down event. */ 1126 @in timestamp: uint; /*@ The timestamp of the mouse down event. */
1127 @in data: const(void)*; /*@ The data for canvas. */ 1127 @in data: const(void)*; /*@ The data for canvas. */
1128 } 1128 }
@@ -1138,7 +1138,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
1138 1138
1139 params { 1139 params {
1140 @in event_copy: void *; /*@ the event to refeed */ 1140 @in event_copy: void *; /*@ the event to refeed */
1141 @in event_type: Evas_Callback_Type; /*@ Event type */ 1141 @in event_type: Evas.Callback_Type; /*@ Event type */
1142 } 1142 }
1143 } 1143 }
1144 font_available_list @const { 1144 font_available_list @const {
@@ -1468,7 +1468,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
1468 @see evas_touch_point_list_nth_xy_get() 1468 @see evas_touch_point_list_nth_xy_get()
1469 @see evas_touch_point_list_nth_id_get() */ 1469 @see evas_touch_point_list_nth_id_get() */
1470 1470
1471 return: Evas_Touch_Point_State; 1471 return: Evas.Touch_Point_State;
1472 params { 1472 params {
1473 @in n: uint; /*@ The number of the touched point (0 being the first). */ 1473 @in n: uint; /*@ The number of the touched point (0 being the first). */
1474 } 1474 }
@@ -1616,7 +1616,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
1616 @in ang: double; 1616 @in ang: double;
1617 @in fx: double; 1617 @in fx: double;
1618 @in fy: double; 1618 @in fy: double;
1619 @in flags: Evas_Button_Flags; 1619 @in flags: Evas.Button_Flags;
1620 @in timestamp: uint; 1620 @in timestamp: uint;
1621 @in data: const(void)*; 1621 @in data: const(void)*;
1622 } 1622 }
@@ -1854,7 +1854,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface)
1854 @in device: int; /*@ System-provided device identifier */ 1854 @in device: int; /*@ System-provided device identifier */
1855 @in toolid: int; /*@ Type of tool currently being used */ 1855 @in toolid: int; /*@ Type of tool currently being used */
1856 @in naxes: int; /*@ Number of elements in the \p axis array */ 1856 @in naxes: int; /*@ Number of elements in the \p axis array */
1857 @in axis: const(Evas_Axis)*; /*@ Array containing the current value of all updated axes */ 1857 @in axis: const(Evas.Axis)*; /*@ Array containing the current value of all updated axes */
1858 @in data: const(void)*; /*@ Data for canvas. */ 1858 @in data: const(void)*; /*@ Data for canvas. */
1859 } 1859 }
1860 } 1860 }
diff --git a/src/lib/evas/canvas/evas_types.eot b/src/lib/evas/canvas/evas_types.eot
index 3e83a0bfac..ffa4e350df 100644
--- a/src/lib/evas/canvas/evas_types.eot
+++ b/src/lib/evas/canvas/evas_types.eot
@@ -99,6 +99,15 @@ enum Evas.Text_Style_Type {
99 99
100type Evas.Font.Size: int; /**< A type for font size */ 100type Evas.Font.Size: int; /**< A type for font size */
101 101
102enum Evas.Font.Hinting_Flags {
103 [[Flags for Font Hinting]]
104 legacy: Evas_Font_Hinting;
105
106 none, [[No font hinting]]
107 auto, [[Automatic font hinting]]
108 bytecode [[Bytecode font hinting]]
109}
110
102struct Evas.Map; /*@ An opaque handle to map points 111struct Evas.Map; /*@ An opaque handle to map points
103 * 112 *
104 * @see evas_map_new() 113 * @see evas_map_new()
@@ -107,3 +116,104 @@ struct Evas.Map; /*@ An opaque handle to map points
107 * 116 *
108 * @ingroup Evas_Object_Group_Map 117 * @ingroup Evas_Object_Group_Map
109 */ 118 */
119
120enum Evas.Button_Flags {
121 [[Flags for Mouse Button events]]
122 legacy: Evas_Button;
123
124 none = 0, [[No extra mouse button data]]
125 double_click = (1 << 0), [[This mouse button press was the 2nd press of a double click]]
126 triple_click = (1 << 1) [[This mouse button press was the 3rd press of a triple click]]
127}
128
129enum Evas.Event_Flags {
130 [[Flags for Events]]
131 legacy: Evas_Event_Flag;
132
133 none = 0, [[No fancy flags set]]
134 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]]
135 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]]
136}
137
138enum Evas.Touch_Point_State {
139 [[State of Evas_Coord_Touch_Point]]
140 legacy: Evas_Touch_Point;
141
142 down, [[Touch point is pressed down]]
143 up, [[Touch point is released]]
144 move, [[Touch point is moved]]
145 still, [[Touch point is not moved after pressed]]
146 cancel [[Touch point is cancelled]]
147}
148
149enum Evas.Callback_Type
150{
151 [[Identifier of callbacks to be set for Evas canvases or Evas objects.]]
152 legacy: Evas_Callback;
153
154 /** FIXME-doc
155 * The following figure illustrates some Evas callbacks:
156
157 * @image html evas-callbacks.png
158 * @image rtf evas-callbacks.png
159 * @image latex evas-callbacks.eps
160 *
161 * @see evas_object_event_callback_add()
162 * @see evas_event_callback_add()
163 */
164
165 mouse_in, [[Mouse In Event]]
166 mouse_out, [[Mouse Out Event]]
167 mouse_down, [[Mouse Button Down Event]]
168 mouse_up, [[Mouse Button Up Event]]
169 mouse_move, [[Mouse Move Event]]
170 mouse_wheel, [[Mouse Wheel Event]]
171 multi_down, [[Multi-touch Down Event]]
172 multi_up, [[Multi-touch Up Event]]
173 multi_move, [[Multi-touch Move Event]]
174 free, [[Object Being Freed (Called after Del)]]
175 key_down, [[Key Press Event]]
176 key_up, [[Key Release Event]]
177 focus_in, [[Focus In Event]]
178 focus_out, [[Focus Out Event]]
179 show, [[Show Event]]
180 hide, [[Hide Event]]
181 move, [[Move Event]]
182 resize, [[Resize Event]]
183 restack, [[Restack Event]]
184 del, [[Object Being Deleted (called before Free)]]
185 hold, [[Events go on/off hold]]
186 changed_size_hints, [[Size hints changed event]]
187 image_preloaded, [[Image has been preloaded]]
188
189 /*
190 * The following events are only for use with Evas canvases, with
191 * evas_event_callback_add():
192 */
193 canvas_focus_in, [[Canvas got focus as a whole]]
194 canvas_focus_out, [[Canvas lost focus as a whole]]
195 render_flush_pre, [[Called just before rendering is updated on the canvas target]]
196 render_flush_post, [[Called just after rendering is updated on the canvas target]]
197 canvas_object_focus_in, [[Canvas object got focus]]
198 canvas_object_focus_ouT, [[Canvas object lost focus]]
199 canvas_viewport_resize, [[Canvas viewport resized @since 1.15]]
200
201 /*
202 * More Evas object event types - see evas_object_event_callback_add():
203 */
204 image_unloaded, [[Image data has been unloaded (by some mechanism in Evas that throw out original image data)]]
205
206 render_pre, [[Called just before rendering starts on the canvas target @since 1.2]]
207 render_post, [[Called just after rendering stops on the canvas target @since 1.2]]
208
209 image_resize, [[Image size is changed @since 1.8]]
210 device_changed, [[Devices added, removed or changed on canvas @since 1.8]]
211
212 axis_update, [[Input device changed value on some axis @since 1.13]]
213 last [[kept as last element/sentinel -- not really an event]]
214}
215
216struct Evas.Modifier; [[An opaque type containing information on which modifier keys are registered in an Evas canvas]]
217struct Evas.Lock; [[An opaque type containing information on which lock keys are registered in an Evas canvas]]
218struct Evas.Engine_Info; [[A generic Evas Engine information structure]]
219struct Evas.Axis; [[Details for a single device axis state @since 1.13]]