Lines Matching refs:src_mid

75 …_set_src(lv_obj_t * obj, lv_imagebutton_state_t state, const void * src_left, const void * src_mid,  in lv_imagebutton_set_src()  argument
82 if((src_left || src_right) && !src_mid) { in lv_imagebutton_set_src()
87 update_src_info(&imagebutton->src_mid[state], src_mid); in lv_imagebutton_set_src()
131 return imagebutton->src_mid[state].img_src; in lv_imagebutton_get_src_middle()
152 lv_memzero(&imagebutton->src_mid, sizeof(imagebutton->src_mid)); in lv_imagebutton_constructor()
181 imagebutton->src_mid[state].img_src != NULL && in lv_imagebutton_event()
183 p->x = LV_MAX(p->x, imagebutton->src_mid[state].header.w); in lv_imagebutton_event()
236 src_info = &imagebutton->src_mid[state]; in draw_main()
261 const void * src = imagebutton->src_mid[state].img_src; in refr_image()
265 lv_obj_set_height(obj, imagebutton->src_mid[state].header.h); /*Keep the user defined width*/ in refr_image()
280 if(imagebutton->src_mid[state].img_src == NULL) { in suggest_state()
283 …if(imagebutton->src_mid[LV_IMAGEBUTTON_STATE_RELEASED].img_src) return LV_IMAGEBUTTON_STATE_RELEAS… in suggest_state()
286 …if(imagebutton->src_mid[LV_IMAGEBUTTON_STATE_RELEASED].img_src) return LV_IMAGEBUTTON_STATE_RELEAS… in suggest_state()
289 …if(imagebutton->src_mid[LV_IMAGEBUTTON_STATE_CHECKED_RELEASED].img_src) return LV_IMAGEBUTTON_STAT… in suggest_state()
290 …if(imagebutton->src_mid[LV_IMAGEBUTTON_STATE_PRESSED].img_src) return LV_IMAGEBUTTON_STATE_PRESSED; in suggest_state()
291 …if(imagebutton->src_mid[LV_IMAGEBUTTON_STATE_RELEASED].img_src) return LV_IMAGEBUTTON_STATE_RELEAS… in suggest_state()
294 …if(imagebutton->src_mid[LV_IMAGEBUTTON_STATE_RELEASED].img_src) return LV_IMAGEBUTTON_STATE_RELEAS… in suggest_state()
297 …if(imagebutton->src_mid[LV_IMAGEBUTTON_STATE_CHECKED_RELEASED].img_src) return LV_IMAGEBUTTON_STAT… in suggest_state()
298 …if(imagebutton->src_mid[LV_IMAGEBUTTON_STATE_RELEASED].img_src) return LV_IMAGEBUTTON_STATE_RELEAS… in suggest_state()