aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/src/lib/elm_route.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/elementary/src/lib/elm_route.h')
-rw-r--r--libraries/elementary/src/lib/elm_route.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/libraries/elementary/src/lib/elm_route.h b/libraries/elementary/src/lib/elm_route.h
new file mode 100644
index 0000000..5f5f446
--- /dev/null
+++ b/libraries/elementary/src/lib/elm_route.h
@@ -0,0 +1,54 @@
1/**
2 * @defgroup Route Route
3 * @ingroup Elementary
4 *
5 * For displaying a route on the map widget.
6 *
7 * @{
8 */
9
10/**
11 * Add a new route object to the parent's canvas
12 *
13 * @param parent The parent object
14 * @return The new object or NULL if it cannot be created
15 *
16 * @ingroup Route
17 */
18EAPI Evas_Object *elm_route_add(Evas_Object *parent);
19
20#ifdef ELM_EMAP
21EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
22#endif
23
24/**
25 * Get the minimum and maximum values along the longitude.
26 *
27 * @param obj The route object.
28 * @param min Pointer to store the minimum value.
29 * @param max Pointer to store the maximum value.
30 *
31 * @note If only one value is needed, the other pointer can be passed
32 * as @c NULL.
33 *
34 * @ingroup Route
35 */
36EAPI void elm_route_longitude_min_max_get(const Evas_Object *obj, double *min, double *max);
37
38/**
39 * Get the minimum and maximum values along the latitude.
40 *
41 * @param obj The route object.
42 * @param min Pointer to store the minimum value.
43 * @param max Pointer to store the maximum value.
44 *
45 * @note If only one value is needed, the other pointer can be passed
46 * as @c NULL.
47 *
48 * @ingroup Route
49 */
50EAPI void elm_route_latitude_min_max_get(const Evas_Object *obj, double *min, double *max);
51
52/**
53 * @}
54 */