Home
last modified time | relevance | path

Searched refs:ctrl (Results 1 – 14 of 14) sorted by relevance

/lvgl-latest/src/widgets/buttonmatrix/
Dlv_buttonmatrix.h105 void lv_buttonmatrix_set_button_ctrl(lv_obj_t * obj, uint32_t btn_id, lv_buttonmatrix_ctrl_t ctrl);
113 void lv_buttonmatrix_clear_button_ctrl(lv_obj_t * obj, uint32_t btn_id, lv_buttonmatrix_ctrl_t ctrl
120 void lv_buttonmatrix_set_button_ctrl_all(lv_obj_t * obj, lv_buttonmatrix_ctrl_t ctrl);
127 void lv_buttonmatrix_clear_button_ctrl_all(lv_obj_t * obj, lv_buttonmatrix_ctrl_t ctrl);
183 bool lv_buttonmatrix_has_button_ctrl(lv_obj_t * obj, uint32_t btn_id, lv_buttonmatrix_ctrl_t ctrl);
Dlv_buttonmatrix.c214 void lv_buttonmatrix_set_button_ctrl(lv_obj_t * obj, uint32_t btn_id, lv_buttonmatrix_ctrl_t ctrl) in lv_buttonmatrix_set_button_ctrl() argument
222 if(btnm->one_check && (ctrl & LV_BUTTONMATRIX_CTRL_CHECKED)) { in lv_buttonmatrix_set_button_ctrl()
226 btnm->ctrl_bits[btn_id] |= ctrl; in lv_buttonmatrix_set_button_ctrl()
229 if(ctrl & LV_BUTTONMATRIX_CTRL_POPOVER) { in lv_buttonmatrix_set_button_ctrl()
234 void lv_buttonmatrix_clear_button_ctrl(lv_obj_t * obj, uint32_t btn_id, lv_buttonmatrix_ctrl_t ctrl) in lv_buttonmatrix_clear_button_ctrl() argument
242 btnm->ctrl_bits[btn_id] &= (~ctrl); in lv_buttonmatrix_clear_button_ctrl()
245 if(ctrl & LV_BUTTONMATRIX_CTRL_POPOVER) { in lv_buttonmatrix_clear_button_ctrl()
250 void lv_buttonmatrix_set_button_ctrl_all(lv_obj_t * obj, lv_buttonmatrix_ctrl_t ctrl) in lv_buttonmatrix_set_button_ctrl_all() argument
257 lv_buttonmatrix_set_button_ctrl(obj, i, ctrl); in lv_buttonmatrix_set_button_ctrl_all()
261 void lv_buttonmatrix_clear_button_ctrl_all(lv_obj_t * obj, lv_buttonmatrix_ctrl_t ctrl) in lv_buttonmatrix_clear_button_ctrl_all() argument
[all …]
/lvgl-latest/demos/music/
Dlv_demo_music.c37 static lv_obj_t * ctrl; variable
122 ctrl = lv_demo_music_main_create(lv_screen_active()); in lv_demo_music()
187 lv_obj_scroll_by(ctrl, 0, -LV_VER_RES, LV_ANIM_ON); in auto_step_cb()
190 lv_obj_scroll_by(ctrl, 0, -LV_VER_RES, LV_ANIM_ON); in auto_step_cb()
194 lv_obj_scroll_by(ctrl, 0, -LV_VER_RES, LV_ANIM_ON); in auto_step_cb()
207 lv_obj_scroll_by(ctrl, 0, LV_VER_RES, LV_ANIM_ON); in auto_step_cb()
211 lv_obj_scroll_by(ctrl, 0, LV_VER_RES, LV_ANIM_ON); in auto_step_cb()
/lvgl-latest/src/others/gridnav/
Dlv_gridnav.c25 lv_gridnav_ctrl_t ctrl; member
63 void lv_gridnav_add(lv_obj_t * obj, lv_gridnav_ctrl_t ctrl) in lv_gridnav_add() argument
69 dsc->ctrl = ctrl; in lv_gridnav_add()
147 if(key == LV_KEY_RIGHT && !(dsc->ctrl & LV_GRIDNAV_CTRL_VERTICAL_MOVE_ONLY)) { in gridnav_event_cb()
148 …if((dsc->ctrl & LV_GRIDNAV_CTRL_SCROLL_FIRST) && lv_obj_has_flag(dsc->focused_obj, LV_OBJ_FLAG_SCR… in gridnav_event_cb()
157 if(dsc->ctrl & LV_GRIDNAV_CTRL_ROLLOVER) { in gridnav_event_cb()
167 else if(key == LV_KEY_LEFT && !(dsc->ctrl & LV_GRIDNAV_CTRL_VERTICAL_MOVE_ONLY)) { in gridnav_event_cb()
168 …if((dsc->ctrl & LV_GRIDNAV_CTRL_SCROLL_FIRST) && lv_obj_has_flag(dsc->focused_obj, LV_OBJ_FLAG_SCR… in gridnav_event_cb()
177 if(dsc->ctrl & LV_GRIDNAV_CTRL_ROLLOVER) { in gridnav_event_cb()
187 else if(key == LV_KEY_DOWN && !(dsc->ctrl & LV_GRIDNAV_CTRL_HORIZONTAL_MOVE_ONLY)) { in gridnav_event_cb()
[all …]
Dlv_gridnav.h70 void lv_gridnav_add(lv_obj_t * obj, lv_gridnav_ctrl_t ctrl);
/lvgl-latest/src/libs/thorvg/
DtvgSvgPath.cpp385 Point p[3], ctrl; in _processCommand() local
388 ctrl.x = 2 * cur->x - curCtl->x; in _processCommand()
389 ctrl.y = 2 * cur->y - curCtl->y; in _processCommand()
391 ctrl = *cur; in _processCommand()
394 p[0] = ctrl; in _processCommand()
426 Point p[3], ctrl; in _processCommand() local
429 ctrl.x = 2 * cur->x - curCtl->x; in _processCommand()
430 ctrl.y = 2 * cur->y - curCtl->y; in _processCommand()
432 ctrl = *cur; in _processCommand()
434 float ctrl_x0 = (cur->x + 2 * ctrl.x) * (1.0 / 3.0); in _processCommand()
[all …]
/lvgl-latest/src/widgets/table/
Dlv_table.c103 lv_table_cell_ctrl_t ctrl = 0; 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()
121 table->cell_data[cell]->ctrl = ctrl; in lv_table_set_cell_value()
142 lv_table_cell_ctrl_t ctrl = 0; in lv_table_set_cell_value_fmt() local
145 if(table->cell_data[cell]) ctrl = table->cell_data[cell]->ctrl; in lv_table_set_cell_value_fmt()
198 table->cell_data[cell]->ctrl = ctrl; in lv_table_set_cell_value_fmt()
318 void lv_table_add_cell_ctrl(lv_obj_t * obj, uint32_t row, uint32_t col, lv_table_cell_ctrl_t ctrl) in lv_table_add_cell_ctrl() argument
335 table->cell_data[cell]->ctrl = 0; in lv_table_add_cell_ctrl()
340 table->cell_data[cell]->ctrl |= ctrl; in lv_table_add_cell_ctrl()
343 void lv_table_clear_cell_ctrl(lv_obj_t * obj, uint32_t row, uint32_t col, lv_table_cell_ctrl_t ctrl) in lv_table_clear_cell_ctrl() argument
[all …]
Dlv_table.h113 void lv_table_add_cell_ctrl(lv_obj_t * obj, uint32_t row, uint32_t col, lv_table_cell_ctrl_t ctrl);
122 void lv_table_clear_cell_ctrl(lv_obj_t * obj, uint32_t row, uint32_t col, lv_table_cell_ctrl_t ctrl
187 bool lv_table_has_cell_ctrl(lv_obj_t * obj, uint32_t row, uint32_t col, lv_table_cell_ctrl_t ctrl);
Dlv_table_private.h32 lv_table_cell_ctrl_t ctrl; member
/lvgl-latest/src/others/xml/parsers/
Dlv_xml_table_parser.c117 lv_table_cell_ctrl_t ctrl = 0; in lv_xml_table_cell_apply() local
123 ctrl |= table_ctrl_to_enum(str); in lv_xml_table_cell_apply()
126 lv_table_add_cell_ctrl(table, row, column, ctrl); in lv_xml_table_cell_apply()
/lvgl-latest/src/libs/rlottie/
Dlv_rlottie.h45 void lv_rlottie_set_play_mode(lv_obj_t * rlottie, const lv_rlottie_ctrl_t ctrl);
Dlv_rlottie.c93 void lv_rlottie_set_play_mode(lv_obj_t * obj, const lv_rlottie_ctrl_t ctrl) in lv_rlottie_set_play_mode() argument
96 rlottie->play_ctrl = ctrl; in lv_rlottie_set_play_mode()
/lvgl-latest/docs/details/integration/chip/
Dalif.rst135 Press ctrl + shift + p. Type "preferences" and select the option
/lvgl-latest/docs/
DCODING_STYLE.rst48 - ``ctrl`` control