mirror of
https://github.com/eez-open/lvgl-template-web.git
synced 2026-11-17 05:58:55 +01:00
30 lines
491 B
C
30 lines
491 B
C
#ifndef EEZ_LVGL_UI_SCREENS_H
|
|
#define EEZ_LVGL_UI_SCREENS_H
|
|
|
|
#include <lvgl/lvgl.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct _objects_t {
|
|
lv_obj_t *Main;
|
|
lv_obj_t *_obj_button_1;
|
|
lv_obj_t *_obj_button_2;
|
|
lv_obj_t *_obj_label_0;
|
|
} objects_t;
|
|
|
|
extern objects_t objects;
|
|
|
|
void create_screen_main();
|
|
void tick_screen_main();
|
|
|
|
void create_screens();
|
|
void tick_screen(int screen_index);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /*EEZ_LVGL_UI_SCREENS_H*/ |