+ rearranged files
+ improved ui log + added image browser - image loading fails at the moment - arrangement of ui in image browser not checked
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
#include "lvgl.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define LCD_H_RES (800)
|
||||
#define LCD_V_RES (480)
|
||||
|
||||
esp_err_t lcd_init(void);
|
||||
lv_display_t *lcd_get_display(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
typedef enum {
|
||||
UI_VIEW_LOG,
|
||||
UI_VIEW_IMAGE_BROWSER,
|
||||
} ui_view_t;
|
||||
|
||||
void ui_log_append(const char *text);
|
||||
void create_log_ui(void);
|
||||
void create_image_browser_ui(void);
|
||||
|
||||
void ui_switch_view_to(ui_view_t view);
|
||||
Reference in New Issue
Block a user