Lines Matching refs:icon
13 static lv_obj_t * create_text(lv_obj_t * parent, const char * icon, const char * txt,
16 … const char * icon, const char * txt, int32_t min, int32_t max, int32_t val);
18 const char * icon, const char * txt, bool chk);
143 static lv_obj_t * create_text(lv_obj_t * parent, const char * icon, const char * txt, in create_text() argument
151 if(icon) { in create_text()
153 lv_img_set_src(img, icon); in create_text()
163 if(builder_variant == LV_MENU_ITEM_BUILDER_VARIANT_2 && icon && txt) { in create_text()
171 static lv_obj_t * create_slider(lv_obj_t * parent, const char * icon, const char * txt, int32_t min… in create_slider() argument
174 lv_obj_t * obj = create_text(parent, icon, txt, LV_MENU_ITEM_BUILDER_VARIANT_2); in create_slider()
181 if(icon == NULL) { in create_slider()
188 static lv_obj_t * create_switch(lv_obj_t * parent, const char * icon, const char * txt, bool chk) in create_switch() argument
190 lv_obj_t * obj = create_text(parent, icon, txt, LV_MENU_ITEM_BUILDER_VARIANT_1); in create_switch()