display text
parent
70bb045be0
commit
c7aea28a47
|
|
@ -4680,10 +4680,10 @@
|
||||||
"name": "Charging Status",
|
"name": "Charging Status",
|
||||||
"shortName":"ChargingStatus",
|
"shortName":"ChargingStatus",
|
||||||
"icon": "widget.png",
|
"icon": "widget.png",
|
||||||
"version":"0.1.14",
|
"version":"0.1.15",
|
||||||
"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",
|
||||||
"supports": ["BANGLEJS","BANGLEJS2"],
|
"supports": ["BANGLEJS","BANGLEJS2"],
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"chargingStatus.wid.js","url":"widget.js"}
|
{"name":"chargingStatus.wid.js","url":"widget.js"}
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,11 @@
|
||||||
|
|
||||||
function draw() {
|
function draw() {
|
||||||
g.reset();
|
g.reset();
|
||||||
//g.setColor("#FD0");
|
g.setColor("#FD0");
|
||||||
|
g.setFont("Vector", 26);
|
||||||
//if (Bangle.isCharging()) {
|
//if (Bangle.isCharging()) {
|
||||||
g.drawImage(atob("kEgwMB///34CB/8/AYv+AYX8AYd/AYP4AY3wAY3gAYXAAYcAEAOAAYgMBIQIPBAYX+gBGB/gDEgZDCAYcHAY0PAYUfAYxfHIYQDEOQX9AQI="), this.x, this.y);
|
// g.drawImage(atob("kEgwMB///34CB/8/AYv+AYX8AYd/AYP4AY3wAY3gAYXAAYcAEAOAAYgMBIQIPBAYX+gBGB/gDEgZDCAYcHAY0PAYUfAYxfHIYQDEOQX9AQI="), this.x, this.y);
|
||||||
//g.drawString('X',this.x,this.y)
|
g.drawString('PWR',this.x,this.y)
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue