-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
xianjimli
committed
Oct 19, 2019
1 parent
164844a
commit 086e1ae
Showing
362 changed files
with
3,992 additions
and
2,170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# 资源目录变更通知 | ||
|
||
为了支持多个主题在运行时实时切换,我们对目录结构做了一些调整: 在资源目录下增加主题子目录。 | ||
|
||
如: | ||
|
||
* 旧的目录结果如下: | ||
|
||
``` | ||
assets | ||
inc | ||
raw | ||
``` | ||
|
||
* 新的目录结果如下: | ||
|
||
``` | ||
assets | ||
default | ||
inc | ||
raw | ||
``` | ||
|
||
资源更新脚本也需要做相应改动: | ||
|
||
旧的 scripts/update\_res.py | ||
|
||
``` | ||
common.init(AWTK_ROOT, ASSETS_ROOT, ASSET_C); | ||
common.updateRes() | ||
``` | ||
|
||
新的 scripts/update\_res.py | ||
|
||
``` | ||
common.init(AWTK_ROOT, ASSETS_ROOT, 'default', ASSET_C); | ||
common.updateRes() | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
## arg\_desc\_flags\_t | ||
### 概述 | ||
参数描述范围常量定义。 | ||
|
||
### 常量 | ||
<p id="arg_desc_flags_t_consts"> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
## asset\_data\_type\_t | ||
### 概述 | ||
数据资源类型定义。 | ||
|
||
### 常量 | ||
<p id="asset_data_type_t_consts"> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
## asset\_font\_type\_t | ||
### 概述 | ||
字体资源类型定义。 | ||
|
||
### 常量 | ||
<p id="asset_font_type_t_consts"> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
## asset\_image\_type\_t | ||
### 概述 | ||
图片资源类型定义。 | ||
|
||
### 常量 | ||
<p id="asset_image_type_t_consts"> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
## asset\_script\_type\_t | ||
### 概述 | ||
脚本资源类型定义。 | ||
|
||
### 常量 | ||
<p id="asset_script_type_t_consts"> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
## asset\_type\_t | ||
### 概述 | ||
资源类型常量定义。 | ||
|
||
### 常量 | ||
<p id="asset_type_t_consts"> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
## asset\_ui\_type\_t | ||
### 概述 | ||
UI资源类型定义。 | ||
|
||
### 常量 | ||
<p id="asset_ui_type_t_consts"> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
## bitmap\_flag\_t | ||
### 概述 | ||
位图标志常量定义。 | ||
|
||
### 常量 | ||
<p id="bitmap_flag_t_consts"> | ||
|
||
|
Oops, something went wrong.