mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 23:21:53 +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
961c51083e
commit
13773a9b25
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
|
//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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,13 @@
|
||||||
"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",
|
||||||
|
|
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