mirror of https://github.com/espruino/BangleApps
updated image to a fuller red heart so easier to see
parent
b55d5269da
commit
86cb19a64e
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
|
@ -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 |
Loading…
Reference in New Issue