/lvgl-latest/src/widgets/ |
D | lv_table.c | 40 static void refr_cell_size(lv_obj_t * obj, uint32_t row, uint32_t col); 41 static lv_res_t get_pressed_cell(lv_obj_t * obj, uint16_t * row, uint16_t * col); 44 static void get_cell_area(lv_obj_t * obj, uint16_t row, uint16_t col, lv_area_t * area); 86 void lv_table_set_cell_value(lv_obj_t * obj, uint16_t row, uint16_t col, const char * txt) in lv_table_set_cell_value() argument 94 if(col >= table->col_cnt) lv_table_set_col_cnt(obj, col + 1); in lv_table_set_cell_value() 97 uint32_t cell = row * table->col_cnt + col; in lv_table_set_cell_value() 122 refr_cell_size(obj, row, col); in lv_table_set_cell_value() 125 void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint16_t row, uint16_t col, const char * fmt, ...) in lv_table_set_cell_value_fmt() argument 131 if(col >= table->col_cnt) { in lv_table_set_cell_value_fmt() 132 lv_table_set_col_cnt(obj, col + 1); in lv_table_set_cell_value_fmt() [all …]
|
D | lv_table.h | 103 void lv_table_set_cell_value(lv_obj_t * obj, uint16_t row, uint16_t col, const char * txt); 113 void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint16_t row, uint16_t col, const char * fmt, ...); 144 void lv_table_add_cell_ctrl(lv_obj_t * obj, uint16_t row, uint16_t col, lv_table_cell_ctrl_t ctrl); 153 void lv_table_clear_cell_ctrl(lv_obj_t * obj, uint16_t row, uint16_t col, lv_table_cell_ctrl_t ctrl… 163 void lv_table_set_cell_user_data(lv_obj_t * obj, uint16_t row, uint16_t col, void * user_data); 177 const char * lv_table_get_cell_value(lv_obj_t * obj, uint16_t row, uint16_t col); 199 lv_coord_t lv_table_get_col_width(lv_obj_t * obj, uint16_t col); 209 bool lv_table_has_cell_ctrl(lv_obj_t * obj, uint16_t row, uint16_t col, lv_table_cell_ctrl_t ctrl); 217 void lv_table_get_selected_cell(lv_obj_t * obj, uint16_t * row, uint16_t * col); 226 void * lv_table_get_cell_user_data(lv_obj_t * obj, uint16_t row, uint16_t col);
|
/lvgl-latest/examples/layouts/grid/ |
D | lv_example_grid_1.c | 25 uint8_t col = i % 3; in lv_example_grid_1() local 31 lv_obj_set_grid_cell(obj, LV_GRID_ALIGN_STRETCH, col, 1, in lv_example_grid_1() 35 lv_label_set_text_fmt(label, "c%d, r%d", col, row); in lv_example_grid_1()
|
D | lv_example_grid_3.c | 29 uint8_t col = i % 3; in lv_example_grid_3() local 35 lv_obj_set_grid_cell(obj, LV_GRID_ALIGN_STRETCH, col, 1, in lv_example_grid_3() 39 lv_label_set_text_fmt(label, "%d,%d", col, row); in lv_example_grid_3()
|
D | lv_example_grid_3.py | 24 col = i % 3 variable 30 obj.set_grid_cell(lv.GRID_ALIGN.STRETCH, col, 1, 34 label.set_text("%d,%d"%(col, row))
|
D | lv_example_grid_6.c | 24 uint8_t col = i % 3; in lv_example_grid_6() local 30 lv_obj_set_grid_cell(obj, LV_GRID_ALIGN_STRETCH, col, 1, in lv_example_grid_6() 34 lv_label_set_text_fmt(label, "%d,%d", col, row); in lv_example_grid_6()
|
D | lv_example_grid_6.py | 15 col = i % 3 variable 21 obj.set_grid_cell(lv.GRID_ALIGN.STRETCH, col, 1, 25 label.set_text("{:d},{:d}".format(col, row))
|
D | lv_example_grid_4.c | 25 uint8_t col = i % 3; in lv_example_grid_4() local 31 lv_obj_set_grid_cell(obj, LV_GRID_ALIGN_STRETCH, col, 1, in lv_example_grid_4() 35 lv_label_set_text_fmt(label, "%d,%d", col, row); in lv_example_grid_4()
|
D | lv_example_grid_4.py | 20 col = i % 3 variable 26 obj.set_grid_cell(lv.GRID_ALIGN.STRETCH, col, 1, 30 label.set_text("{:d}{:d}".format(col, row))
|
D | lv_example_grid_1.py | 17 col = i % 3 variable 23 obj.set_grid_cell(lv.GRID_ALIGN.STRETCH, col, 1, 27 label.set_text("c" +str(col) + "r" +str(row))
|
D | lv_example_grid_5.c | 34 uint8_t col = i % 3; in lv_example_grid_5() local 38 lv_obj_set_grid_cell(obj, LV_GRID_ALIGN_STRETCH, col, 1, in lv_example_grid_5() 41 lv_label_set_text_fmt(label, "%d,%d", col, row); in lv_example_grid_5()
|
D | lv_example_grid_5.py | 22 col = i % 3 variable 26 obj.set_grid_cell(lv.GRID_ALIGN.STRETCH, col, 1, 29 label.set_text("{:d},{:d}".format(col, row))
|
/lvgl-latest/examples/widgets/table/ |
D | lv_example_table_1.c | 11 uint32_t col = dsc->id - row * lv_table_get_col_cnt(obj); in draw_part_event_cb() local 20 else if(col == 0) { in draw_part_event_cb()
|
D | lv_example_table_1.py | 7 col = dsc.id - row * obj.get_col_cnt() 16 elif col == 0:
|
D | lv_example_table_2.c | 44 uint16_t col; in change_event_cb() local 46 lv_table_get_selected_cell(obj, &row, &col); in change_event_cb()
|
D | lv_example_table_2.py | 45 col = lv.C_Pointer() 46 table.get_selected_cell(row, col)
|
/lvgl-latest/docs/widgets/core/ |
D | table.md | 22 `lv_table_set_cell_value(table, row, col, "Content")`. The text is saved by the table so it can be … 40 Cells can be merged horizontally with `lv_table_add_cell_ctrl(table, row, col, LV_TABLE_CELL_CTRL_M… 56 - `id`: current row × col count + current column 69 `lv_table_get_selected_cell(table, &row, &col)` can be used to get the currently selected cell. Row…
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_letter.c | 235 int32_t col, row; in draw_letter_normal() local 289 for(col = col_start; col < col_end; col++) { in draw_letter_normal() 386 int32_t col, row; in draw_letter_subpx() local 458 for(col = col_start; col < col_end; col++) { in draw_letter_subpx()
|
/lvgl-latest/src/draw/renesas/ |
D | lv_gpu_d2_draw_label.c | 114 int32_t col, row; in draw_letter_normal() local 168 for(col = col_start; col < col_end; col++) { in draw_letter_normal()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_table.c | 131 uint32_t col = dsc->id - row * lv_table_get_col_cnt(obj); in draw_part_event_cb() local 140 else if(col == 0) { in draw_part_event_cb()
|
/lvgl-latest/src/extra/layouts/grid/ |
D | lv_grid.c | 27 uint32_t col; member
|