Searched refs:static_txt (Results 1 – 6 of 6) sorted by relevance
78 if(!cb->static_txt) _txt = lv_mem_realloc(_txt, len + 1); in lv_checkbox_set_text()87 cb->static_txt = 0; in lv_checkbox_set_text()97 if(!cb->static_txt) lv_mem_free((void *)cb->txt); in lv_checkbox_set_text_static()100 cb->static_txt = 1; in lv_checkbox_set_text_static()128 cb->static_txt = 1; in lv_checkbox_constructor()142 if(!cb->static_txt) { in lv_checkbox_destructor()
32 uint32_t static_txt : 1; member
137 if(dropdown->options != NULL && dropdown->static_txt == 0) { in lv_dropdown_set_options()154 dropdown->static_txt = 0; in lv_dropdown_set_options()177 if(dropdown->static_txt == 0 && dropdown->options != NULL) { in lv_dropdown_set_options_static()182 dropdown->static_txt = 1; in lv_dropdown_set_options_static()197 if(dropdown->static_txt != 0) { in lv_dropdown_add_option()206 dropdown->static_txt = 0; in lv_dropdown_add_option()266 if(dropdown->static_txt == 0) in lv_dropdown_clear_options()270 dropdown->static_txt = 0; in lv_dropdown_clear_options()596 dropdown->static_txt = 1; in lv_dropdown_constructor()624 if(!dropdown->static_txt) { in lv_dropdown_destructor()
95 if(label->text == text && label->static_txt == 0) { in lv_label_set_text()115 if(label->text != NULL && label->static_txt == 0) { in lv_label_set_text()141 label->static_txt = 0; in lv_label_set_text()161 if(label->text != NULL && label->static_txt == 0) { in lv_label_set_text_fmt()170 label->static_txt = 0; /*Now the text is dynamically allocated*/ in lv_label_set_text_fmt()180 if(label->static_txt == 0 && label->text != NULL) { in lv_label_set_text_static()186 label->static_txt = 1; in lv_label_set_text_static()646 if(label->static_txt != 0) return; in lv_label_ins_text()672 if(label->static_txt != 0) return; in lv_label_cut_text()696 label->static_txt = 0; in lv_label_constructor()[all …]
49 uint8_t static_txt : 1; /**< 1: Only a pointer is saved in `options`*/ member
73 uint8_t static_txt : 1; /*Flag to indicate the text is static*/ member