mirror of https://github.com/espruino/BangleApps
attempt to draw what we want to see
parent
c320902fc6
commit
c2b731a972
|
@ -4680,7 +4680,7 @@
|
|||
"name": "Charging Status",
|
||||
"shortName":"ChargingStatus",
|
||||
"icon": "widget.png",
|
||||
"version":"0.1.4",
|
||||
"version":"0.1.5",
|
||||
"type": "widget",
|
||||
"description": "A simple widget that shows up whenever the watch starts charging.",
|
||||
"tags": "widget,battery",
|
||||
|
|
|
@ -11,8 +11,7 @@
|
|||
g.reset();
|
||||
g.setColor("#FD0"); // on = amber
|
||||
//if (Bangle.isCharging()) {
|
||||
g.drawImage(atob("GBiBAAAAAAAAAAAAAA//8B//+BgYGBgYGBgYGBgYGBgYGBgYGB//+B//+BgYGBgYGBgYGBgYGBgYGBgYGB//+A//8AAAAAAAAAAAAA=="), this.x, 2 + this.y);
|
||||
//g.setColor('#0f0').drawImage(atob("EBCBAf9//3/+f/x//P/4//gH8A/wD+Af/x//P/4//n/+//7/"), this.x, this.y);
|
||||
g.setColor('#0f0').drawImage(atob("EBCBAf9//3/+f/x//P/4//gH8A/wD+Af/x//P/4//n/+//7/"), this.x, this.y);
|
||||
//}
|
||||
}
|
||||
|
||||
|
@ -22,17 +21,6 @@
|
|||
draw: draw,
|
||||
};
|
||||
|
||||
function gpsDraw() {
|
||||
g.reset();
|
||||
g.setColor("#FD0"); // on = amber
|
||||
|
||||
g.drawImage(atob("GBiBAAAAAAAAAAAAAA//8B//+BgYGBgYGBgYGBgYGBgYGBgYGB//+B//+BgYGBgYGBgYGBgYGBgYGBgYGB//+A//8AAAAAAAAAAAAA=="), this.x, 2 + this.y);
|
||||
|
||||
}
|
||||
WIDGETS.gpsT = {
|
||||
area: "tr",
|
||||
width: 24,
|
||||
draw: gpsDraw
|
||||
};
|
||||
|
||||
})();
|
Loading…
Reference in New Issue