Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.2 KB

README.md

File metadata and controls

55 lines (43 loc) · 1.2 KB

ChappieUI

基于LvglChappieBsp的简单UI框架,UI框架实现简单App管理,启动器实现基础界面及App图形入口

使用App_Generator.py即可一键生成App:

python ./App_Generator.py

文件树

ChappieUI/
├── Apps
│   ├── App_Dino
│   ├── App_ESPNOW
│   ├── App_FFT
│   ├── App_Gamepad
│   ├── App_Generator.py
│   ├── AppRegister.h
│   ├── App_Settings
│   ├── App_StupidSnake
│   ├── AppTypedef.h
│   ├── App_Watch
│   ├── App_WifiTV
│   └── Resource
├── ChappieUIConfigs.h
├── ChappieUI.cpp
├── ChappieUI.h
├── Launcher
    ├── App_Launcher.cpp
    ├── App_Launcher.h
    └── UI

App结构

/* App名字 */
std::string App_Template_appName();

/* App图标 */
void* App_Template_appIcon();

/* App创建回调 */
void App_Template_onCreate();

/* App循环回调 */
void App_Template_onLoop();

/* App结束回调 */
void App_Template_onDestroy();