updated image to a fuller red heart so easier to see

pull/3017/head
Hugh Barney 2023-09-14 17:53:35 +01:00
parent b55d5269da
commit 86cb19a64e
3 changed files with 6 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -9,10 +9,13 @@
WIDGETS.widhrt={area:"tr",width:24,draw:function() {
g.reset();
if (Bangle.isHRMOn()) {
g.setColor("#f00"); // on = red
g.setColor('#f00'); // on = red
} else {
g.setColor(g.theme.dark ? "#333" : "#CCC"); // off = grey
g.setColor(g.theme.dark ? '#fff' : '#000'); // off
}
g.drawImage(atob("FhaBAAAAAAAAAAAAAcDgD8/AYeGDAwMMDAwwADDAAMOABwYAGAwAwBgGADAwAGGAAMwAAeAAAwAAAAAAAAAAAAA="), 1+this.x, 1+this.y);
// image converter https://www.espruino.com/Image+Converter ; settings to get a fillable image
// 1 bit bw, transparency? Y, transparent bg, white heart (must be white for color fill)
g.drawImage(atob("FBSBAAAAAAAAAAAB+fg//8f//n//5//+f//n//5//+P//D//wf/4D/8Af+AB+AAPAABgAAAA"), 1+this.x, 1+this.y);
}};
})();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 848 B

After

Width:  |  Height:  |  Size: 1.3 KiB