1 /** 2 * @file lv_obj_scroll_private.h 3 * 4 */ 5 6 #ifndef LV_OBJ_SCROLL_PRIVATE_H 7 #define LV_OBJ_SCROLL_PRIVATE_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 #include "lv_obj_scroll.h" 18 19 /********************* 20 * DEFINES 21 *********************/ 22 23 /********************** 24 * TYPEDEFS 25 **********************/ 26 27 /********************** 28 * GLOBAL PROTOTYPES 29 **********************/ 30 31 /** 32 * Low level function to scroll by given x and y coordinates. 33 * `LV_EVENT_SCROLL` is sent. 34 * @param obj pointer to an object to scroll 35 * @param x pixels to scroll horizontally 36 * @param y pixels to scroll vertically 37 * @return `LV_RESULT_INVALID`: to object was deleted in `LV_EVENT_SCROLL`; 38 * `LV_RESULT_OK`: if the object is still valid 39 */ 40 lv_result_t lv_obj_scroll_by_raw(lv_obj_t * obj, int32_t x, int32_t y); 41 42 /********************** 43 * MACROS 44 **********************/ 45 46 #ifdef __cplusplus 47 } /*extern "C"*/ 48 #endif 49 50 #endif /*LV_OBJ_SCROLL_PRIVATE_H*/ 51