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 7 typedef 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 */ 26 EAPI 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 */ 37 EAPI 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 */ 48 EAPI 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 */ 59 EAPI 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 */ 70 EAPI void elm_pan_pos_max_get(const Elm_Pan *obj, int *x, int *y); 71 72 #endif 73