Lines Matching refs:txt

51 lv_state_t lv_xml_style_state_to_enum(const char * txt)  in lv_xml_style_state_to_enum()  argument
53 if(lv_streq("default", txt)) return LV_STATE_DEFAULT; in lv_xml_style_state_to_enum()
54 else if(lv_streq("pressed", txt)) return LV_STATE_PRESSED; in lv_xml_style_state_to_enum()
55 else if(lv_streq("checked", txt)) return LV_STATE_CHECKED; in lv_xml_style_state_to_enum()
56 else if(lv_streq("scrolled", txt)) return LV_STATE_SCROLLED; in lv_xml_style_state_to_enum()
57 else if(lv_streq("focused", txt)) return LV_STATE_FOCUSED; in lv_xml_style_state_to_enum()
58 else if(lv_streq("focus_key", txt)) return LV_STATE_FOCUS_KEY; in lv_xml_style_state_to_enum()
59 else if(lv_streq("edited", txt)) return LV_STATE_EDITED; in lv_xml_style_state_to_enum()
60 else if(lv_streq("hovered", txt)) return LV_STATE_HOVERED; in lv_xml_style_state_to_enum()
61 else if(lv_streq("disabled", txt)) return LV_STATE_DISABLED; in lv_xml_style_state_to_enum()
66 lv_part_t lv_xml_style_part_to_enum(const char * txt) in lv_xml_style_part_to_enum() argument
68 if(lv_streq("main", txt)) return LV_PART_MAIN; in lv_xml_style_part_to_enum()
69 else if(lv_streq("scrollbar", txt)) return LV_PART_SCROLLBAR; in lv_xml_style_part_to_enum()
70 else if(lv_streq("indicator", txt)) return LV_PART_INDICATOR; in lv_xml_style_part_to_enum()
71 else if(lv_streq("knob", txt)) return LV_PART_KNOB; in lv_xml_style_part_to_enum()
72 else if(lv_streq("selected", txt)) return LV_PART_SELECTED; in lv_xml_style_part_to_enum()
73 else if(lv_streq("items", txt)) return LV_PART_ITEMS; in lv_xml_style_part_to_enum()
74 else if(lv_streq("cursor", txt)) return LV_PART_CURSOR; in lv_xml_style_part_to_enum()
237 const char * lv_xml_style_string_process(char * txt, lv_style_selector_t * selector) in lv_xml_style_string_process() argument
241 char * style_name = lv_xml_split_str(&txt, ':'); in lv_xml_style_string_process()
242 char * selector_str = lv_xml_split_str(&txt, ':'); in lv_xml_style_string_process()
249 selector_str = lv_xml_split_str(&txt, ':'); in lv_xml_style_string_process()