Home
last modified time | relevance | path

Searched refs:imgbtn (Results 1 – 10 of 10) sorted by relevance

/lvgl-3.7.0/src/extra/widgets/imgbtn/
Dlv_imgbtn.c29 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()
125 lv_imgbtn_t * imgbtn = (lv_imgbtn_t *)obj; in lv_imgbtn_get_src_left() local
127 return imgbtn->img_src_left[state]; in lv_imgbtn_get_src_left()
139 lv_imgbtn_t * imgbtn = (lv_imgbtn_t *)obj; in lv_imgbtn_get_src_middle() local
[all …]
Dlv_imgbtn.h77 void lv_imgbtn_set_src(lv_obj_t * imgbtn, lv_imgbtn_state_t state, const void * src_left, const voi…
85 void lv_imgbtn_set_state(lv_obj_t * imgbtn, lv_imgbtn_state_t state);
97 const void * lv_imgbtn_get_src_left(lv_obj_t * imgbtn, lv_imgbtn_state_t state);
105 const void * lv_imgbtn_get_src_middle(lv_obj_t * imgbtn, lv_imgbtn_state_t state);
113 const void * lv_imgbtn_get_src_right(lv_obj_t * imgbtn, lv_imgbtn_state_t state);
/lvgl-3.7.0/docs/widgets/extra/
Dimgbtn.md17 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
Dindex.md12 imgbtn
Danimimg.md17 To set the image in a state, use the `lv_animimg_set_src(imgbtn, dsc[], num)`.
/lvgl-3.7.0/examples/widgets/imgbtn/
Dlv_example_imgbtn_1.py63 imgbtn1 = lv.imgbtn(lv.scr_act())
64 imgbtn1.set_src(lv.imgbtn.STATE.RELEASED, imgbtn_left_dsc, imgbtn_mid_dsc, imgbtn_right_dsc)
Dindex.rst5 .. lv_example:: widgets/imgbtn/lv_example_imgbtn_1
/lvgl-3.7.0/
Dcomponent.mk22 src/extra/widgets/imgbtn \
/lvgl-3.7.0/src/extra/
DREADME.md26 - 9 patch button: Similar to [lv_imgbtn](https://docs.lvgl.io/8.0/widgets/extra/imgbtn.html) but 9 …
/lvgl-3.7.0/docs/
DCHANGELOG.md101 - 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 …]