项目总索引¶
本文档用于快速定位 EmbeddedGUI 仓库中的核心入口,帮助新用户、维护者和贡献者更快找到合适的文档、示例和源码。
先从哪里开始¶
如果你是第一次接触本项目,建议按下面顺序阅读:
getting_started/index- 环境搭建、首个示例、项目结构README.md- 项目定位、核心特性、快速开始architecture/index- 了解框架设计思路widgets/index- 查看控件能力与用法performance/index- 性能测试与分析size/index- 体积分析与资源占用
按目标查找¶
想快速跑起来¶
想看框架架构¶
Activity / Page / Virtual Stage:
architecture/virtual_stage
想看控件¶
想看应用场景¶
example/HelloSimple- 最小运行示例example/HelloBasic- 基础控件合集example/HelloActivity- Activity 生命周期example/HelloAPP- 多页面应用example/HelloVirtual- Virtual 控件example/HelloShowcase- 全量展示example/HelloPerformance- 性能分析example/HelloSizeAnalysis- 体积分析example/HelloSVGSpec- SVG 规范验证example/HelloUnitTest- 单元测试
想看资源系统¶
想看性能与体积¶
体积概览:
size/size_overview
想看移植与调试¶
移植总览:
porting/indexPC 移植:
porting/porting_pcSTM32 移植:
porting/porting_stm32自定义移植:
porting/porting_custom调试总览:
debug/index调试脚本:
debug/debug_scripts
想看 UI Designer¶
说明:Designer 已迁移到独立仓库,当前仓库保留运行时、示例与预览端口
按源码模块查找¶
核心运行时¶
src/core/- 事件循环、输入、定时器、焦点、显示管理src/widget/- 视图控件实现src/canvas/- 图形绘制src/anim/- 动画与插值器src/app/- Activity、Dialog、Toastsrc/image/- 图片解码与图片对象src/resource/- 内置字体与资源src/style/- 主题与样式src/mask/- 遮罩实现src/background/- 背景绘制src/font/- 字体系统src/utils/- 工具类与基础数据结构
平台移植¶
porting/pc/- PC SDL 模拟器porting/pc_test/- 无 SDL 的测试端口porting/qemu/- QEMU 端口porting/emscripten/- WebAssembly 端口porting/stm32g0/- STM32G0 示例移植porting/designer/- Designer 预览端口
按目标查找脚本¶
构建检查:
scripts/code_compile_check.py运行验证:
scripts/code_runtime_check.py体积分析:
scripts/size_analysis/main.py性能分析:
scripts/perf_analysis/main.py资源生成:
scripts/setup_resvg.pyWeb 构建:
scripts/web/录制与验证:
scripts/recording/
建议维护方式¶
如果你新增了文档、示例或 API,请同步更新本页的对应入口,让“看文档、找示例、查源码”始终保持一致。