X-AIOS-LT00-V1.0.4/sdk/X-AIOS-LT00/core/apps/launcher/home.h

27 lines
598 B
C
Raw Permalink Normal View History

2026-01-19 09:23:53 +00:00
#ifndef _HOME_H_
#define _HOME_H_
#include "lvgl/lvgl.h"
#include "launcher_res_map.h"
typedef struct {
lv_obj_t *bg_wnd;
lv_obj_t *body_view;
lv_obj_t **img_info;
int cur_selected;
int prev_selected;
int cur_focus_area;//0:app or 1:setting
} home_data_info;
typedef app_src_mapping xos_app_entry_t;
void launcher_body_init(lv_obj_t * parent);
void xos_home_sleep(void);
void xos_home_wakeup(void);
//
void qm_homebody_key_event_cb(lv_event_t *e);
lv_obj_t *qm_create_home_body(lv_obj_t *bg_wnd, home_data_info *pHome_data_info, int app_total_cnt);
#endif //_HOME_H_