22#error "lv_table: lv_label is required. Enable it in lv_conf.h (LV_USE_LABEL 1)"
31#define LV_TABLE_CELL_NONE 0XFFFF
32LV_EXPORT_CONST_INT(LV_TABLE_CELL_NONE);
39 LV_TABLE_CELL_CTRL_MERGE_RIGHT = 1 << 0,
40 LV_TABLE_CELL_CTRL_TEXT_CROP = 1 << 1,
41 LV_TABLE_CELL_CTRL_CUSTOM_1 = 1 << 4,
42 LV_TABLE_CELL_CTRL_CUSTOM_2 = 1 << 5,
43 LV_TABLE_CELL_CTRL_CUSTOM_3 = 1 << 6,
44 LV_TABLE_CELL_CTRL_CUSTOM_4 = 1 << 7,
47typedef uint8_t lv_table_cell_ctrl_t;
68 LV_TABLE_DRAW_PART_CELL,
69} lv_table_draw_part_type_t;
94void lv_table_set_cell_value(
lv_obj_t * obj, uint16_t row, uint16_t col,
const char * txt);
104void lv_table_set_cell_value_fmt(
lv_obj_t * obj, uint16_t row, uint16_t col,
const char * fmt, ...);
111void lv_table_set_row_cnt(
lv_obj_t * obj, uint16_t row_cnt);
118void lv_table_set_col_cnt(
lv_obj_t * obj, uint16_t col_cnt);
126void lv_table_set_col_width(
lv_obj_t * obj, uint16_t col_id, lv_coord_t w);
135void lv_table_add_cell_ctrl(
lv_obj_t * obj, uint16_t row, uint16_t col, lv_table_cell_ctrl_t ctrl);
145void lv_table_clear_cell_ctrl(
lv_obj_t * obj, uint16_t row, uint16_t col, lv_table_cell_ctrl_t ctrl);
158const char * lv_table_get_cell_value(
lv_obj_t * obj, uint16_t row, uint16_t col);
165uint16_t lv_table_get_row_cnt(
lv_obj_t * obj);
172uint16_t lv_table_get_col_cnt(
lv_obj_t * obj);
180lv_coord_t lv_table_get_col_width(
lv_obj_t * obj, uint16_t col);
190bool lv_table_has_cell_ctrl(
lv_obj_t * obj, uint16_t row, uint16_t col, lv_table_cell_ctrl_t ctrl);
198void lv_table_get_selected_cell(
lv_obj_t * obj, uint16_t * row, uint16_t * col);
Definition lv_obj_class.h:49