51 lines
1.1 KiB
C
51 lines
1.1 KiB
C
#pragma once
|
|
#include <time.h>
|
|
#include "meteofrance.h"
|
|
#include "lvgl.h"
|
|
#include "model.h"
|
|
|
|
void app_main_display();
|
|
void app_ota_display();
|
|
void setOTAProgress(int value);
|
|
void init_display_ihm();
|
|
|
|
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 meteoCb(lv_obj_t *base_obj);
|
|
void createBackBtn(lv_obj_t *ontainer);
|
|
void initHome();
|
|
void drawHome();
|
|
|
|
void draw_time(struct tm *dateHeure);
|
|
void draw_tempExt(char *tempHumid);
|
|
void draw_minuteur(char *txt);
|
|
void draw_minuteurStop();
|
|
void draw_temp(char *tempHumid);
|
|
|
|
void draw_meteo(meteo_event_payload_t *meteo);
|
|
|
|
void create_card();
|
|
|
|
void weather_data_retreived_start();
|
|
|
|
void weather_data_retreived(meteo_event_payload_t *datas);
|
|
|
|
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);
|
|
|
|
void suspendIHM();
|
|
|
|
void drawIhm(void *pvParameter);
|