mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
update assets
This commit is contained in:
parent
a6775daa5b
commit
eb745d9cac
@ -14,7 +14,7 @@ ret_t assets_init(const char* theme) {
|
||||
return assets_init_default();
|
||||
} else if (tk_str_eq(theme, "dark")) {
|
||||
return assets_init_dark();
|
||||
} else {
|
||||
} else {
|
||||
log_debug("%s not support.\n", theme);
|
||||
return RET_NOT_IMPL;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
TK_CONST_DATA_ALIGN(const unsigned char ui_progress_circle[]) = {
|
||||
0x04,0x00,0x01,0x01,0x35,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,
|
||||
0x04,0x00,0x01,0x01,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,
|
||||
0x5f,0x63,0x69,0x72,0x63,0x6c,0x65,0x00,0x64,0x61,0x74,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,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,
|
||||
@ -14,45 +14,45 @@ TK_CONST_DATA_ALIGN(const unsigned char ui_progress_circle[]) = {
|
||||
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,0x00,0x00,0x00,0x00,0x6d,0x61,0x78,0x00,0x33,0x36,0x30,0x00,
|
||||
0x73,0x68,0x6f,0x77,0x5f,0x74,0x65,0x78,0x74,0x00,0x74,0x72,0x75,0x65,0x00,0x6c,0x69,0x6e,0x65,0x5f,
|
||||
0x63,0x61,0x70,0x00,0x72,0x6f,0x75,0x6e,0x64,0x00,0x61,0x6e,0x69,0x6d,0x61,0x74,0x69,0x6f,0x6e,0x00,
|
||||
0x76,0x61,0x6c,0x75,0x65,0x28,0x66,0x72,0x6f,0x6d,0x3d,0x30,0x2c,0x20,0x74,0x6f,0x3d,0x33,0x36,0x30,
|
||||
0x2c,0x20,0x79,0x6f,0x79,0x6f,0x5f,0x74,0x69,0x6d,0x65,0x73,0x3d,0x31,0x30,0x30,0x30,0x2c,0x20,0x64,
|
||||
0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x33,0x30,0x30,0x30,0x2c,0x20,0x65,0x61,0x73,0x69,0x6e,0x67,
|
||||
0x3d,0x73,0x69,0x6e,0x5f,0x69,0x6e,0x6f,0x75,0x74,0x29,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,
|
||||
0x73,0x73,0x5f,0x63,0x69,0x72,0x63,0x6c,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x63,0x61,0x70,0x00,0x73,0x71,0x75,0x61,0x72,0x65,0x00,0x61,0x6e,0x69,0x6d,0x61,0x74,0x69,0x6f,0x6e,
|
||||
0x00,0x76,0x61,0x6c,0x75,0x65,0x28,0x66,0x72,0x6f,0x6d,0x3d,0x30,0x2c,0x20,0x74,0x6f,0x3d,0x33,0x36,
|
||||
0x30,0x2c,0x20,0x79,0x6f,0x79,0x6f,0x5f,0x74,0x69,0x6d,0x65,0x73,0x3d,0x31,0x30,0x30,0x30,0x2c,0x20,
|
||||
0x64,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x33,0x30,0x30,0x30,0x2c,0x20,0x65,0x61,0x73,0x69,0x6e,
|
||||
0x67,0x3d,0x73,0x69,0x6e,0x5f,0x69,0x6e,0x6f,0x75,0x74,0x29,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,
|
||||
0x65,0x73,0x73,0x5f,0x63,0x69,0x72,0x63,0x6c,0x65,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,0x00,0x00,
|
||||
0x00,0x00,0x6d,0x61,0x78,0x00,0x33,0x36,0x30,0x00,0x73,0x68,0x6f,0x77,0x5f,0x74,0x65,0x78,0x74,0x00,
|
||||
0x74,0x72,0x75,0x65,0x00,0x73,0x74,0x61,0x72,0x74,0x5f,0x61,0x6e,0x67,0x6c,0x65,0x00,0x39,0x30,0x00,
|
||||
0x6c,0x69,0x6e,0x65,0x5f,0x63,0x61,0x70,0x00,0x72,0x6f,0x75,0x6e,0x64,0x00,0x61,0x6e,0x69,0x6d,0x61,
|
||||
0x74,0x69,0x6f,0x6e,0x00,0x76,0x61,0x6c,0x75,0x65,0x28,0x66,0x72,0x6f,0x6d,0x3d,0x30,0x2c,0x20,0x74,
|
||||
0x6f,0x3d,0x33,0x30,0x30,0x2c,0x20,0x79,0x6f,0x79,0x6f,0x5f,0x74,0x69,0x6d,0x65,0x73,0x3d,0x31,0x30,
|
||||
0x30,0x30,0x2c,0x20,0x64,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x33,0x30,0x30,0x30,0x2c,0x20,0x65,
|
||||
0x61,0x73,0x69,0x6e,0x67,0x3d,0x73,0x69,0x6e,0x5f,0x69,0x6e,0x6f,0x75,0x74,0x29,0x00,0x00,0x00,0x70,
|
||||
0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x63,0x69,0x72,0x63,0x6c,0x65,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,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,0x6c,0x65,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x6d,
|
||||
0x61,0x78,0x00,0x33,0x36,0x30,0x00,0x73,0x68,0x6f,0x77,0x5f,0x74,0x65,0x78,0x74,0x00,0x74,0x72,0x75,
|
||||
0x65,0x00,0x73,0x74,0x61,0x72,0x74,0x5f,0x61,0x6e,0x67,0x6c,0x65,0x00,0x2d,0x32,0x31,0x33,0x00,0x61,
|
||||
0x6e,0x69,0x6d,0x61,0x74,0x69,0x6f,0x6e,0x00,0x76,0x61,0x6c,0x75,0x65,0x28,0x66,0x72,0x6f,0x6d,0x3d,
|
||||
0x30,0x2c,0x20,0x74,0x6f,0x3d,0x33,0x30,0x30,0x2c,0x20,0x79,0x6f,0x79,0x6f,0x5f,0x74,0x69,0x6d,0x65,
|
||||
0x73,0x3d,0x31,0x30,0x30,0x30,0x2c,0x20,0x64,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x33,0x30,0x30,
|
||||
0x30,0x2c,0x20,0x65,0x61,0x73,0x69,0x6e,0x67,0x3d,0x73,0x69,0x6e,0x5f,0x69,0x6e,0x6f,0x75,0x74,0x29,
|
||||
0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x63,0x69,0x72,0x63,0x6c,0x65,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,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,0x6c,0x65,0x00,0x69,0x6d,0x61,
|
||||
0x67,0x65,0x00,0x6d,0x61,0x78,0x00,0x31,0x30,0x30,0x00,0x73,0x68,0x6f,0x77,0x5f,0x74,0x65,0x78,0x74,
|
||||
0x00,0x00,0x00,0x6d,0x61,0x78,0x00,0x33,0x36,0x30,0x00,0x73,0x68,0x6f,0x77,0x5f,0x74,0x65,0x78,0x74,
|
||||
0x00,0x74,0x72,0x75,0x65,0x00,0x73,0x74,0x61,0x72,0x74,0x5f,0x61,0x6e,0x67,0x6c,0x65,0x00,0x39,0x30,
|
||||
0x00,0x73,0x74,0x61,0x72,0x74,0x5f,0x61,0x6e,0x67,0x6c,0x65,0x00,0x2d,0x32,0x32,0x35,0x00,0x63,0x6f,
|
||||
0x75,0x6e,0x74,0x65,0x72,0x5f,0x63,0x6c,0x6f,0x63,0x6b,0x5f,0x77,0x69,0x73,0x65,0x00,0x74,0x72,0x75,
|
||||
0x65,0x00,0x75,0x6e,0x69,0x74,0x00,0x25,0x00,0x61,0x6e,0x69,0x6d,0x61,0x74,0x69,0x6f,0x6e,0x00,0x76,
|
||||
0x61,0x6c,0x75,0x65,0x28,0x66,0x72,0x6f,0x6d,0x3d,0x31,0x30,0x2c,0x20,0x74,0x6f,0x3d,0x31,0x30,0x30,
|
||||
0x2c,0x20,0x79,0x6f,0x79,0x6f,0x5f,0x74,0x69,0x6d,0x65,0x73,0x3d,0x31,0x30,0x30,0x30,0x2c,0x20,0x64,
|
||||
0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x33,0x30,0x30,0x30,0x2c,0x20,0x65,0x61,0x73,0x69,0x6e,0x67,
|
||||
0x3d,0x73,0x69,0x6e,0x5f,0x69,0x6e,0x6f,0x75,0x74,0x29,0x00,0x00,0x00,0x00,0x62,0x75,0x74,0x74,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,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x1e,
|
||||
0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,
|
||||
0x6c,0x74,0x28,0x78,0x3d,0x63,0x65,0x6e,0x74,0x65,0x72,0x2c,0x79,0x3d,0x62,0x6f,0x74,0x74,0x6f,0x6d,
|
||||
0x3a,0x31,0x30,0x2c,0x77,0x3d,0x32,0x35,0x25,0x2c,0x68,0x3d,0x33,0x30,0x29,0x00,0x6e,0x61,0x6d,0x65,
|
||||
0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,};/*1125*/
|
||||
0x00,0x6c,0x69,0x6e,0x65,0x5f,0x63,0x61,0x70,0x00,0x73,0x71,0x75,0x61,0x72,0x65,0x00,0x61,0x6e,0x69,
|
||||
0x6d,0x61,0x74,0x69,0x6f,0x6e,0x00,0x76,0x61,0x6c,0x75,0x65,0x28,0x66,0x72,0x6f,0x6d,0x3d,0x30,0x2c,
|
||||
0x20,0x74,0x6f,0x3d,0x33,0x30,0x30,0x2c,0x20,0x79,0x6f,0x79,0x6f,0x5f,0x74,0x69,0x6d,0x65,0x73,0x3d,
|
||||
0x31,0x30,0x30,0x30,0x2c,0x20,0x64,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x33,0x30,0x30,0x30,0x2c,
|
||||
0x20,0x65,0x61,0x73,0x69,0x6e,0x67,0x3d,0x73,0x69,0x6e,0x5f,0x69,0x6e,0x6f,0x75,0x74,0x29,0x00,0x00,
|
||||
0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x63,0x69,0x72,0x63,0x6c,0x65,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,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,0x6c,0x65,0x00,0x69,0x6d,0x61,0x67,0x65,
|
||||
0x00,0x6d,0x61,0x78,0x00,0x33,0x36,0x30,0x00,0x73,0x68,0x6f,0x77,0x5f,0x74,0x65,0x78,0x74,0x00,0x74,
|
||||
0x72,0x75,0x65,0x00,0x73,0x74,0x61,0x72,0x74,0x5f,0x61,0x6e,0x67,0x6c,0x65,0x00,0x2d,0x32,0x31,0x33,
|
||||
0x00,0x61,0x6e,0x69,0x6d,0x61,0x74,0x69,0x6f,0x6e,0x00,0x76,0x61,0x6c,0x75,0x65,0x28,0x66,0x72,0x6f,
|
||||
0x6d,0x3d,0x30,0x2c,0x20,0x74,0x6f,0x3d,0x33,0x30,0x30,0x2c,0x20,0x79,0x6f,0x79,0x6f,0x5f,0x74,0x69,
|
||||
0x6d,0x65,0x73,0x3d,0x31,0x30,0x30,0x30,0x2c,0x20,0x64,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x33,
|
||||
0x30,0x30,0x30,0x2c,0x20,0x65,0x61,0x73,0x69,0x6e,0x67,0x3d,0x73,0x69,0x6e,0x5f,0x69,0x6e,0x6f,0x75,
|
||||
0x74,0x29,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x63,0x69,0x72,0x63,0x6c,0x65,
|
||||
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,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,0x6c,0x65,0x00,0x69,
|
||||
0x6d,0x61,0x67,0x65,0x00,0x6d,0x61,0x78,0x00,0x31,0x30,0x30,0x00,0x73,0x68,0x6f,0x77,0x5f,0x74,0x65,
|
||||
0x78,0x74,0x00,0x74,0x72,0x75,0x65,0x00,0x73,0x74,0x61,0x72,0x74,0x5f,0x61,0x6e,0x67,0x6c,0x65,0x00,
|
||||
0x39,0x30,0x00,0x73,0x74,0x61,0x72,0x74,0x5f,0x61,0x6e,0x67,0x6c,0x65,0x00,0x2d,0x32,0x32,0x35,0x00,
|
||||
0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x5f,0x63,0x6c,0x6f,0x63,0x6b,0x5f,0x77,0x69,0x73,0x65,0x00,0x74,
|
||||
0x72,0x75,0x65,0x00,0x75,0x6e,0x69,0x74,0x00,0x25,0x00,0x61,0x6e,0x69,0x6d,0x61,0x74,0x69,0x6f,0x6e,
|
||||
0x00,0x76,0x61,0x6c,0x75,0x65,0x28,0x66,0x72,0x6f,0x6d,0x3d,0x31,0x30,0x2c,0x20,0x74,0x6f,0x3d,0x31,
|
||||
0x30,0x30,0x2c,0x20,0x79,0x6f,0x79,0x6f,0x5f,0x74,0x69,0x6d,0x65,0x73,0x3d,0x31,0x30,0x30,0x30,0x2c,
|
||||
0x20,0x64,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x33,0x30,0x30,0x30,0x2c,0x20,0x65,0x61,0x73,0x69,
|
||||
0x6e,0x67,0x3d,0x73,0x69,0x6e,0x5f,0x69,0x6e,0x6f,0x75,0x74,0x29,0x00,0x00,0x00,0x00,0x62,0x75,0x74,
|
||||
0x74,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,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x00,0x00,
|
||||
0x00,0x1e,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,
|
||||
0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x63,0x65,0x6e,0x74,0x65,0x72,0x2c,0x79,0x3d,0x62,0x6f,0x74,0x74,
|
||||
0x6f,0x6d,0x3a,0x31,0x30,0x2c,0x77,0x3d,0x32,0x35,0x25,0x2c,0x68,0x3d,0x33,0x30,0x29,0x00,0x6e,0x61,
|
||||
0x6d,0x65,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1127*/
|
||||
|
Binary file not shown.
@ -1,9 +1,9 @@
|
||||
<window >
|
||||
<view x="c" y="m" w="200" h="200" children_layout="default(r=2,c=2,s=5)">
|
||||
<progress_circle max="360" show_text="true" line_cap="round"
|
||||
<progress_circle max="360" show_text="true" line_cap="square"
|
||||
animation="value(from=0, to=360, yoyo_times=1000, duration=3000, easing=sin_inout)" />
|
||||
|
||||
<progress_circle max="360" show_text="true" start_angle="90" line_cap="round"
|
||||
<progress_circle max="360" show_text="true" start_angle="90" line_cap="square"
|
||||
animation="value(from=0, to=300, yoyo_times=1000, duration=3000, easing=sin_inout)" />
|
||||
|
||||
<progress_circle style="image" max="360" show_text="true" start_angle="-213"
|
||||
|
@ -428,7 +428,7 @@ extern TK_CONST_DATA_ALIGN(const unsigned char image_3[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char image_arrow_left_n[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char image_edit_clear_p[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char image_battery_2[]);
|
||||
#endif /*WITH_STB_IMAGE*/
|
||||
#endif/*WITH_STB_IMAGE*/
|
||||
#ifdef WITH_VGCANVAS
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char image_pointer_4[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char image_htest[]);
|
||||
@ -437,21 +437,21 @@ extern TK_CONST_DATA_ALIGN(const unsigned char image_china[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char image_pointer_1[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char image_pointer[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char image_girl[]);
|
||||
#endif /*WITH_VGCANVAS*/
|
||||
#endif/*WITH_VGCANVAS*/
|
||||
#if defined(WITH_STB_FONT) || defined(WITH_FT_FONT)
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char font_ap[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char font_default_full[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char font_default[]);
|
||||
#else /*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#else/*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char font_default_20[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char font_default_16[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char font_default_18[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char font_default_96[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char font_default_32[]);
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char font_default_24[]);
|
||||
#endif /*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#endif/*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
extern TK_CONST_DATA_ALIGN(const unsigned char script_dummy[]);
|
||||
#endif /*WITH_FS_RES*/
|
||||
#endif/*WITH_FS_RES*/
|
||||
|
||||
ret_t assets_init_dark(void) {
|
||||
assets_manager_t* am = assets_manager();
|
||||
@ -756,14 +756,14 @@ ret_t assets_init_dark(void) {
|
||||
assets_manager_add(am, font_ap);
|
||||
assets_manager_add(am, font_default_full);
|
||||
assets_manager_add(am, font_default);
|
||||
#else /*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#else/*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
assets_manager_add(am, font_default_20);
|
||||
assets_manager_add(am, font_default_16);
|
||||
assets_manager_add(am, font_default_18);
|
||||
assets_manager_add(am, font_default_96);
|
||||
assets_manager_add(am, font_default_32);
|
||||
assets_manager_add(am, font_default_24);
|
||||
#endif /*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#endif/*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#ifdef WITH_VGCANVAS
|
||||
assets_manager_add(am, image_pointer_4);
|
||||
assets_manager_add(am, image_htest);
|
||||
@ -772,7 +772,7 @@ ret_t assets_init_dark(void) {
|
||||
assets_manager_add(am, image_pointer_1);
|
||||
assets_manager_add(am, image_pointer);
|
||||
assets_manager_add(am, image_girl);
|
||||
#endif /*WITH_VGCANVAS*/
|
||||
#endif/*WITH_VGCANVAS*/
|
||||
assets_manager_add(am, script_dummy);
|
||||
#endif
|
||||
|
||||
|
@ -428,7 +428,7 @@
|
||||
#include "assets/default/inc/images/arrow_left_n.data"
|
||||
#include "assets/default/inc/images/edit_clear_p.data"
|
||||
#include "assets/default/inc/images/battery_2.data"
|
||||
#endif /*WITH_STB_IMAGE*/
|
||||
#endif/*WITH_STB_IMAGE*/
|
||||
#ifdef WITH_VGCANVAS
|
||||
#include "assets/default/inc/images/pointer_4.bsvg"
|
||||
#include "assets/default/inc/images/htest.bsvg"
|
||||
@ -437,21 +437,21 @@
|
||||
#include "assets/default/inc/images/pointer_1.bsvg"
|
||||
#include "assets/default/inc/images/pointer.bsvg"
|
||||
#include "assets/default/inc/images/girl.bsvg"
|
||||
#endif /*WITH_VGCANVAS*/
|
||||
#endif/*WITH_VGCANVAS*/
|
||||
#if defined(WITH_STB_FONT) || defined(WITH_FT_FONT)
|
||||
#include "assets/default/inc/fonts/ap.res"
|
||||
#include "assets/default/inc/fonts/default_full.res"
|
||||
#include "assets/default/inc/fonts/default.res"
|
||||
#else /*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#else/*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#include "assets/default/inc/fonts/default_20.data"
|
||||
#include "assets/default/inc/fonts/default_16.data"
|
||||
#include "assets/default/inc/fonts/default_18.data"
|
||||
#include "assets/default/inc/fonts/default_96.data"
|
||||
#include "assets/default/inc/fonts/default_32.data"
|
||||
#include "assets/default/inc/fonts/default_24.data"
|
||||
#endif /*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#endif/*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#include "assets/default/inc/scripts/dummy.res"
|
||||
#endif /*WITH_FS_RES*/
|
||||
#endif/*WITH_FS_RES*/
|
||||
|
||||
ret_t assets_init_default(void) {
|
||||
assets_manager_t* am = assets_manager();
|
||||
@ -756,14 +756,14 @@ ret_t assets_init_default(void) {
|
||||
assets_manager_add(am, font_ap);
|
||||
assets_manager_add(am, font_default_full);
|
||||
assets_manager_add(am, font_default);
|
||||
#else /*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#else/*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
assets_manager_add(am, font_default_20);
|
||||
assets_manager_add(am, font_default_16);
|
||||
assets_manager_add(am, font_default_18);
|
||||
assets_manager_add(am, font_default_96);
|
||||
assets_manager_add(am, font_default_32);
|
||||
assets_manager_add(am, font_default_24);
|
||||
#endif /*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#endif/*WITH_STB_FONT or WITH_FT_FONT*/
|
||||
#ifdef WITH_VGCANVAS
|
||||
assets_manager_add(am, image_pointer_4);
|
||||
assets_manager_add(am, image_htest);
|
||||
@ -772,7 +772,7 @@ ret_t assets_init_default(void) {
|
||||
assets_manager_add(am, image_pointer_1);
|
||||
assets_manager_add(am, image_pointer);
|
||||
assets_manager_add(am, image_girl);
|
||||
#endif /*WITH_VGCANVAS*/
|
||||
#endif/*WITH_VGCANVAS*/
|
||||
assets_manager_add(am, script_dummy);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user