Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_table.c40 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 …]
Dlv_table.h103 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/
Dlv_example_grid_1.c25 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()
Dlv_example_grid_3.c29 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()
Dlv_example_grid_3.py24 col = i % 3 variable
30 obj.set_grid_cell(lv.GRID_ALIGN.STRETCH, col, 1,
34 label.set_text("%d,%d"%(col, row))
Dlv_example_grid_6.c24 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()
Dlv_example_grid_6.py15 col = i % 3 variable
21 obj.set_grid_cell(lv.GRID_ALIGN.STRETCH, col, 1,
25 label.set_text("{:d},{:d}".format(col, row))
Dlv_example_grid_4.c25 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()
Dlv_example_grid_4.py20 col = i % 3 variable
26 obj.set_grid_cell(lv.GRID_ALIGN.STRETCH, col, 1,
30 label.set_text("{:d}{:d}".format(col, row))
Dlv_example_grid_1.py17 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))
Dlv_example_grid_5.c34 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()
Dlv_example_grid_5.py22 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/
Dlv_example_table_1.c11 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()
Dlv_example_table_1.py7 col = dsc.id - row * obj.get_col_cnt()
16 elif col == 0:
Dlv_example_table_2.c44 uint16_t col; in change_event_cb() local
46 lv_table_get_selected_cell(obj, &row, &col); in change_event_cb()
Dlv_example_table_2.py45 col = lv.C_Pointer()
46 table.get_selected_cell(row, col)
/lvgl-latest/docs/widgets/core/
Dtable.md22 `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/
Dlv_draw_sw_letter.c235 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/
Dlv_gpu_d2_draw_label.c114 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/
Dtest_table.c131 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/
Dlv_grid.c27 uint32_t col; member