refactor(btn, img): rename btn to button and img to image

This commit is contained in:
Gabor Kiss-Vamosi
2023-09-14 20:12:31 +02:00
parent e91786ce49
commit 09c12d0f9c
366 changed files with 3271 additions and 3222 deletions

View File

@@ -114,7 +114,7 @@ void view_create(lv_obj_t * par, view_t * ui)
static lv_obj_t * btn_create(lv_obj_t * par, const char * str, lv_color_t color)
{
lv_obj_t * btn = lv_btn_create(par);
lv_obj_t * btn = lv_button_create(par);
lv_obj_set_width(btn, lv_pct(30));
lv_obj_set_height(btn, 30);
lv_obj_set_style_border_width(btn, 0, LV_PART_MAIN);