mirror of https://github.com/espruino/BangleApps
Added changelog to last update
parent
d6b9083c91
commit
04753a4627
15
apps.json
15
apps.json
|
@ -78,7 +78,7 @@
|
||||||
{ "id": "mclock",
|
{ "id": "mclock",
|
||||||
"name": "Morphing Clock",
|
"name": "Morphing Clock",
|
||||||
"icon": "clock-morphing.png",
|
"icon": "clock-morphing.png",
|
||||||
"version":"0.02",
|
"version":"0.03",
|
||||||
"description": "7 segment clock that morphs between minutes and hours",
|
"description": "7 segment clock that morphs between minutes and hours",
|
||||||
"tags": "clock",
|
"tags": "clock",
|
||||||
"type":"clock",
|
"type":"clock",
|
||||||
|
@ -813,6 +813,19 @@
|
||||||
{"name":"torch.img","url":"app-icon.js","evaluate":true}
|
{"name":"torch.img","url":"app-icon.js","evaluate":true}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{ "id": "openstmap",
|
||||||
|
"name": "OpenStreetMap map",
|
||||||
|
"shortName":"OpenStMap",
|
||||||
|
"icon": "app.png",
|
||||||
|
"version":"0.01",
|
||||||
|
"description": "Loads map tiles from OpenStreetMap onto your Bangle",
|
||||||
|
"tags": "outdoors",
|
||||||
|
"custom": "custom.html",
|
||||||
|
"storage": [
|
||||||
|
{"name":"openstmap.app.js","url":"app.js"},
|
||||||
|
{"name":"openstmap.img","url":"app-icon.js","evaluate":true}
|
||||||
|
]
|
||||||
|
},
|
||||||
{ "id": "widid",
|
{ "id": "widid",
|
||||||
"name": "Bluetooth ID Widget",
|
"name": "Bluetooth ID Widget",
|
||||||
"icon": "widget.png",
|
"icon": "widget.png",
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
0.02: Modified for use with new bootloader and firmware
|
0.02: Modified for use with new bootloader and firmware
|
||||||
|
0.03: Added Locale based date
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
var locales = require("locale");
|
var locale = require("locale");
|
||||||
// Offscreen buffer
|
// Offscreen buffer
|
||||||
var buf = Graphics.createArrayBuffer(240,86,1,{msb:true});
|
var buf = Graphics.createArrayBuffer(240,86,1,{msb:true});
|
||||||
function flip() {
|
function flip() {
|
||||||
|
@ -146,7 +146,7 @@ function draw(lastText,thisText,n) {
|
||||||
buf.drawString(("0"+d.getSeconds()).substr(-2), x, y-8);
|
buf.drawString(("0"+d.getSeconds()).substr(-2), x, y-8);
|
||||||
// date
|
// date
|
||||||
buf.setFontAlign(0,-1);
|
buf.setFontAlign(0,-1);
|
||||||
var date = locales?locales.date(d,false):d.toString().substr(0,15);
|
var date = locale.date(d,false);
|
||||||
buf.drawString(date, buf.getWidth()/2, y+8);
|
buf.drawString(date, buf.getWidth()/2, y+8);
|
||||||
flip();
|
flip();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue