1 #ifndef _ELM_SCROLLER_EO_LEGACY_H_ 2 #define _ELM_SCROLLER_EO_LEGACY_H_ 3 4 #ifndef _ELM_SCROLLER_EO_CLASS_TYPE 5 #define _ELM_SCROLLER_EO_CLASS_TYPE 6 7 typedef Eo Elm_Scroller; 8 9 #endif 10 11 #ifndef _ELM_SCROLLER_EO_TYPES 12 #define _ELM_SCROLLER_EO_TYPES 13 14 15 #endif 16 17 /** 18 * @brief Set custom theme elements for the scroller 19 * 20 * @param[in] obj The object. 21 * @param[in] klass Klass name 22 * @param[in] group Group name 23 * 24 * @ingroup Elm_Scroller_Group 25 */ 26 EAPI void elm_scroller_custom_widget_base_theme_set(Elm_Scroller *obj, const char *klass, const char *group); 27 28 /** 29 * @brief Set the maximum of the movable page at a flicking. 30 * 31 * The value of maximum movable page should be more than 1. 32 * 33 * @param[in] obj The object. 34 * @param[in] page_limit_h The maximum of the movable horizontal page 35 * @param[in] page_limit_v The maximum of the movable vertical page 36 * 37 * @since 1.8 38 * 39 * @ingroup Elm_Scroller_Group 40 */ 41 EAPI void elm_scroller_page_scroll_limit_set(const Elm_Scroller *obj, int page_limit_h, int page_limit_v); 42 43 /** 44 * @brief Get the maximum of the movable page at a flicking. 45 * 46 * @param[in] obj The object. 47 * @param[in] page_limit_h The maximum of the movable horizontal page 48 * @param[in] page_limit_v The maximum of the movable vertical page 49 * 50 * @since 1.8 51 * 52 * @ingroup Elm_Scroller_Group 53 */ 54 EAPI void elm_scroller_page_scroll_limit_get(const Elm_Scroller *obj, int *page_limit_h, int *page_limit_v); 55 56 #endif 57