1
0
Fork 0

use 8bit image

master
Sebastian Di Luzio 2021-12-04 21:19:29 +01:00
parent 6b8c201ff2
commit 9ee26a66ef
2 changed files with 3 additions and 3 deletions

View File

@ -4680,7 +4680,7 @@
"name": "Charging Status", "name": "Charging Status",
"shortName":"ChargingStatus", "shortName":"ChargingStatus",
"icon": "widget.png", "icon": "widget.png",
"version":"0.1.12", "version":"0.1.13",
"type": "widget", "type": "widget",
"description": "A simple widget that shows up whenever the watch starts charging.", "description": "A simple widget that shows up whenever the watch starts charging.",
"tags": "widget,battery", "tags": "widget,battery",

View File

@ -9,9 +9,9 @@
function draw() { function draw() {
g.reset(); g.reset();
//g.setColor("#FD0"); g.setColor("#FD0");
//if (Bangle.isCharging()) { //if (Bangle.isCharging()) {
g.drawImage(atob("kEgwMB///34CB/8/AYv+AYX8AYd/AYP4AY3wAY3gAYXAAYcAEAOAAYgMBIQIPBAYX+gBGB/gDEgZDCAYcHAY0PAYUfAYxfHIYQDEOQX9AQI="), this.x /* + 2 */ , this.y); g.drawImage(atob("kEgxH+ACEACSIeMD/p1CDzwffH3wfbDwYf6DwgfZDwofgABAeeD74etH3yc+FCAfeDzAflDzIfEDzQfjDzYffH3wfCDzgfBCKAA="), this.x, this.y);
//g.drawString('X',this.x,this.y) //g.drawString('X',this.x,this.y)
//} //}
} }