Searched refs:static_txt (Results 1 – 6 of 6) sorted by relevance
85 if(!cb->static_txt) cb->txt = lv_realloc(cb->txt, len); in lv_checkbox_set_text()97 cb->static_txt = 0; in lv_checkbox_set_text()108 if(!cb->static_txt) lv_free(cb->txt); in lv_checkbox_set_text_static()111 cb->static_txt = 1; in lv_checkbox_set_text_static()140 cb->static_txt = 1; in lv_checkbox_constructor()143 cb->static_txt = 1; in lv_checkbox_constructor()160 if(!cb->static_txt) { in lv_checkbox_destructor()
37 uint32_t static_txt : 1; member
45 uint8_t static_txt : 1; /**< 1: Only a pointer is saved in `options`*/ member
203 if(dropdown->options != NULL && dropdown->static_txt == 0) { in lv_dropdown_set_options()220 dropdown->static_txt = 0; in lv_dropdown_set_options()243 if(dropdown->static_txt == 0 && dropdown->options != NULL) { in lv_dropdown_set_options_static()248 dropdown->static_txt = 1; in lv_dropdown_set_options_static()263 if(dropdown->static_txt != 0) { in lv_dropdown_add_option()268 dropdown->static_txt = 0; in lv_dropdown_add_option()328 if(dropdown->static_txt == 0) in lv_dropdown_clear_options()332 dropdown->static_txt = 0; in lv_dropdown_clear_options()658 dropdown->static_txt = 1; in lv_dropdown_constructor()688 if(!dropdown->static_txt) { in lv_dropdown_destructor()
49 uint8_t static_txt : 1; /**< Flag to indicate the text is static */ member
145 if(label->text == text && label->static_txt == 0) { in lv_label_set_text()157 if(label->text != NULL && label->static_txt == 0) { in lv_label_set_text()169 label->static_txt = 0; in lv_label_set_text()189 if(label->text != NULL && label->static_txt == 0) { in lv_label_set_text_fmt()198 label->static_txt = 0; /*Now the text is dynamically allocated*/ in lv_label_set_text_fmt()208 if(label->static_txt == 0 && label->text != NULL) { in lv_label_set_text_static()214 label->static_txt = 1; in lv_label_set_text_static()667 if(label->static_txt != 0) return; in lv_label_ins_text()693 if(label->static_txt) return; in lv_label_cut_text()718 label->static_txt = 0; in lv_label_constructor()[all …]