18 lines
496 B
C
18 lines
496 B
C
#pragma once
|
|
|
|
#include <lvgl.h>
|
|
#include "Display_ST7789.h"
|
|
|
|
#define LVGL_WIDTH (LCD_WIDTH)
|
|
#define LVGL_HEIGHT LCD_HEIGHT
|
|
#define LVGL_BUF_LEN (LVGL_WIDTH * LVGL_HEIGHT / 20)
|
|
#define EXAMPLE_LVGL_TICK_PERIOD_MS 5
|
|
|
|
void Lvgl_Init(void);
|
|
void Timer_Loop(void);
|
|
void Ui_SetWifiStatus(const char *text);
|
|
void Ui_ClearNetworkList(void);
|
|
void Ui_AddNetwork(const char* text, int index);
|
|
void Ui_SetNetworkColor(int index, lv_color_t color);
|
|
void Ui_SetNetworkText(int index, const char* text);
|