// This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.6.0
// LVGL version: 8.3.11
// Project name: Lcd_Pro

#ifndef UI_SCREENSET_H
#define UI_SCREENSET_H

#ifdef __cplusplus
extern "C" {
#endif

// SCREEN: ui_ScreenSet
extern void ui_ScreenSet_screen_init(void);
extern void ui_ScreenSet_screen_destroy(void);
extern void ui_event_ScreenSet( lv_event_t * e);
extern void ui_ScreenSet_set_previous(lv_obj_t **screen, void (*init_func)(void));  // 设置返回的界面
extern lv_obj_t *ui_ScreenSet;
extern lv_obj_t *ui_GlobalContainer;
extern lv_obj_t *ui_ContainerTop;
extern lv_obj_t *ui_ImgLowPower;
extern lv_obj_t *ui_ImgFlashlight;
extern lv_obj_t *ui_ImgDelete;
extern lv_obj_t *ui_ContainerCentral;
extern void ui_event_SliderBrightness( lv_event_t * e);
extern lv_obj_t *ui_SliderBrightness;
extern lv_obj_t *ui_ImgSun;
extern lv_obj_t *ui_LabelBrightness;
extern lv_obj_t *ui_ArcPowerLevel;
extern lv_obj_t *ui_ImgLightning;
extern lv_obj_t *ui_LabelPowerLevel;
// CUSTOM VARIABLES

// 手电筒功能
extern void flashlight_exit(void);         // 退出手电筒模式（不恢复亮度）
extern bool flashlight_is_active(void);    // 查询手电筒是否激活
extern uint8_t flashlight_get_saved_brightness(void);  // 获取手电筒模式前保存的亮度值

#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif

