Searched refs:label_area (Results 1 – 2 of 2) sorted by relevance
42 lv_area_t label_area; in slider_event_cb() local43 … label_area.x1 = dsc->draw_area->x1 + lv_area_get_width(dsc->draw_area) / 2 - label_size.x / 2; in slider_event_cb()44 label_area.x2 = label_area.x1 + label_size.x; in slider_event_cb()45 label_area.y2 = dsc->draw_area->y1 - 10; in slider_event_cb()46 label_area.y1 = label_area.y2 - label_size.y; in slider_event_cb()51 lv_draw_label(dsc->draw_ctx, &label_draw_dsc, &label_area, buf, NULL); in slider_event_cb()
18 label_area = lv.area_t()19 label_area.x1 = dsc.draw_area.x1 + dsc.draw_area.get_width() // 2 - label_size.x // 220 label_area.x2 = label_area.x1 + label_size.x21 label_area.y2 = dsc.draw_area.y1 - 1022 label_area.y1 = label_area.y2 - label_size.y27 dsc.draw_ctx.label(label_draw_dsc, label_area, label_text, None)