33 lines
794 B
C
33 lines
794 B
C
#pragma once
|
|
#include "meteofrance.h"
|
|
#include "esp_lvgl_port.h"
|
|
#include "bsp/esp-bsp.h"
|
|
|
|
void app_main_display();
|
|
void init_display();
|
|
|
|
bool display_lock(const char *TAG);
|
|
|
|
void display_unlock(const char *TAG);
|
|
|
|
void meteo_obs_cb(lv_observer_t *observer, lv_subject_t *subject);
|
|
|
|
void showMeteoIcon(const char *icon, lv_obj_t *desc_icon, int childNr);
|
|
|
|
void draw_tabVolets();
|
|
void draw_ihm();
|
|
|
|
void weather_data_retreived_start();
|
|
|
|
void weather_data_retreived(meteodailyforecast_data dailyDatas[3], meteoforecast_data datas[3]);
|
|
|
|
void draw_time(char * dateHeure);
|
|
void show_temp(char * tempHumid);
|
|
void draw_tabMeteo(lv_obj_t * parent);
|
|
|
|
void tabChgEvt(lv_event_t *event);
|
|
|
|
void draw_tabCuve(lv_obj_t * parent);
|
|
void draw_tabHome(lv_obj_t * parent);
|
|
void draw_tabSettings(lv_obj_t * parent);
|