Searched refs:imgbtn (Results 1 – 10 of 10) sorted by relevance
/lvgl-3.6.0/src/extra/widgets/imgbtn/ |
D | lv_imgbtn.c | 29 static void refr_img(lv_obj_t * imgbtn); 30 static lv_imgbtn_state_t suggest_state(lv_obj_t * imgbtn, lv_imgbtn_state_t state); 31 lv_imgbtn_state_t get_state(const lv_obj_t * imgbtn); 84 lv_imgbtn_t * imgbtn = (lv_imgbtn_t *)obj; in lv_imgbtn_set_src() local 86 imgbtn->img_src_left[state] = src_left; in lv_imgbtn_set_src() 87 imgbtn->img_src_mid[state] = src_mid; in lv_imgbtn_set_src() 88 imgbtn->img_src_right[state] = src_right; in lv_imgbtn_set_src() 126 lv_imgbtn_t * imgbtn = (lv_imgbtn_t *)obj; in lv_imgbtn_get_src_left() local 128 return imgbtn->img_src_left[state]; in lv_imgbtn_get_src_left() 140 lv_imgbtn_t * imgbtn = (lv_imgbtn_t *)obj; in lv_imgbtn_get_src_middle() local [all …]
|
D | lv_imgbtn.h | 77 void lv_imgbtn_set_src(lv_obj_t * imgbtn, lv_imgbtn_state_t state, const void * src_left, const voi… 86 void lv_imgbtn_set_state(lv_obj_t * imgbtn, lv_imgbtn_state_t state); 98 const void * lv_imgbtn_get_src_left(lv_obj_t * imgbtn, lv_imgbtn_state_t state); 106 const void * lv_imgbtn_get_src_middle(lv_obj_t * imgbtn, lv_imgbtn_state_t state); 114 const void * lv_imgbtn_get_src_right(lv_obj_t * imgbtn, lv_imgbtn_state_t state);
|
/lvgl-3.6.0/docs/widgets/extra/ |
D | imgbtn.md | 17 To set the image in a state, use the `lv_imgbtn_set_src(imgbtn, LV_IMGBTN_STATE_..., src_left, src_… 35 Instead of the regular `lv_obj_add/clear_state()` functions the `lv_imgbtn_set_state(imgbtn, LV_IMG… 55 .. include:: ../../../examples/widgets/imgbtn/index.rst
|
D | index.md | 12 imgbtn
|
D | animimg.md | 17 To set the image in a state, use the `lv_animimg_set_src(imgbtn, dsc[], num)`.
|
/lvgl-3.6.0/examples/widgets/imgbtn/ |
D | lv_example_imgbtn_1.py | 63 imgbtn1 = lv.imgbtn(lv.scr_act()) 64 imgbtn1.set_src(lv.imgbtn.STATE.RELEASED, imgbtn_left_dsc, imgbtn_mid_dsc, imgbtn_right_dsc)
|
D | index.rst | 5 .. lv_example:: widgets/imgbtn/lv_example_imgbtn_1
|
/lvgl-3.6.0/ |
D | component.mk | 22 src/extra/widgets/imgbtn \
|
/lvgl-3.6.0/src/extra/ |
D | README.md | 26 - 9 patch button: Similar to [lv_imgbtn](https://docs.lvgl.io/8.0/widgets/extra/imgbtn.html) but 9 …
|
/lvgl-3.6.0/docs/ |
D | CHANGELOG.md | 101 - fix(imgbtn): support LV_OBJ_FLAG_CHECKABLE [`385d999`](https://github.com/lvgl/lvgl/commit/385d99… 850 - docs(imgbtn) fix typo [`d792c5f`](https://github.com/littlevgl/lvgl/commit/d792c5f6c2e9d85c693e4f… 1078 - fix(imgbtn) displayed incorrect when the coordinate is negative [`2501`](https://github.com/lvgl… 1129 - fix(imgbtn) use the correct src in LV_EVENT_GET_SELF_SIZE [`04c515a`](https://github.com/lvgl/lvg… 1149 - fix(imgbtn) add lv_imgbtn_set_state [`26e15fa`](https://github.com/lvgl/lvgl/commit/26e15fa577f97… 1275 - fix(imgbtn) consider width==LV_SIZE_CONTENT if only mid. img is set [`7e49f48`](https://github.co… 1518 - fix(imgbtn) use the correct src in LV_EVENT_GET_SELF_SIZE 1544 - fix(imgbtn) consider width==LV_SIZE_CONTENT if only mid. img is set 1791 - fix(imgbtn) guess the closest available state with valid src 1812 - Fix imgbtn state change [all …]
|