update assets

This commit is contained in:
xianjimli 2019-10-19 07:42:18 +08:00
parent 28d7d955aa
commit 164844aab4
14 changed files with 6 additions and 6 deletions

View File

@ -44,7 +44,7 @@ TK_CONST_DATA_ALIGN(const unsigned char style_system_bar[]) = {
0x74,0x65,0x78,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0xff,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x69,0x63,0x6f,0x6e,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x63,0x6c,0x6f,0x73,0x65,0x5f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

View File

@ -12,7 +12,7 @@
<digit_clock>
<style name="time">
<normal text_color="white" />
<normal text_color="green" />
</style>
</digit_clock>

View File

@ -95,7 +95,7 @@ def themegen(raw, inc):
def themegen_bin(raw, bin):
input=joinPath(INPUT_DIR, raw)
output=joinPath(OUTPUT_DIR, bin)
output=joinPath(INPUT_DIR, bin)
if(os.path.isfile(input)):
execCmd(toExe('themegen') + ' ' + input + ' ' + output + ' bin')
@ -109,7 +109,7 @@ def strgen(raw, inc):
def strgen_bin(raw, bin):
input=joinPath(INPUT_DIR, raw)
output=joinPath(OUTPUT_DIR, bin)
output=joinPath(INPUT_DIR, bin)
if(os.path.isfile(input)):
execCmd(toExe('strgen') + ' ' + input + ' ' + output + ' bin')

View File

@ -12,7 +12,7 @@
#include <string>
using std::string;
#define TTF_FILE TK_ROOT "/tests/testdata/assets/raw/fonts/starthere.ttf"
#define TTF_FILE TK_ROOT "/tests/testdata/assets/default/raw/fonts/starthere.ttf"
#define BUFF_SIZE 1024 * 1024
TEST(FontGen, basic) {

View File

@ -82,7 +82,7 @@ TEST(ImageManager, locale) {
#ifdef WITH_FS_RES
TEST(ImageManager, fs) {
bitmap_t bmp;
const char* filename = "file://./demos/assets/raw/images/xx/flag_CN.png";
const char* filename = "file://./demos/assets/default/raw/images/xx/flag_CN.png";
memset(&bmp, 0x00, sizeof(bmp));
ASSERT_EQ(image_manager_get_bitmap(image_manager(), filename, &bmp), RET_OK);

View File

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 401 B

View File

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 401 B

View File

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 401 B

View File

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 401 B