/* Check if a point is on an area  */
bool lv_area_is_point_on(const lv_area_t *a_p, const lv_point_t *p_p)
/* Check if a point is on an area  */
bool lv_area_is_point_on(const lv_area_t *a_p, const lv_point_t *p_p)
{
    bool is_on = false;
    if((p_p->x >= a_p->x1 && p_p->x <= a_p->x2) &&
            ((p_p->y >= a_p->y1 && p_p->y <= a_p->y2))) {
        is_on = true;
    }
    return is_on;
}