mirror of https://github.com/espruino/BangleApps
display text
parent
70bb045be0
commit
c7aea28a47
|
@ -4680,10 +4680,10 @@
|
|||
"name": "Charging Status",
|
||||
"shortName":"ChargingStatus",
|
||||
"icon": "widget.png",
|
||||
"version":"0.1.14",
|
||||
"version":"0.1.15",
|
||||
"type": "widget",
|
||||
"description": "A simple widget that shows up whenever the watch starts charging.",
|
||||
"tags": "widget,battery",
|
||||
"tags": "widget",
|
||||
"supports": ["BANGLEJS","BANGLEJS2"],
|
||||
"storage": [
|
||||
{"name":"chargingStatus.wid.js","url":"widget.js"}
|
||||
|
|
|
@ -9,10 +9,11 @@
|
|||
|
||||
function draw() {
|
||||
g.reset();
|
||||
//g.setColor("#FD0");
|
||||
g.setColor("#FD0");
|
||||
g.setFont("Vector", 26);
|
||||
//if (Bangle.isCharging()) {
|
||||
g.drawImage(atob("kEgwMB///34CB/8/AYv+AYX8AYd/AYP4AY3wAY3gAYXAAYcAEAOAAYgMBIQIPBAYX+gBGB/gDEgZDCAYcHAY0PAYUfAYxfHIYQDEOQX9AQI="), this.x, this.y);
|
||||
//g.drawString('X',this.x,this.y)
|
||||
// g.drawImage(atob("kEgwMB///34CB/8/AYv+AYX8AYd/AYP4AY3wAY3gAYXAAYcAEAOAAYgMBIQIPBAYX+gBGB/gDEgZDCAYcHAY0PAYUfAYxfHIYQDEOQX9AQI="), this.x, this.y);
|
||||
g.drawString('PWR',this.x,this.y)
|
||||
//}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue