suppression (temporaire ?) plans volets
This commit is contained in:
parent
20e04e0de2
commit
7715f8b153
@ -235,7 +235,7 @@ static void event_handler(lv_event_t *e)
|
||||
|
||||
void init_display(){
|
||||
lvgl_port_cfg_t lvgl_cfg = ESP_LVGL_PORT_INIT_CONFIG();
|
||||
//lvgl_cfg.task_priority=15;
|
||||
lvgl_cfg.task_priority=15;
|
||||
bsp_display_cfg_t cfg = {
|
||||
.lvgl_port_cfg = lvgl_cfg,
|
||||
.buffer_size = 1024*600,//BSP_LCD_DRAW_BUFF_SIZE,
|
||||
@ -438,8 +438,8 @@ void meteo_obs_cb(lv_observer_t *observer, lv_subject_t *subject)
|
||||
}
|
||||
}
|
||||
|
||||
LV_IMAGE_DECLARE(plan_rdc);
|
||||
LV_IMAGE_DECLARE(plan_etage);
|
||||
//LV_IMAGE_DECLARE(plan_rdc);
|
||||
//LV_IMAGE_DECLARE(plan_etage);
|
||||
|
||||
static lv_style_t style_container;
|
||||
|
||||
@ -956,7 +956,7 @@ void draw_tabVolets(lv_obj_t* parent)
|
||||
{275, 115},
|
||||
{295, 185}};
|
||||
lv_obj_t *img = lv_image_create(cont_rdc);
|
||||
lv_img_set_src(img, &plan_rdc);
|
||||
//lv_img_set_src(img, &plan_rdc);
|
||||
float coef = 1.5;
|
||||
for (size_t i = 1; i < 8; i++)
|
||||
{
|
||||
@ -998,7 +998,7 @@ void draw_tabVolets(lv_obj_t* parent)
|
||||
lv_obj_add_style(cont_etage, &no_padding, 0);
|
||||
|
||||
img = lv_image_create(cont_etage);
|
||||
lv_img_set_src(img, &plan_etage);
|
||||
//lv_img_set_src(img, &plan_etage);
|
||||
|
||||
lv_point_t positions_etage[] = {
|
||||
{100, 15},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user