update assets
@ -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,
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<digit_clock>
|
||||
<style name="time">
|
||||
<normal text_color="white" />
|
||||
<normal text_color="green" />
|
||||
</style>
|
||||
</digit_clock>
|
||||
|
||||
|
@ -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')
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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);
|
||||
|
Before Width: | Height: | Size: 401 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 401 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 401 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 401 B After Width: | Height: | Size: 401 B |