Lines Matching refs:col_w
300 table->col_w = lv_mem_realloc(table->col_w, col_cnt * sizeof(table->col_w[0])); in lv_table_set_col_cnt()
301 LV_ASSERT_MALLOC(table->col_w); in lv_table_set_col_cnt()
302 if(table->col_w == NULL) return; in lv_table_set_col_cnt()
306 table->col_w[col] = LV_DPI_DEF; in lv_table_set_col_cnt()
321 table->col_w[col_id] = w; in lv_table_set_col_width()
457 return table->col_w[col]; in lv_table_get_col_width()
513 table->col_w = lv_mem_alloc(table->col_cnt * sizeof(table->col_w[0])); in lv_table_constructor()
515 table->col_w[0] = LV_DPI_DEF; in lv_table_constructor()
544 if(table->col_w) lv_mem_free(table->col_w); in lv_table_destructor()
568 for(i = 0; i < table->col_cnt; i++) w += table->col_w[i]; in lv_table_event()
737 cell_area.x1 = cell_area.x2 - table->col_w[col] + 1; in draw_main()
741 cell_area.x2 = cell_area.x1 + table->col_w[col] - 1; in draw_main()
752 lv_coord_t offset = table->col_w[col + col_merge + 1]; in draw_main()
944 lv_coord_t txt_w = table->col_w[col]; in get_row_height()
957 txt_w += table->col_w[col + col_merge + 1]; in get_row_height()
1018 tmp += table->col_w[*col]; in get_pressed_cell()
1071 area->x1 += table->col_w[c]; in get_cell_area()
1079 area->x1 = area->x2 - table->col_w[col]; in get_cell_area()
1084 area->x2 = area->x1 + table->col_w[col] - 1; in get_cell_area()