refactor(btn, img): rename btn to button and img to image
This commit is contained in:
@@ -49,7 +49,7 @@ void lv_example_checkbox_2(void)
|
||||
lv_style_set_radius(&style_radio, LV_RADIUS_CIRCLE);
|
||||
|
||||
lv_style_init(&style_radio_chk);
|
||||
lv_style_set_bg_img_src(&style_radio_chk, NULL);
|
||||
lv_style_set_bg_image_src(&style_radio_chk, NULL);
|
||||
|
||||
uint32_t i;
|
||||
char buf[32];
|
||||
|
||||
@@ -19,7 +19,7 @@ class LV_Example_Checkbox_2:
|
||||
self.style_radio_chk = lv.style_t()
|
||||
self.style_radio_chk.init()
|
||||
self.style_radio_chk.init()
|
||||
self.style_radio_chk.set_bg_img_src(None)
|
||||
self.style_radio_chk.set_bg_image_src(None)
|
||||
|
||||
self.cont1 = lv.obj(lv.scr_act())
|
||||
self.cont1.set_flex_flow(lv.FLEX_FLOW.COLUMN)
|
||||
|
||||
Reference in New Issue
Block a user