refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale
This commit is contained in:
@@ -5,7 +5,7 @@ void lv_example_menu_1(void)
|
||||
{
|
||||
/*Create a menu object*/
|
||||
lv_obj_t * menu = lv_menu_create(lv_scr_act());
|
||||
lv_obj_set_size(menu, lv_disp_get_hor_res(NULL), lv_disp_get_ver_res(NULL));
|
||||
lv_obj_set_size(menu, lv_display_get_horizontal_resolution(NULL), lv_display_get_vertical_resolution(NULL));
|
||||
lv_obj_center(menu);
|
||||
|
||||
lv_obj_t * cont;
|
||||
|
||||
Reference in New Issue
Block a user