Lines Matching refs:cmd_state
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()
285 if(cmd_state == CMD_STATE_IN) color = recolor; in lv_draw_label()