draw string

pull/1003/head
Sebastian Di Luzio 2021-12-04 20:56:59 +01:00
parent 5efc380b83
commit 4814120de6
2 changed files with 4 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.9", "version":"0.1.10",
"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

@ -18,9 +18,10 @@
function draw() { function draw() {
g.reset(); g.reset();
g.setColor("#FD0"); g.setColor("#FD0");
g.setFontVector(16);
//if (Bangle.isCharging()) { //if (Bangle.isCharging()) {
g.drawImage(chargingSymbol, this.x /* + 2 */ , this.y); // g.drawImage(chargingIcon, this.x /* + 2 */ , this.y);
//g.drawString('X',this.x,this.y) g.drawString('X',this.x,this.y)
//} //}
} }