Searched refs:src_mid (Results 1 – 4 of 4) sorted by relevance
/lvgl-latest/src/widgets/imagebutton/ |
D | lv_imagebutton.c | 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() [all …]
|
D | lv_imagebutton_private.h | 38 …lv_imagebutton_src_info_t src_mid[LV_IMAGEBUTTON_STATE_NUM]; /**< Store center images to each st… member
|
D | lv_imagebutton.h | 69 const void * src_mid,
|
/lvgl-latest/docs/details/widgets/ |
D | imagebutton.rst | 38 :cpp:expr:`lv_imagebutton_set_src(imagebutton, LV_IMAGEBUTTON_STATE_..., src_left, src_mid, src_rig… 44 If only ``src_mid`` is specified, the width of the widget will be set automatically to the
|