2025-09-30 11:56:06 +08:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2023-2024, ArtInChip Technology Co., Ltd
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*
|
|
|
|
|
* Authors: ArtInChip
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _AIC_LV_DEMO_HUB_H
|
|
|
|
|
#define _AIC_LV_DEMO_HUB_H
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "lvgl.h"
|
|
|
|
|
#include "aic_ui.h"
|
|
|
|
|
|
|
|
|
|
typedef struct _layer_sys_ui {
|
|
|
|
|
lv_obj_t *home_btn;
|
|
|
|
|
} layer_sys_ui;
|
|
|
|
|
|
|
|
|
|
/* expand an interface for obtaining colors */
|
|
|
|
|
lv_color_t lv_theme_get_color_emphasize(lv_obj_t * obj);
|
|
|
|
|
|
|
|
|
|
void layer_sys_ui_visible(int flag);
|
|
|
|
|
void layer_sys_ui_invisible(int flag);
|
|
|
|
|
|
|
|
|
|
void demo_hub_init(void);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
} /*extern "C"*/
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|