/lvgl-3.4.0/src/widgets/ |
D | lv_canvas.h | 66 void lv_canvas_set_buffer(lv_obj_t * canvas, void * buf, lv_coord_t w, lv_coord_t h, lv_img_cf_t cf… 141 …_canvas_copy_buf(lv_obj_t * canvas, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coord_t w, 196 void lv_canvas_draw_rect(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h, 258 #define LV_CANVAS_BUF_SIZE_TRUE_COLOR(w, h) LV_IMG_BUF_SIZE_TRUE_COLOR(w, h) argument 259 #define LV_CANVAS_BUF_SIZE_TRUE_COLOR_CHROMA_KEYED(w, h) LV_IMG_BUF_SIZE_TRUE_COLOR_CHROMA_KEYED(w,… argument 260 #define LV_CANVAS_BUF_SIZE_TRUE_COLOR_ALPHA(w, h) LV_IMG_BUF_SIZE_TRUE_COLOR_ALPHA(w, h) argument 263 #define LV_CANVAS_BUF_SIZE_ALPHA_1BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_1BIT(w, h) argument 264 #define LV_CANVAS_BUF_SIZE_ALPHA_2BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_2BIT(w, h) argument 265 #define LV_CANVAS_BUF_SIZE_ALPHA_4BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_4BIT(w, h) argument 266 #define LV_CANVAS_BUF_SIZE_ALPHA_8BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_8BIT(w, h) argument [all …]
|
D | lv_img.c | 143 header.w = size.x; in lv_img_set_src() 148 img->w = header.w; in lv_img_set_src() 151 img->pivot.x = header.w / 2; in lv_img_set_src() 168 x = x % img->w; in lv_img_set_offset_x() 199 lv_coord_t w = lv_obj_get_width(obj); in lv_img_set_angle() local 202 _lv_img_buf_get_transformed_area(&a, w, h, transf_angle + img->angle, transf_zoom, &img->pivot); in lv_img_set_angle() 212 _lv_img_buf_get_transformed_area(&a, w, h, transf_angle + img->angle, transf_zoom, &img->pivot); in lv_img_set_angle() 232 lv_coord_t w = lv_obj_get_width(obj); in lv_img_set_pivot() local 235 _lv_img_buf_get_transformed_area(&a, w, h, transf_angle, transf_zoom, &img->pivot); in lv_img_set_pivot() 246 _lv_img_buf_get_transformed_area(&a, w, h, transf_angle, transf_zoom, &img->pivot); in lv_img_set_pivot() [all …]
|
D | lv_canvas.c | 66 void lv_canvas_set_buffer(lv_obj_t * obj, void * buf, lv_coord_t w, lv_coord_t h, lv_img_cf_t cf) in lv_canvas_set_buffer() argument 74 canvas->dsc.header.w = w; in lv_canvas_set_buffer() 137 …y_buf(lv_obj_t * obj, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h) in lv_canvas_copy_buf() argument 144 …if(x + w - 1 >= (lv_coord_t)canvas->dsc.header.w || y + h - 1 >= (lv_coord_t)canvas->dsc.header.h)… in lv_canvas_copy_buf() 150 uint32_t px = canvas->dsc.header.w * y * px_size + x * px_size; in lv_canvas_copy_buf() 154 lv_memcpy((void *)&canvas->dsc.data[px], to_copy8, w * px_size); in lv_canvas_copy_buf() 155 px += canvas->dsc.header.w * px_size; in lv_canvas_copy_buf() 156 to_copy8 += w * px_size; in lv_canvas_copy_buf() 171 int32_t dest_width = canvas->dsc.header.w; in lv_canvas_transform() 182 dsc.cfg.src_w = img->header.w; in lv_canvas_transform() [all …]
|
/lvgl-3.4.0/src/draw/ |
D | lv_img_buf.h | 32 #define LV_IMG_BUF_SIZE_TRUE_COLOR(w, h) ((LV_COLOR_SIZE / 8) * w * h) argument 33 #define LV_IMG_BUF_SIZE_TRUE_COLOR_CHROMA_KEYED(w, h) ((LV_COLOR_SIZE / 8) * w * h) argument 34 #define LV_IMG_BUF_SIZE_TRUE_COLOR_ALPHA(w, h) (LV_IMG_PX_SIZE_ALPHA_BYTE * w * h) argument 37 #define LV_IMG_BUF_SIZE_ALPHA_1BIT(w, h) ((((w / 8) + 1) * h)) argument 38 #define LV_IMG_BUF_SIZE_ALPHA_2BIT(w, h) ((((w / 4) + 1) * h)) argument 39 #define LV_IMG_BUF_SIZE_ALPHA_4BIT(w, h) ((((w / 2) + 1) * h)) argument 40 #define LV_IMG_BUF_SIZE_ALPHA_8BIT(w, h) ((w * h)) argument 43 #define LV_IMG_BUF_SIZE_INDEXED_1BIT(w, h) (LV_IMG_BUF_SIZE_ALPHA_1BIT(w, h) + 4 * 2) argument 44 #define LV_IMG_BUF_SIZE_INDEXED_2BIT(w, h) (LV_IMG_BUF_SIZE_ALPHA_2BIT(w, h) + 4 * 4) argument 45 #define LV_IMG_BUF_SIZE_INDEXED_4BIT(w, h) (LV_IMG_BUF_SIZE_ALPHA_4BIT(w, h) + 4 * 16) argument [all …]
|
D | lv_img_decoder.c | 282 header->w = ((lv_img_dsc_t *)src)->header.w; in lv_img_decoder_built_in_info() 307 header->w = 1; in lv_img_decoder_built_in_info() 518 uint32_t pos = ((y * dsc->header.w + x) * px_size) >> 3; in lv_img_decoder_built_in_line_true_color() 566 lv_coord_t w = 0; in lv_img_decoder_built_in_line_alpha() local 571 w = (dsc->header.w + 7) >> 3; /*E.g. w = 20 -> w = 2 + 1*/ in lv_img_decoder_built_in_line_alpha() 572 ofs += w * y + (x >> 3); /*First pixel*/ in lv_img_decoder_built_in_line_alpha() 577 w = (dsc->header.w + 3) >> 2; /*E.g. w = 13 -> w = 3 + 1 (bytes)*/ in lv_img_decoder_built_in_line_alpha() 578 ofs += w * y + (x >> 2); /*First pixel*/ in lv_img_decoder_built_in_line_alpha() 583 w = (dsc->header.w + 1) >> 1; /*E.g. w = 13 -> w = 6 + 1 (bytes)*/ in lv_img_decoder_built_in_line_alpha() 584 ofs += w * y + (x >> 1); /*First pixel*/ in lv_img_decoder_built_in_line_alpha() [all …]
|
D | lv_img_buf.c | 59 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_get_px_color() 73 uint32_t px = ((dsc->header.w + 7) >> 3) * y + x; in lv_img_buf_get_px_color() 84 uint32_t px = ((dsc->header.w + 3) >> 2) * y + x; in lv_img_buf_get_px_color() 95 uint32_t px = ((dsc->header.w + 1) >> 1) * y + x; in lv_img_buf_get_px_color() 100 uint32_t px = dsc->header.w * y + x; in lv_img_buf_get_px_color() 123 uint32_t px = dsc->header.w * y * LV_IMG_PX_SIZE_ALPHA_BYTE + x * LV_IMG_PX_SIZE_ALPHA_BYTE; in lv_img_buf_get_px_alpha() 133 uint32_t px = ((dsc->header.w + 7) >> 3) * y + x; in lv_img_buf_get_px_alpha() 146 uint32_t px = ((dsc->header.w + 3) >> 2) * y + x; in lv_img_buf_get_px_alpha() 161 uint32_t px = ((dsc->header.w + 1) >> 1) * y + x; in lv_img_buf_get_px_alpha() 166 uint32_t px = dsc->header.w * y + x; in lv_img_buf_get_px_alpha() [all …]
|
/lvgl-3.4.0/src/draw/sdl/ |
D | lv_draw_sdl_mask.c | 48 lv_coord_t w = lv_area_get_width(coords), h = lv_area_get_height(coords); in lv_draw_sdl_mask_dump_opa() local 49 lv_opa_t * mask_buf = lv_mem_buf_get(w * h); in lv_draw_sdl_mask_dump_opa() 51 lv_opa_t * line_buf = &mask_buf[y * w]; in lv_draw_sdl_mask_dump_opa() 52 lv_memset_ff(line_buf, w); in lv_draw_sdl_mask_dump_opa() 53 …oord_t abs_x = (lv_coord_t) coords->x1, abs_y = (lv_coord_t)(y + coords->y1), len = (lv_coord_t) w; in lv_draw_sdl_mask_dump_opa() 62 lv_memset_00(line_buf, w); in lv_draw_sdl_mask_dump_opa() 71 lv_coord_t w = lv_area_get_width(coords), h = lv_area_get_height(coords); in lv_draw_sdl_mask_dump_texture() local 73 SDL_Surface * surface = lv_sdl_create_opa_surface(mask_buf, w, h, w); in lv_draw_sdl_mask_dump_texture()
|
D | lv_draw_sdl_polygon.c | 79 lv_coord_t w = lv_area_get_width(&draw_area), h = lv_area_get_height(&draw_area); in lv_draw_sdl_polygon() local 80 …exture = lv_draw_sdl_composite_texture_obtain(ctx, LV_DRAW_SDL_COMPOSITE_TEXTURE_ID_STREAM1, w, h); in lv_draw_sdl_polygon() 87 SDL_Rect srcrect = {0, 0, w, h}, dstrect; in lv_draw_sdl_polygon() 102 lv_coord_t w = lv_area_get_width(coords), h = lv_area_get_height(coords); in dump_masks() local 103 SDL_assert(w > 0 && h > 0); in dump_masks() 104 SDL_Rect rect = {0, 0, w, h}; in dump_masks() 109 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks() 111 lv_memset_ff(line_buf, rect.w); in dump_masks() 112 …t abs_x = (lv_coord_t) coords->x1, abs_y = (lv_coord_t)(y + coords->y1), len = (lv_coord_t) rect.w; in dump_masks() 116 lv_memset_00(&pixels[y * pitch], 4 * rect.w); in dump_masks() [all …]
|
D | lv_draw_sdl_stack_blur.c | 25 stack_blur_job(lv_opa_t * src, unsigned int w, unsigned int h, unsigned int radius, int cores, int … 81 void lv_stack_blur_grayscale(lv_opa_t * buf, uint16_t w, uint16_t h, uint16_t r) in lv_stack_blur_grayscale() argument 83 stack_blur_job(buf, w, h, r, 1, 0, 1); in lv_stack_blur_grayscale() 84 stack_blur_job(buf, w, h, r, 1, 0, 2); in lv_stack_blur_grayscale() 91 static void stack_blur_job(lv_opa_t * src, unsigned int w, unsigned int h, unsigned int radius, int… in stack_blur_job() argument 111 unsigned int wm = w - 1; in stack_blur_job() 113 unsigned int stride = w; in stack_blur_job() 150 src_ptr = src + (xp + y * w); // img.pix_ptr(xp, y); in stack_blur_job() 152 for(x = 0; x < w; x++) { in stack_blur_job() 187 unsigned int minX = core * w / cores; in stack_blur_job() [all …]
|
D | lv_draw_sdl_img.c | 37 lv_coord_t w, h, radius; member 74 … const lv_draw_sdl_img_header_t * header, int w, int h, lv_coord_t radius); 76 static lv_draw_img_rounded_key_t rounded_key_create(const SDL_Texture * texture, lv_coord_t w, lv_c… 152 double x = 0, y = 0, w, h; in calc_draw_part() local 157 w = tw; in calc_draw_part() 163 w = header->rect.w; in calc_draw_part() 175 clipped_src->x = (int)(x + (clipped_dst->x - coords->x1) * w / coords_w); in calc_draw_part() 177 clipped_src->w = (int)(w - (coords_w - clipped_dst->w) * w / coords_w); in calc_draw_part() 231 int w = (int) dsc->header.w; in upload_img_texture() local 240 …SDL_Surface * surface = SDL_CreateRGBSurfaceFrom(data, w, h, LV_COLOR_DEPTH, w * LV_COLOR_DEPTH / … in upload_img_texture() [all …]
|
D | lv_draw_sdl_arc.c | 106 lv_coord_t w = lv_area_get_width(&draw_area), h = lv_area_get_height(&draw_area); in lv_draw_sdl_draw_arc() local 107 …exture = lv_draw_sdl_composite_texture_obtain(ctx, LV_DRAW_SDL_COMPOSITE_TEXTURE_ID_STREAM1, w, h); in lv_draw_sdl_draw_arc() 131 SDL_Rect srcrect = {0, 0, w, h}, dstrect; in lv_draw_sdl_draw_arc() 147 lv_coord_t w = lv_area_get_width(coords), h = lv_area_get_height(coords); in dump_masks() local 148 SDL_assert(w > 0 && h > 0); in dump_masks() 149 SDL_Rect rect = {0, 0, w, h}; in dump_masks() 154 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks() 156 lv_memset_ff(line_buf, rect.w); in dump_masks() 157 …t abs_x = (lv_coord_t) coords->x1, abs_y = (lv_coord_t)(y + coords->y1), len = (lv_coord_t) rect.w; in dump_masks() 161 lv_memset_00(&pixels[y * pitch], 4 * rect.w); in dump_masks() [all …]
|
D | lv_draw_sdl_composite.c | 89 lv_coord_t w = lv_area_get_width(apply_area), h = lv_area_get_height(apply_area); in lv_draw_sdl_composite_begin() local 90 …sition = lv_draw_sdl_composite_texture_obtain(ctx, LV_DRAW_SDL_COMPOSITE_TEXTURE_ID_TARGET0, w, h); in lv_draw_sdl_composite_begin() 100 …->mask = lv_draw_sdl_composite_texture_obtain(ctx, LV_DRAW_SDL_COMPOSITE_TEXTURE_ID_STREAM0, w, h); in lv_draw_sdl_composite_begin() 180 lv_coord_t w, lv_coord_t h) in lv_draw_sdl_composite_texture_obtain() argument 186 if(!result || tex_size->x < w || tex_size->y < h) { in lv_draw_sdl_composite_texture_obtain() 187 lv_coord_t size = next_pow_of_2(LV_MAX(w, h)); in lv_draw_sdl_composite_texture_obtain() 225 lv_coord_t w = lv_area_get_width(coords), h = lv_area_get_height(coords); in dump_masks() local 226 SDL_assert(w > 0 && h > 0); in dump_masks() 227 SDL_Rect rect = {0, 0, w, h}; in dump_masks() 232 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks() [all …]
|
/lvgl-3.4.0/src/extra/libs/png/ |
D | lodepng.h | 131 unsigned lodepng_decode_memory(unsigned char** out, unsigned* w, unsigned* h, 136 unsigned lodepng_decode32(unsigned char** out, unsigned* w, unsigned* h, 140 unsigned lodepng_decode24(unsigned char** out, unsigned* w, unsigned* h, 148 unsigned lodepng_decode_file(unsigned char** out, unsigned* w, unsigned* h, 153 unsigned lodepng_decode32_file(unsigned char** out, unsigned* w, unsigned* h, 157 unsigned lodepng_decode24_file(unsigned char** out, unsigned* w, unsigned* h, 181 const unsigned char* image, unsigned w, unsigned h, 186 const unsigned char* image, unsigned w, unsigned h); 190 const unsigned char* image, unsigned w, unsigned h); 199 const unsigned char* image, unsigned w, unsigned h, [all …]
|
/lvgl-3.4.0/src/draw/sw/ |
D | lv_draw_sw_dither.h | 38 … (*lv_dither_func_t)(struct _lv_gradient_cache_t * grad, lv_coord_t x, lv_coord_t y, lv_coord_t w); 48 … void lv_dither_none(struct _lv_gradient_cache_t * grad, lv_coord_t x, lv_coord_t y, lv_coord_t w); 51 const lv_coord_t y, const lv_coord_t w); 53 const lv_coord_t y, const lv_coord_t w); 57 const lv_coord_t y, const lv_coord_t w); 59 const lv_coord_t y, const lv_coord_t w);
|
D | lv_draw_sw_gradient.c | 50 static lv_grad_t * allocate_item(const lv_grad_dsc_t * g, lv_coord_t w, lv_coord_t h); 55 static uint32_t compute_key(const lv_grad_dsc_t * g, lv_coord_t w, lv_coord_t h); 72 static uint32_t compute_key(const lv_grad_dsc_t * g, lv_coord_t size, lv_coord_t w) in compute_key() argument 76 …return (v.value ^ size ^ (w >> 1)); /*Yes, this is correct, it's like a hash that changes if the w… in compute_key() 85 s += ALIGN(c->w * sizeof(lv_scolor24_t)); in get_cache_item_size() 167 static lv_grad_t * allocate_item(const lv_grad_dsc_t * g, lv_coord_t w, lv_coord_t h) in allocate_item() argument 169 lv_coord_t size = g->dir == LV_GRAD_DIR_HOR ? w : h; in allocate_item() 170 lv_coord_t map_size = LV_MAX(w, h); /* The map is being used horizontally (width) unless in allocate_item() 177 req_size += ALIGN(w * sizeof(lv_scolor24_t)); in allocate_item() 208 item->key = compute_key(g, size, w); in allocate_item() [all …]
|
D | lv_draw_sw_dither.c | 20 …_ATTRIBUTE_FAST_MEM void lv_dither_none(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_coord_t w) in lv_dither_none() argument 25 for(lv_coord_t i = 0; i < w; i++) { in lv_dither_none() 43 …UTE_FAST_MEM void lv_dither_ordered_hor(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_coord_t w) in lv_dither_ordered_hor() argument 55 for(lv_coord_t j = 0; j < w; j++) { in lv_dither_ordered_hor() 66 …UTE_FAST_MEM void lv_dither_ordered_ver(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_coord_t w) in lv_dither_ordered_ver() argument 91 for(; j < w - 8; j += 8) { in lv_dither_ordered_ver() 95 for(; j < w; j++) { in lv_dither_ordered_ver() 102 …E_FAST_MEM void lv_dither_err_diff_hor(lv_grad_t * grad, lv_coord_t xs, lv_coord_t y, lv_coord_t w) in lv_dither_err_diff_hor() argument 106 LV_UNUSED(w); in lv_dither_err_diff_hor() 156 …E_FAST_MEM void lv_dither_err_diff_ver(lv_grad_t * grad, lv_coord_t xs, lv_coord_t y, lv_coord_t w) in lv_dither_err_diff_ver() argument [all …]
|
D | lv_draw_sw_blend.c | 200 int32_t w = lv_area_get_width(blend_area); in fill_set_px() local 204 for(x = 0; x < w; x++) { in fill_set_px() 219 int32_t w = lv_area_get_width(dest_area); in fill_normal() local 229 lv_color_fill(dest_buf, color, w); in fill_normal() 243 for(x = 0; x < w; x++) { in fill_normal() 273 int32_t x_end4 = w - 4; in fill_normal() 275 for(x = 0; x < w && ((lv_uintptr_t)(mask) & 0x3); x++) { in fill_normal() 315 for(; x < w ; x++) { in fill_normal() 318 dest_buf += (dest_stride - w); in fill_normal() 319 mask += (mask_stride - w); in fill_normal() [all …]
|
D | lv_draw_sw_line.c | 115 int32_t w = dsc->width - 1; in draw_line_hor() local 116 int32_t w_half0 = w >> 1; in draw_line_hor() 117 int32_t w_half1 = w_half0 + (w & 0x1); /*Compensate rounding error*/ in draw_line_hor() 201 int32_t w = dsc->width - 1; in draw_line_ver() local 202 int32_t w_half0 = w >> 1; in draw_line_ver() 203 int32_t w_half1 = w_half0 + (w & 0x1); /*Compensate rounding error*/ in draw_line_ver() 310 int32_t w = dsc->width; in draw_line_skew() local 315 w = (w * wcorr[wcorr_i] + 63) >> 7; /*+ 63 for rounding*/ in draw_line_skew() 316 int32_t w_half0 = w >> 1; in draw_line_skew() 317 int32_t w_half1 = w_half0 + (w & 0x1); /*Compensate rounding error*/ in draw_line_skew() [all …]
|
/lvgl-3.4.0/examples/widgets/canvas/ |
D | lv_example_canvas_2.py | 5 def LV_IMG_BUF_SIZE_ALPHA_1BIT(w, h): argument 6 return int(((w / 8) + 1) * h) 8 def LV_IMG_BUF_SIZE_INDEXED_1BIT(w, h): argument 9 return LV_IMG_BUF_SIZE_ALPHA_1BIT(w, h) + 4 * 2 11 def LV_CANVAS_BUF_SIZE_INDEXED_1BIT(w, h): argument 12 return LV_IMG_BUF_SIZE_INDEXED_1BIT(w, h)
|
/lvgl-3.4.0/zephyr/ |
D | lvgl_display_16bit.c | 16 uint16_t w = area->x2 - area->x1 + 1; in lvgl_flush_cb_16bit() local 20 desc.buf_size = w * 2U * h; in lvgl_flush_cb_16bit() 21 desc.width = w; in lvgl_flush_cb_16bit() 22 desc.pitch = w; in lvgl_flush_cb_16bit()
|
D | lvgl_display_32bit.c | 16 uint16_t w = area->x2 - area->x1 + 1; in lvgl_flush_cb_32bit() local 20 desc.buf_size = w * 4U * h; in lvgl_flush_cb_32bit() 21 desc.width = w; in lvgl_flush_cb_32bit() 22 desc.pitch = w; in lvgl_flush_cb_32bit()
|
D | lvgl_display_24bit.c | 16 uint16_t w = area->x2 - area->x1 + 1; in lvgl_flush_cb_24bit() local 20 desc.buf_size = w * 3U * h; in lvgl_flush_cb_24bit() 21 desc.width = w; in lvgl_flush_cb_24bit() 22 desc.pitch = w; in lvgl_flush_cb_24bit()
|
/lvgl-3.4.0/src/extra/others/snapshot/ |
D | lv_snapshot.c | 62 lv_coord_t w = lv_obj_get_width(obj); in lv_snapshot_buf_size_needed() local 65 w += ext_size * 2; in lv_snapshot_buf_size_needed() 69 return w * h * ((px_size + 7) >> 3); in lv_snapshot_buf_size_needed() 102 lv_coord_t w = lv_obj_get_width(obj); in lv_snapshot_take_to_buf() local 105 w += ext_size * 2; in lv_snapshot_take_to_buf() 148 dsc->header.w = w; in lv_snapshot_take_to_buf()
|
/lvgl-3.4.0/src/extra/widgets/tileview/ |
D | lv_tileview.c | 94 lv_coord_t w = lv_obj_get_content_width(tv); in lv_obj_set_tile_id() local 97 lv_coord_t tx = col_id * w; in lv_obj_set_tile_id() 160 lv_coord_t w = lv_obj_get_content_width(obj); in tileview_event_cb() local 168 lv_coord_t tx = ((left + (w / 2)) / w) * w; in tileview_event_cb()
|
/lvgl-3.4.0/src/core/ |
D | lv_obj_pos.c | 93 lv_coord_t w; in lv_obj_refr_size() local 95 w = lv_obj_get_width(obj); in lv_obj_refr_size() 98 w = lv_obj_get_style_width(obj, LV_PART_MAIN); in lv_obj_refr_size() 99 w_is_content = w == LV_SIZE_CONTENT ? true : false; in lv_obj_refr_size() 100 w_is_pct = LV_COORD_IS_PCT(w) ? true : false; in lv_obj_refr_size() 104 w = calc_content_width(obj); in lv_obj_refr_size() 111 w = lv_obj_get_style_pad_left(obj, 0) + border_w; in lv_obj_refr_size() 112 w += lv_obj_get_style_pad_right(obj, 0) + border_w; in lv_obj_refr_size() 115 w = (LV_COORD_GET_PCT(w) * parent_w) / 100; in lv_obj_refr_size() 121 w = lv_clamp_width(w, minw, maxw, parent_w); in lv_obj_refr_size() [all …]
|