Lato version of Simplepp Clock

master
Hugh Barney 2022-12-08 20:12:47 +00:00
parent 8f535ff067
commit 55ca187d5d
8 changed files with 209 additions and 0 deletions

54
apps/lato/README.md Normal file
View File

@ -0,0 +1,54 @@
# Lato
A simple clock with the Lato font, with fast load and clock_info
![](screenshot1.png)
![](screenshot2.png)
![](screenshot3.png)
This clock is a Lato version of Simplest++. Simplest++ provided the
smallest example of a clock that supports 'fast load' and 'clock
info'. Lato takes this one step further and adds the lovely Lato
font. The clock is derived from Simplest++ and inspired by the
Pastel Clock.
## Usage
* When the screen is unlocked, tap at the bottom of the csreen on the information text.
It should change color showing it is selected.
* Swipe up or down to cycle through the info screens that can be displayed
when you have finished tap again towards the centre of the screen to unselect.
* Swipe left or right to change the type of info screens displayed (by default
there is only one type of data so this will have no effect)
* Settings are saved automatically and reloaded along with the clock.
## About Clock Info's
* The clock info modules enable all clocks to add the display of information to the clock face.
* The default clock_info module provides a display of battery %, Steps, Heart Rate and Altitude.
* Installing the [Sunrise ClockInfo](https://banglejs.com/apps/?id=clkinfosunrise) adds Sunrise and Sunset times into the list of info's.
## References
* [What is Fast Load and how does it work](http://www.espruino.com/Bangle.js+Fast+Load)
* [Clock Info Tutorial](http://www.espruino.com/Bangle.js+Clock+Info)
* [How to load modules through the IDE](https://github.com/espruino/BangleApps/blob/master/modules/README.md)
## With Thanks
* Gordon for support
* David Peer for his work on BW Clock
Written by: [Hugh Barney](https://github.com/hughbarney) For support
and discussion please post in the [Bangle JS
Forum](http://forum.espruino.com/microcosms/1424/)

138
apps/lato/app.js Normal file

File diff suppressed because one or more lines are too long

BIN
apps/lato/app.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

1
apps/lato/icon.js Normal file
View File

@ -0,0 +1 @@
require("heatshrink").decompress(atob("mEwwkA/4A/AH4AUiIAKCxXzC5c/C5PyC5cvC8PxC5cfLxNEABhgI+gXNp4X3//+9wAK96PJC6/zC5bvKC6//C5YWKC4nUoMUpoXS8lDn/zmlOC6NCA4ckC6Hkl4HD+QwCC5c+LoIsCoSKBMIPjC5tD//0olEp//mgXNmMRiYuBC4JjBBAYAK+MRj//CwIABBAgXkI5AXOiRyBC4J8BkIXN+dEoKnFiNEAYIXNa4sUC59EJAIACkIHBC5iMCoMTn/zmIuBSQIXODAMRAAKqDABikCAAqqBC8i8CAArCBC/n0C49PC5oA/AH4AIA=="))

16
apps/lato/metadata.json Normal file
View File

@ -0,0 +1,16 @@
{
"id": "lato",
"name": "Lato",
"version": "0.01",
"description": "A Lato Font clock with fast load and clock_info",
"readme": "README.md",
"icon": "app.png",
"screenshots": [{"url":"screenshot3.png"}],
"type": "clock",
"tags": "clock",
"supports": ["BANGLEJS2"],
"storage": [
{"name":"lato.app.js","url":"app.js"},
{"name":"lato.img","url":"icon.js","evaluate":true}
]
}

BIN
apps/lato/screenshot1..png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
apps/lato/screenshot2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
apps/lato/screenshot3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB