mirror of
https://github.com/m5stack/m5stack-linux-dtoverlays.git
synced 2026-05-20 10:45:48 -07:00
61 lines
1.5 KiB
C
61 lines
1.5 KiB
C
// This file was generated by SquareLine Studio
|
|
// SquareLine Studio version: SquareLine Studio 1.2.2
|
|
// LVGL version: 8.2.0
|
|
// Project name: SquareLine_Project
|
|
|
|
#ifndef _SQUARELINE_PROJECT_UI_H
|
|
#define _SQUARELINE_PROJECT_UI_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if defined __has_include
|
|
#if __has_include("lvgl.h")
|
|
#include "lvgl.h"
|
|
#elif __has_include("lvgl/lvgl.h")
|
|
#include "lvgl/lvgl.h"
|
|
#else
|
|
#include "lvgl.h"
|
|
#endif
|
|
#else
|
|
#include "lvgl.h"
|
|
#endif
|
|
|
|
#include "ui_events.h"
|
|
void cover_pull_down_Animation(lv_obj_t * TargetObject, int delay);
|
|
void logo_popout_Animation(lv_obj_t * TargetObject, int delay);
|
|
void cover_pull_up_Animation(lv_obj_t * TargetObject, int delay);
|
|
void ui_event_Clock(lv_event_t * e);
|
|
extern lv_obj_t * ui_Clock;
|
|
extern lv_obj_t * ui_PanelBG;
|
|
extern lv_obj_t * ui_InfoPanel;
|
|
extern lv_obj_t * ui_LabelSysInfos;
|
|
extern lv_obj_t * ui_CoverPanel;
|
|
extern lv_obj_t * ui_LogoC;
|
|
extern lv_obj_t * ui_LogoM;
|
|
extern lv_obj_t * ui_Logo4;
|
|
extern lv_obj_t * ui_TimeMinute;
|
|
extern lv_obj_t * ui_TimeHour;
|
|
extern lv_obj_t * ui_ImageWeather;
|
|
extern lv_obj_t * ui____initial_actions0;
|
|
|
|
|
|
LV_IMG_DECLARE(ui_img_infobg_png); // assets\InfoBG.png
|
|
LV_IMG_DECLARE(ui_img_coverbg_png); // assets\CoverBG.png
|
|
LV_IMG_DECLARE(ui_img_sunny_png); // assets\Sunny.png
|
|
|
|
|
|
LV_FONT_DECLARE(ui_font_HarmonyOSSansSCLight);
|
|
LV_FONT_DECLARE(ui_font_HarmonyOSSansSCMedium);
|
|
LV_FONT_DECLARE(ui_font_HarmonyOSSansSCMedium16);
|
|
|
|
|
|
void ui_init(void);
|
|
|
|
#ifdef __cplusplus
|
|
} /*extern "C"*/
|
|
#endif
|
|
|
|
#endif
|