lvgl-template-web/src/ui/screens.h
2023-04-18 14:03:56 +02:00

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*/