awtk/demos
2018-12-15 17:22:05 +08:00
..
assets fix layout bug 2018-12-14 12:44:27 +08:00
.gitignore add prefix_xml_ui tool and update docs 2018-03-11 11:26:12 +08:00
assets-mini.c fix stmf103 2018-08-24 07:57:27 +08:00
assets.c improve digit clock 2018-12-11 15:20:52 +08:00
assets.h split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
common.inc improve mem manager, support memory leak 2018-10-04 11:14:59 +08:00
demo1_app.c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
demo_animator_app.c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
demo_desktop.c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
demo_main.c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
demo_thread_app.c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
demo_tr_app.c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
demo_ui_app.c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
demo_vg_app.c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
preview_ui.c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
README.md update docs 2018-10-30 17:45:09 +08:00
SConscript rename resource to assets 2018-08-24 07:45:37 +08:00
SDL2.dll init 2018-02-21 19:36:38 +08:00
vg_common.inc support gradient 2018-12-07 12:42:54 +08:00

Demo程序

源文件和目录介绍

  • demo_main.c 所有入口函数。
  • demo1_app.c 演示按传统方式创建界面。
  • demo_ui_app.c 演示从UI资源文件中创建界面。
  • demo_animator_app.c 演示控件动画。
  • demo_desktop.c 演示开发桌面应用程序(使用原生输入法,可以调整窗口大小)。
  • demo_thread_app.c 演示非GUI线程操作GUI。
  • demo_vg_app.c 演示矢量图绘制。
  • preview_ui.c 预览UI文件。
  • assets.c 资源初始化代码。
  • common.inc 公共代码。
  • assets 资源文件夹。

可执行文件介绍

  • preview_ui 预览界面描述文件。
./bin/preview_ui demos/assets/raw/ui/main.xml
  • bin下的demo*可以直接运行。