improve docs

This commit is contained in:
lixianjing 2022-10-20 18:16:14 +08:00
parent 93dae81abe
commit 3fe46ba6a6
2 changed files with 9 additions and 0 deletions

View File

@ -135,4 +135,12 @@ static ret_t on_cmd_line(int argc, char* argv[]) {
#include "awtk_main.inc"
```
* 关闭命令行窗口
```c
#define APP_ENABLE_CONSOLE FALSE
#include "awtk_main.inc"
```
> 请参考[完整的例子](https://github.com/zlgopen/awtk-jerryscript/blob/master/src/c/main.c)

View File

@ -4,6 +4,7 @@
* 增加tk\_object\_to\_json函数。
* custom\_keys增加ENABLE\_CUSTOM\_KEYS宏(感谢兆坤提供补丁)
* 增加宏APP\_ENABLE\_CONSOLE控制命令窗口(感谢雨欣提供补丁)
* 完善awtk\_main.md(感谢雨欣提供补丁)
2022/10/19
* 删除了 image 控件中的 vg 修改,并完善了 canvas\_get\_vgcanvas 接口(感谢雨欣提供补丁)