modified the battery icon in Meow to be a cat face. add pictures accordingly. doesnt work on pt

This commit is contained in:
ecarlett 2024-05-29 17:38:21 +02:00 committed by Eve C
parent f7333c66bd
commit 5d261f579d
6 changed files with 10 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -193,7 +193,7 @@ WatchFaceMeow::WatchFaceMeow(Controllers::DateTime& dateTimeController,
//Battery indicator //Battery indicator
logoPine = lv_img_create(lv_scr_act(), nullptr); logoPine = lv_img_create(lv_scr_act(), nullptr);
lv_img_set_src(logoPine, "F:/images/pine_small.bin"); lv_img_set_src(logoPine, "F:/images/cat_small.bin");
lv_obj_set_pos(logoPine, 15, 106); lv_obj_set_pos(logoPine, 15, 106);
lineBattery = lv_line_create(lv_scr_act(), nullptr); lineBattery = lv_line_create(lv_scr_act(), nullptr);
@ -565,7 +565,7 @@ bool WatchFaceMeow::IsAvailable(Pinetime::Controllers::FS& filesystem) {
} }
filesystem.FileClose(&file); filesystem.FileClose(&file);
if (filesystem.FileOpen(&file, "/images/pine_small.bin", LFS_O_RDONLY) < 0) { if (filesystem.FileOpen(&file, "/images/cat_small.bin", LFS_O_RDONLY) < 0) {
return false; return false;
} }

View file

@ -1,11 +1,18 @@
{ {
"pine_small" : { "pine_small" : {
"sources": "images/pine_logo.png", "sources": "images/pine_logo.png",
"color_format": "CF_TRUE_COLOR_ALPHA", "color_format": "CF_TRUE_COLOR_ALPHA",
"output_format": "bin", "output_format": "bin",
"binary_format": "ARGB8565_RBSWAP", "binary_format": "ARGB8565_RBSWAP",
"target_path": "/images/" "target_path": "/images/"
}, },
"cat_small" : {
"sources": "images/cat_clean.png",
"color_format": "CF_TRUE_COLOR_ALPHA",
"output_format": "bin",
"binary_format": "ARGB8565_RBSWAP",
"target_path": "/images/"
},
"navigation0" : { "navigation0" : {
"sources": "images/navigation0.png", "sources": "images/navigation0.png",
"color_format": "CF_INDEXED_1_BIT", "color_format": "CF_INDEXED_1_BIT",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB