mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
modified the battery icon in Meow to be a cat face. add pictures accordingly. doesnt work on pt
This commit is contained in:
parent
f7333c66bd
commit
5d261f579d
Binary file not shown.
BIN
draft_pictures/cat_clean.xcf
Normal file
BIN
draft_pictures/cat_clean.xcf
Normal file
Binary file not shown.
BIN
draft_pictures/cat_small.xcf
Normal file
BIN
draft_pictures/cat_small.xcf
Normal file
Binary file not shown.
|
@ -193,7 +193,7 @@ WatchFaceMeow::WatchFaceMeow(Controllers::DateTime& dateTimeController,
|
|||
|
||||
//Battery indicator
|
||||
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);
|
||||
|
||||
lineBattery = lv_line_create(lv_scr_act(), nullptr);
|
||||
|
@ -565,7 +565,7 @@ bool WatchFaceMeow::IsAvailable(Pinetime::Controllers::FS& filesystem) {
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,13 @@
|
|||
"binary_format": "ARGB8565_RBSWAP",
|
||||
"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" : {
|
||||
"sources": "images/navigation0.png",
|
||||
"color_format": "CF_INDEXED_1_BIT",
|
||||
|
|
BIN
src/resources/images/cat_clean.png
Normal file
BIN
src/resources/images/cat_clean.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in a new issue