summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_pan_eo.legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_pan_eo.legacy.h')
-rw-r--r--src/lib/elementary/elm_pan_eo.legacy.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_pan_eo.legacy.h b/src/lib/elementary/elm_pan_eo.legacy.h
new file mode 100644
index 0000000..857b2e8
--- /dev/null
+++ b/src/lib/elementary/elm_pan_eo.legacy.h
@@ -0,0 +1,72 @@
1#ifndef _ELM_PAN_EO_LEGACY_H_
2#define _ELM_PAN_EO_LEGACY_H_
3
4#ifndef _ELM_PAN_EO_CLASS_TYPE
5#define _ELM_PAN_EO_CLASS_TYPE
6
7typedef Eo Elm_Pan;
8
9#endif
10
11#ifndef _ELM_PAN_EO_TYPES
12#define _ELM_PAN_EO_TYPES
13
14
15#endif
16
17/**
18 * @brief Position
19 *
20 * @param[in] obj The object.
21 * @param[in] x X coordinate
22 * @param[in] y Y coordinate
23 *
24 * @ingroup Elm_Pan_Group
25 */
26EAPI void elm_pan_pos_set(Elm_Pan *obj, int x, int y);
27
28/**
29 * @brief Position
30 *
31 * @param[in] obj The object.
32 * @param[out] x X coordinate
33 * @param[out] y Y coordinate
34 *
35 * @ingroup Elm_Pan_Group
36 */
37EAPI void elm_pan_pos_get(const Elm_Pan *obj, int *x, int *y);
38
39/**
40 * @brief Content size
41 *
42 * @param[in] obj The object.
43 * @param[out] w Width
44 * @param[out] h Height
45 *
46 * @ingroup Elm_Pan_Group
47 */
48EAPI void elm_pan_content_size_get(const Elm_Pan *obj, int *w, int *h);
49
50/**
51 * @brief Minimal position
52 *
53 * @param[in] obj The object.
54 * @param[out] x X coordinate
55 * @param[out] y Y coordinate
56 *
57 * @ingroup Elm_Pan_Group
58 */
59EAPI void elm_pan_pos_min_get(const Elm_Pan *obj, int *x, int *y);
60
61/**
62 * @brief Maximal position
63 *
64 * @param[in] obj The object.
65 * @param[out] x X coordinate
66 * @param[out] y Y coordinate
67 *
68 * @ingroup Elm_Pan_Group
69 */
70EAPI void elm_pan_pos_max_get(const Elm_Pan *obj, int *x, int *y);
71
72#endif