aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/src/lib/elm_deprecated.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/elementary/src/lib/elm_deprecated.h')
-rw-r--r--libraries/elementary/src/lib/elm_deprecated.h423
1 files changed, 423 insertions, 0 deletions
diff --git a/libraries/elementary/src/lib/elm_deprecated.h b/libraries/elementary/src/lib/elm_deprecated.h
new file mode 100644
index 0000000..49f88c2
--- /dev/null
+++ b/libraries/elementary/src/lib/elm_deprecated.h
@@ -0,0 +1,423 @@
1
2EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
3EINA_DEPRECATED EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
4EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_single_line_get(const Evas_Object *obj);
5EINA_DEPRECATED EAPI void elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
6EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_password_get(const Evas_Object *obj);
7EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
8EINA_DEPRECATED EAPI const char *elm_scrolled_entry_entry_get(const Evas_Object *obj);
9EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry);
10EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_is_empty(const Evas_Object *obj);
11EINA_DEPRECATED EAPI const char *elm_scrolled_entry_selection_get(const Evas_Object *obj);
12EINA_DEPRECATED EAPI void elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
13EINA_DEPRECATED EAPI void elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap);
14EINA_DEPRECATED EAPI void elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
15EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_editable_get(const Evas_Object *obj);
16EINA_DEPRECATED EAPI void elm_scrolled_entry_select_none(Evas_Object *obj);
17EINA_DEPRECATED EAPI void elm_scrolled_entry_select_all(Evas_Object *obj);
18EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_next(Evas_Object *obj);
19EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_prev(Evas_Object *obj);
20EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_up(Evas_Object *obj);
21EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_down(Evas_Object *obj);
22EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
23EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
24EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
25EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
26EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
27EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
28EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
29EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
30EINA_DEPRECATED EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
31EINA_DEPRECATED EAPI void elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos);
32EINA_DEPRECATED EAPI int elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj);
33EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj);
34EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj);
35EINA_DEPRECATED EAPI void elm_scrolled_entry_selection_paste(Evas_Object *obj);
36EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
37EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
38EINA_DEPRECATED EAPI void elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
39EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
40EINA_DEPRECATED EAPI void elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
41EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
42EINA_DEPRECATED EAPI void elm_scrolled_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
43EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
44EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj);
45EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj);
46EINA_DEPRECATED EAPI void elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
47EINA_DEPRECATED EAPI void elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end);
48EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj);
49EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj);
50EINA_DEPRECATED EAPI void elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
51EINA_DEPRECATED EAPI void elm_scrolled_entry_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
52EINA_DEPRECATED EAPI void elm_scrolled_entry_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
53EINA_DEPRECATED EAPI void elm_scrolled_entry_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data);
54EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_append(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
55EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_prepend(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
56EINA_DEPRECATED EAPI void elm_scrolled_entry_text_filter_remove(Evas_Object *obj, void (*func)(void *data, Evas_Object *entry, char **text), void *data);
57EINA_DEPRECATED EAPI void elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
58EINA_DEPRECATED EAPI void elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format);
59EINA_DEPRECATED EAPI void elm_scrolled_entry_file_save(Evas_Object *obj);
60EINA_DEPRECATED EAPI void elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave);
61EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_autosave_get(const Evas_Object *obj);
62EINA_DEPRECATED EAPI void elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly);
63EINA_DEPRECATED EAPI Eina_Bool elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj);
64
65/**
66 * Convert a pixel coordinate (x,y) into a geographic coordinate
67 * (longitude, latitude).
68 *
69 * @param obj The map object.
70 * @param x the coordinate.
71 * @param y the coordinate.
72 * @param size the size in pixels of the map.
73 * The map is a square and generally his size is : pow(2.0, zoom)*256.
74 * @param lon Pointer to store the longitude that correspond to x.
75 * @param lat Pointer to store the latitude that correspond to y.
76 *
77 * @note Origin pixel point is the top left corner of the viewport.
78 * Map zoom and size are taken on account.
79 *
80 * @see elm_map_utils_convert_geo_into_coord() if you need the inverse.
81 *
82 * @deprecated Use elm_map_canvas_to_geo_convert() instead
83 */
84EINA_DEPRECATED EAPI void elm_map_utils_convert_coord_into_geo(const Evas_Object *obj, int x, int y, int size, double *lon, double *lat);
85
86/**
87 * Convert a geographic coordinate (longitude, latitude) into a pixel
88 * coordinate (x, y).
89 *
90 * @param obj The map object.
91 * @param lon the longitude.
92 * @param lat the latitude.
93 * @param size the size in pixels of the map. The map is a square
94 * and generally his size is : pow(2.0, zoom)*256.
95 * @param x Pointer to store the horizontal pixel coordinate that
96 * correspond to the longitude.
97 * @param y Pointer to store the vertical pixel coordinate that
98 * correspond to the latitude.
99 *
100 * @note Origin pixel point is the top left corner of the viewport.
101 * Map zoom and size are taken on account.
102 *
103 * @see elm_map_utils_convert_coord_into_geo() if you need the inverse.
104 *
105 * @deprecatedUse Use elm_map_canvas_to_geo_convert() instead
106 */
107EINA_DEPRECATED EAPI void elm_map_utils_convert_geo_into_coord(const Evas_Object *obj, double lon, double lat, int size, int *x, int *y);
108
109/**
110 * Get the information of downloading status.
111 *
112 * @param obj The map object.
113 * @param try_num Pointer to store number of tiles being downloaded.
114 * @param finish_num Pointer to store number of tiles successfully
115 * downloaded.
116 *
117 * This gets the current downloading status for the map object, the number
118 * of tiles being downloaded and the number of tiles already downloaded.
119 *
120 * @deprecatedUse Use elm_map_tile_load_status_get() instead
121 */
122EINA_DEPRECATED EAPI void elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num);
123
124/**
125 * Convert a geographic coordinate (longitude, latitude) into a name
126 * (address).
127 *
128 * @param obj The map object.
129 * @param lon the longitude.
130 * @param lat the latitude.
131 * @return name A #Elm_Map_Name handle for this coordinate.
132 *
133 * To get the string for this address, elm_map_name_address_get()
134 * should be used.
135 *
136 * @see elm_map_utils_convert_name_into_coord() if you need the inverse.
137 * @deprecatedUse Use elm_map_name_add() instead
138 *
139 */
140EINA_DEPRECATED EAPI Elm_Map_Name *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat);
141
142/**
143 * Convert a name (address) into a geographic coordinate
144 * (longitude, latitude).
145 *
146 * @param obj The map object.
147 * @param address The address.
148 * @return name A #Elm_Map_Name handle for this address.
149 *
150 * To get the longitude and latitude, elm_map_name_region_get()
151 * should be used.
152 *
153 * @see elm_map_utils_convert_coord_into_name() if you need the inverse.
154 * @deprecatedUse Use elm_map_name_geo_request() instead
155 *
156 */
157EINA_DEPRECATED EAPI Elm_Map_Name *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address);
158
159/**
160 * Add a new marker to the map object.
161 *
162 * @param obj The map object.
163 * @param lon The longitude of the marker.
164 * @param lat The latitude of the marker.
165 * @param clas The class, to use when marker @b isn't grouped to others.
166 * @param clas_group The class group, to use when marker is grouped to others
167 * @param data The data passed to the callbacks.
168 *
169 * @return The created marker or @c NULL upon failure.
170 *
171 * A marker will be created and shown in a specific point of the map, defined
172 * by @p lon and @p lat.
173 *
174 * It will be displayed using style defined by @p class when this marker
175 * is displayed alone (not grouped). A new class can be created with
176 * elm_map_marker_class_new().
177 *
178 * If the marker is grouped to other markers, it will be displayed with
179 * style defined by @p class_group. Markers with the same group are grouped
180 * if they are close. A new group class can be created with
181 * elm_map_marker_group_class_new().
182 *
183 * Markers created with this method can be deleted with
184 * elm_map_marker_remove().
185 *
186 * A marker can have associated content to be displayed by a bubble,
187 * when a user click over it, as well as an icon. These objects will
188 * be fetch using class' callback functions.
189 *
190 * @see elm_map_marker_class_new()
191 * @see elm_map_marker_group_class_new()
192 * @see elm_map_marker_remove()
193 *
194 * @deprecated Use Elm_Map_Overlay instead
195 */
196EINA_DEPRECATED EAPI Elm_Map_Marker *elm_map_marker_add(Evas_Object *obj, double lon, double lat, Elm_Map_Marker_Class *clas, Elm_Map_Group_Class *clas_group, void *data);
197
198/**
199 * Remove a marker from the map.
200 *
201 * @param marker The marker to remove.
202 *
203 * @see elm_map_marker_add()
204 *
205 * @deprecated Use Elm_Map_Overlay instead
206 */
207EINA_DEPRECATED EAPI void elm_map_marker_remove(Elm_Map_Marker *marker);
208
209/**
210 * Get the current coordinates of the marker.
211 *
212 * @param marker marker.
213 * @param lat Pointer to store the marker's latitude.
214 * @param lon Pointer to store the marker's longitude.
215 *
216 * These values are set when adding markers, with function
217 * elm_map_marker_add().
218 *
219 * @see elm_map_marker_add()
220 *
221 * @deprecated Use Elm_Map_Overlay instead
222 */
223EINA_DEPRECATED EAPI void elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat);
224
225/**
226 * Animatedly bring in given marker to the center of the map.
227 *
228 * @param marker The marker to center at.
229 *
230 * This causes map to jump to the given @p marker's coordinates
231 * and show it (by scrolling) in the center of the viewport, if it is not
232 * already centered. This will use animation to do so and take a period
233 * of time to complete.
234 *
235 * @see elm_map_marker_show() for a function to avoid animation.
236 * @see elm_map_marker_region_get()
237 *
238 * @deprecated Use Elm_Map_Overlay instead
239 */
240EINA_DEPRECATED EAPI void elm_map_marker_bring_in(Elm_Map_Marker *marker);
241
242/**
243 * Show the given marker at the center of the map, @b immediately.
244 *
245 * @param marker The marker to center at.
246 *
247 * This causes map to @b redraw its viewport's contents to the
248 * region containing the given @p marker's coordinates, that will be
249 * moved to the center of the map.
250 *
251 * @see elm_map_marker_bring_in() for a function to move with animation.
252 * @see elm_map_markers_list_show() if more than one marker need to be
253 * displayed.
254 * @see elm_map_marker_region_get()
255 *
256 * @deprecated Use Elm_Map_Overlay instead
257 */
258EINA_DEPRECATED EAPI void elm_map_marker_show(Elm_Map_Marker *marker);
259
260/**
261 * Move and zoom the map to display a list of markers.
262 *
263 * @param markers A list of #Elm_Map_Marker handles.
264 *
265 * The map will be centered on the center point of the markers in the list.
266 * Then the map will be zoomed in order to fit the markers using the maximum
267 * zoom which allows display of all the markers.
268 *
269 * @warning All the markers should belong to the same map object.
270 *
271 * @see elm_map_marker_show() to show a single marker.
272 * @see elm_map_marker_bring_in()
273 *
274 * @deprecated Use Elm_Map_Overlay instead
275 */
276EINA_DEPRECATED EAPI void elm_map_markers_list_show(Eina_List *markers);
277
278/**
279 * Get the Evas object returned by the Elm_Map_Marker_Get_Func callback
280 *
281 * @param marker The marker which content should be returned.
282 * @return Return the evas object if it exists, else @c NULL.
283 *
284 * To set callback function #Elm_Map_Marker_Get_Func for the marker class,
285 * elm_map_marker_class_get_cb_set() should be used.
286 *
287 * This content is what will be inside the bubble that will be displayed
288 * when an user clicks over the marker.
289 *
290 * This returns the actual Evas object used to be placed inside
291 * the bubble. This may be @c NULL, as it may
292 * not have been created or may have been deleted, at any time, by
293 * the map. <b>Do not modify this object</b> (move, resize,
294 * show, hide, etc.), as the map is controlling it. This
295 * function is for querying, emitting custom signals or hooking
296 * lower level callbacks for events on that object. Do not delete
297 * this object under any circumstances.
298 *
299 * @deprecated Use Elm_Map_Overlay instead
300 */
301EINA_DEPRECATED EAPI Evas_Object *elm_map_marker_object_get(const Elm_Map_Marker *marker);
302
303/**
304 * Update the marker
305 *
306 * @param marker The marker to be updated.
307 *
308 * If a content is set to this marker, it will call function to delete it,
309 * #Elm_Map_Marker_Del_Func, and then will fetch the content again with
310 * #Elm_Map_Marker_Get_Func.
311 *
312 * These functions are set for the marker class with
313 * elm_map_marker_class_get_cb_set() and elm_map_marker_class_del_cb_set().
314 *
315 * @deprecated Use Elm_Map_Overlay instead
316 */
317EINA_DEPRECATED EAPI void elm_map_marker_update(Elm_Map_Marker *marker);
318
319/**
320 * Create a new group class.
321 *
322 * @param obj The map object.
323 * @return Returns the new group class.
324 *
325 * Each marker must be associated to a group class. Markers in the same
326 * group are grouped if they are close.
327 *
328 * The group class defines the style of the marker when a marker is grouped
329 * to others markers. When it is alone, another class will be used.
330 *
331 * A group class will need to be provided when creating a marker with
332 * elm_map_marker_add().
333 *
334 * Some properties and functions can be set by class, as:
335 * - style, with elm_map_group_class_style_set()
336 * - data - to be associated to the group class. It can be set using
337 * elm_map_group_class_data_set().
338 * - min zoom to display markers, set with
339 * elm_map_group_class_zoom_displayed_set().
340 * - max zoom to group markers, set using
341 * elm_map_group_class_zoom_grouped_set().
342 * - visibility - set if markers will be visible or not, set with
343 * elm_map_group_class_hide_set().
344 * - #Elm_Map_Group_Icon_Get_Func - used to fetch icon for markers group classes.
345 * It can be set using elm_map_group_class_icon_cb_set().
346 *
347 * @see elm_map_marker_add()
348 * @see elm_map_group_class_style_set()
349 * @see elm_map_group_class_data_set()
350 * @see elm_map_group_class_zoom_displayed_set()
351 * @see elm_map_group_class_zoom_grouped_set()
352 * @see elm_map_group_class_hide_set()
353 * @see elm_map_group_class_icon_cb_set()
354 *
355 * @deprecated Use Elm_Map_Overlay instead
356 */
357EINA_DEPRECATED EAPI Elm_Map_Group_Class *elm_map_group_class_new(Evas_Object *obj);
358
359/**
360 * Create a new marker class.
361 *
362 * @param obj The map object.
363 * @return Returns the new group class.
364 *
365 * Each marker must be associated to a class.
366 *
367 * The marker class defines the style of the marker when a marker is
368 * displayed alone, i.e., not grouped to to others markers. When grouped
369 * it will use group class style.
370 *
371 * A marker class will need to be provided when creating a marker with
372 * elm_map_marker_add().
373 *
374 * Some properties and functions can be set by class, as:
375 * - style, with elm_map_marker_class_style_set()
376 * - #Elm_Map_Marker_Icon_Get_Func - used to fetch icon for markers classes.
377 * It can be set using elm_map_marker_class_icon_cb_set().
378 * - #Elm_Map_Marker_Get_Func - used to fetch bubble content for marker classes.
379 * Set using elm_map_marker_class_get_cb_set().
380 * - #Elm_Map_Marker_Del_Func - used to delete bubble content for marker classes.
381 * Set using elm_map_marker_class_del_cb_set().
382 *
383 * @see elm_map_marker_add()
384 * @see elm_map_marker_class_style_set()
385 * @see elm_map_marker_class_icon_cb_set()
386 * @see elm_map_marker_class_get_cb_set()
387 * @see elm_map_marker_class_del_cb_set()
388 *
389 * @deprecated Use Elm_Map_Overlay instead
390 */
391EINA_DEPRECATED EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj);
392
393/**
394 * Remove a route from the map.
395 *
396 * @param route The route to remove.
397 *
398 * @see elm_map_route_add()
399 * @deprecated Use elm_map_route_del() instead
400 *
401 */
402EINA_DEPRECATED EAPI void elm_map_route_remove(Elm_Map_Route *route);
403
404/**
405 * @deprecated Use elm_object_item_data_get instead.
406 */
407EINA_DEPRECATED EAPI void * elm_multibuttonentry_item_data_get(const Elm_Object_Item *it);
408
409/**
410 * @deprecated Use elm_object_item_data_set instead.
411 */
412EINA_DEPRECATED EAPI void elm_multibuttonentry_item_data_set(Elm_Object_Item *it, void *data);
413
414/**
415 * @deprecated Use elm_calendar_select_mode_set instead.
416 */
417EINA_DEPRECATED EAPI void elm_calendar_day_selection_disabled_set(Evas_Object *obj, Eina_Bool disabled);
418
419/**
420 * @deprecated Use elm_calendar_select_mode_get instead.
421 */
422EINA_DEPRECATED EAPI Eina_Bool elm_calendar_day_selection_disabled_get(const Evas_Object *obj);
423