Searched refs:cmd_state (Results 1 – 3 of 3) sorted by relevance
/lvgl-3.7.0/src/draw/ |
D | lv_draw_label.c | 202 cmd_state_t cmd_state = CMD_STATE_WAIT; in lv_draw_label() local 219 cmd_state = CMD_STATE_WAIT; in lv_draw_label() 246 if(cmd_state == CMD_STATE_WAIT) { /*Start char*/ in lv_draw_label() 248 cmd_state = CMD_STATE_PAR; in lv_draw_label() 251 … else if(cmd_state == CMD_STATE_PAR) { /*Other start char in parameter escaped cmd. char*/ in lv_draw_label() 252 cmd_state = CMD_STATE_WAIT; in lv_draw_label() 254 else if(cmd_state == CMD_STATE_IN) { /*Command end*/ in lv_draw_label() 255 cmd_state = CMD_STATE_WAIT; in lv_draw_label() 261 if(cmd_state == CMD_STATE_PAR) { in lv_draw_label() 277 cmd_state = CMD_STATE_IN; /*After the parameter the text is in the command*/ in lv_draw_label() [all …]
|
/lvgl-3.7.0/src/misc/ |
D | lv_txt.c | 173 … lv_text_flag_t flag, uint32_t * word_w_ptr, lv_text_cmd_state_t * cmd_state, bool force) in lv_txt_get_next_word() argument 199 if(_lv_txt_is_cmd(cmd_state, letter) != false) { in lv_txt_get_next_word() 304 lv_text_cmd_state_t cmd_state = LV_TEXT_CMD_STATE_WAIT; in _lv_txt_get_next_line() local 309 … = lv_txt_get_next_word(&txt[i], font, letter_space, max_width, flag, &word_w, &cmd_state, i == 0); in _lv_txt_get_next_line() 352 lv_text_cmd_state_t cmd_state = LV_TEXT_CMD_STATE_WAIT; in lv_txt_get_width() local 361 if(_lv_txt_is_cmd(&cmd_state, letter) != false) { in lv_txt_get_width()
|
/lvgl-3.7.0/src/widgets/ |
D | lv_label.c | 471 lv_text_cmd_state_t cmd_state = LV_TEXT_CMD_STATE_WAIT; in lv_label_get_letter_on() local 486 if(_lv_txt_is_cmd(&cmd_state, bidi_txt[i]) != false) { in lv_label_get_letter_on() 573 lv_text_cmd_state_t cmd_state = LV_TEXT_CMD_STATE_WAIT; in lv_label_is_char_under_pos() local 588 if(_lv_txt_is_cmd(&cmd_state, txt[i]) != false) { in lv_label_is_char_under_pos()
|