Home
last modified time | relevance | path

Searched refs:marker_area (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/src/widgets/checkbox/
Dlv_checkbox.c242 lv_area_t marker_area; in lv_checkbox_draw() local
244 marker_area.x2 = obj->coords.x2 - bg_p; in lv_checkbox_draw()
245 marker_area.x1 = marker_area.x2 - font_h - marker_leftp - marker_rightp + 1; in lv_checkbox_draw()
248 marker_area.x1 = obj->coords.x1 + bg_p; in lv_checkbox_draw()
249 marker_area.x2 = marker_area.x1 + font_h + marker_leftp + marker_rightp - 1; in lv_checkbox_draw()
251 marker_area.y1 = obj->coords.y1 + bg_topp; in lv_checkbox_draw()
252 marker_area.y2 = marker_area.y1 + font_h + marker_topp + marker_bottomp - 1; in lv_checkbox_draw()
255 lv_area_copy(&marker_area_transf, &marker_area); in lv_checkbox_draw()
272 int32_t y_ofs = (lv_area_get_height(&marker_area) - font_h) / 2; in lv_checkbox_draw()
275 txt_area.x2 = marker_area.x1 - bg_colp; in lv_checkbox_draw()
[all …]