22#define LV_NO_TASK_READY LV_NO_TIMER_READY
23#define LV_INDEV_STATE_REL LV_INDEV_STATE_RELEASED
24#define LV_INDEV_STATE_PR LV_INDEV_STATE_PRESSED
25#define LV_OBJ_FLAG_SNAPABLE LV_OBJ_FLAG_SNAPPABLE
35static inline LV_ATTRIBUTE_TIMER_HANDLER uint32_t lv_task_handler(
void)
37 return lv_timer_handler();
55static inline void lv_obj_move_foreground(
lv_obj_t * obj)
57 lv_obj_t * parent = lv_obj_get_parent(obj);
58 lv_obj_move_to_index(obj, lv_obj_get_child_cnt(parent) - 1);
67static inline void lv_obj_move_background(
lv_obj_t * obj)
69 lv_obj_move_to_index(obj, 0);
78static inline uint32_t lv_obj_get_child_id(
const struct _lv_obj_t * obj)
80 LV_LOG_WARN(
"lv_obj_get_child_id(obj) is deprecated, please use lv_obj_get_index(obj).");
81 return lv_obj_get_index(obj);