Searched refs:sw_area (Results 1 – 2 of 2) sorted by relevance
19 lv_area_t sw_area; in draw_event_cb() local20 sw_area.x1 = dsc->draw_area->x2 - 50; in draw_event_cb()21 sw_area.x2 = sw_area.x1 + 40; in draw_event_cb()22 sw_area.y1 = dsc->draw_area->y1 + lv_area_get_height(dsc->draw_area) / 2 - 10; in draw_event_cb()23 sw_area.y2 = sw_area.y1 + 20; in draw_event_cb()24 lv_draw_rect(dsc->draw_ctx, &rect_dsc, &sw_area); in draw_event_cb()28 sw_area.x2 -= 2; in draw_event_cb()29 sw_area.x1 = sw_area.x2 - 16; in draw_event_cb()32 sw_area.x1 += 2; in draw_event_cb()33 sw_area.x2 = sw_area.x1 + 16; in draw_event_cb()[all …]
23 sw_area = lv.area_t()24 sw_area.x1 = dsc.draw_area.x2 - 5025 sw_area.x2 = sw_area.x1 + 4026 sw_area.y1 = dsc.draw_area.y1 + dsc.draw_area.get_height() // 2 - 1027 sw_area.y2 = sw_area.y1 + 2028 dsc.draw_ctx.rect(rect_dsc, sw_area)33 sw_area.x2 -= 234 sw_area.x1 = sw_area.x2 - 1636 sw_area.x1 += 237 sw_area.x2 = sw_area.x1 + 16[all …]