Chronowid README updates, screenshots, Pastel: leave space at bottom for Chronowid

pull/846/head
hughbarney 2021-10-14 18:55:13 +01:00
parent cd7e0292c4
commit 8d808fa72c
5 changed files with 16 additions and 11 deletions

View File

@ -1421,7 +1421,7 @@
"icon": "chrono.png",
"version":"0.01",
"description": "Single click BTN1 to add 5 minutes. Single click BTN2 to add 30 seconds. Single click BTN3 to add 5 seconds. Tap to pause or play to timer. Double click BTN1 to reset. When timer finishes the watch vibrates.",
"tags": "Tools",
"tags": "tool",
"storage": [
{"name":"chrono.app.js","url":"chrono.js"},
{"name":"chrono.img","url":"chrono-icon.js","evaluate":true}
@ -1562,7 +1562,7 @@
"icon": "app.png",
"version":"0.03",
"description": "Chronometer (timer) which runs as widget.",
"tags": "tools,widget",
"tags": "tool,widget,b2",
"readme": "README.md",
"storage": [
{"name":"chronowid.wid.js","url":"widget.js"},
@ -3502,7 +3502,7 @@
"name": "Pastel Clock",
"shortName": "Pastel",
"icon": "pastel.png",
"version":"0.03",
"version":"0.04",
"description": "A Configurable clock with custom fonts and background",
"tags": "clock,b2",
"type":"clock",

View File

@ -5,11 +5,15 @@ The advantage is, that you can still see your normal watchface and other widgets
The widget is always active, but only shown when the timer is on.
Hours, minutes, seconds and timer status can be set with an app.
Depending on when you start the timer, it may alert up to 0,999 seconds early. This is because it checks only for full seconds. When there is less than one seconds left, it buzzes. This cannot be avoided without checking more than every second, which I would like to avoid.
When there is less than one seconds left on the timer it buzzes.
The widget has been tested on Bangle 1 and Bangle 2
## Screenshots
TBD
![](chrono_with_wave.jpg)
![](chrono_with_pastel.jpg)
## Features

View File

@ -1,3 +1,4 @@
0.01: First release
0.02: Display 12 hour clock as 12:xx not 00:xx when just into PM
0.03: Make it work with Gadgetbridge, Notifications fullscreen on a Bangle 2
0.04: Leave space at the bottom for Chrono widget, set back option at first option

View File

@ -87,19 +87,19 @@ function draw() {
// avoid flicker on a bangle 1 by comparing with previous minute
if (mm_prev != mm) {
mm_prev = mm;
g.clearRect(0, 30, w, h);
g.clearRect(0, 30, w, h - 24);
}
} else {
// on a b2 safe to just clear anyway as there is no flicker
g.clearRect(0, 30, w, h);
g.clearRect(0, 30, w, h - 24);
}
// draw a grid like graph paper
if (settings.grid && process.env.HWVERSION !=1) {
g.setColor("#0f0");
for (var gx=20; gx <= w; gx += 20)
g.drawLine(gx, 30, gx, h);
for (var gy=30; gy <= h; gy += 20)
g.drawLine(gx, 30, gx, h - 24);
for (var gy=30; gy <= h - 24; gy += 20)
g.drawLine(0, gy, w, gy);
}

View File

@ -26,6 +26,7 @@
E.showMenu({
'': { 'title': 'Pastel Clock' },
'< Back': back,
'Font': {
value: 0 | font_options.indexOf(s.font),
min: 0, max: 4,
@ -50,7 +51,6 @@
s.date = !s.date
save()
},
},
'< Back': back,
}
})
})