Home
last modified time | relevance | path

Searched refs:cell (Results 1 – 6 of 6) sorted by relevance

/lvgl-latest/src/widgets/table/
Dlv_table.c51 static inline bool is_cell_empty(void * cell) in is_cell_empty() argument
53 return cell == NULL; in is_cell_empty()
102 uint32_t cell = row * table->col_cnt + col; in lv_table_set_cell_value() local
106 if(table->cell_data[cell]) ctrl = table->cell_data[cell]->ctrl; in lv_table_set_cell_value()
111 if(table->cell_data[cell]) user_data = table->cell_data[cell]->user_data; in lv_table_set_cell_value()
115 table->cell_data[cell] = lv_realloc(table->cell_data[cell], to_allocate); in lv_table_set_cell_value()
116 LV_ASSERT_MALLOC(table->cell_data[cell]); in lv_table_set_cell_value()
117 if(table->cell_data[cell] == NULL) return; in lv_table_set_cell_value()
119 copy_cell_txt(table->cell_data[cell], txt); in lv_table_set_cell_value()
121 table->cell_data[cell]->ctrl = ctrl; in lv_table_set_cell_value()
[all …]
/lvgl-latest/src/libs/thorvg/
DtvgSwRle.cpp394 auto cell = rw.yCells[y]; in _sweep() local
396 while (cell) { in _sweep()
397 … if (cell->x > x && cover != 0) _horizLine(rw, x, y, cover * (ONE_PIXEL * 2), cell->x - x); in _sweep()
398 cover += cell->cover; in _sweep()
399 auto area = cover * (ONE_PIXEL * 2) - cell->area; in _sweep()
400 if (area != 0 && cell->x >= 0) _horizLine(rw, cell->x, y, area, 1); in _sweep()
401 x = cell->x + 1; in _sweep()
402 cell = cell->next; in _sweep()
418 Cell* cell = *pcell; in _findCell() local
419 if (!cell || cell->x > x) break; in _findCell()
[all …]
/lvgl-latest/docs/details/widgets/
Dtable.rst17 Table is an editable Widget, allow selecting a cell with encoder and keyboard
40 Set cell value
67 Height is calculated automatically from the cell styles (font,
75 To merge more adjacent cells, call this function for each cell.
95 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` Sent when a new cell is selected with
113 - ``LV_KEY_RIGHT/LEFT/UP/DOWN/`` Select a cell.
119 currently selected cell. Row and column will be set to
120 :c:macro:`LV_TABLE_CELL_NONE` if no cell is selected.
/lvgl-latest/examples/layouts/grid/
Dindex.rst7 Demonstrate cell placement and span
/lvgl-latest/docs/details/base-widget/layouts/
Dgrid.rst82 added manually to a cell.
88 in its cell. Possible values are:
93 means the zero-based index of the cell in which the item should be placed.
96 from the start cell. Must be ``>= 1``.
/lvgl-latest/docs/
DCHANGELOG.rst106 - **feat(table): add function to set selected table cell** `6163 <https://github.com/lvgl/lvgl/pull…