New version

pull/1141/head
David Peer 2021-12-19 13:01:58 +01:00
parent 3dd4351567
commit 1b92b2bbc4
6 changed files with 11 additions and 9 deletions

View File

@ -4487,7 +4487,7 @@
"name": "LCARS Clock",
"shortName":"LCARS",
"icon": "lcars.png",
"version":"0.07",
"version":"0.08",
"readme": "README.md",
"supports": ["BANGLEJS2"],
"description": "Library Computer Access Retrieval System (LCARS) clock.",

View File

@ -4,4 +4,5 @@
0.04: Inluded LCARS Logo.
0.05: Additional icons for (1) charging and (2) bat < 30%.
0.06: Fix - Alarm disabled, if clock was closed.
0.07: Added settings to adjust data that is shown for each row.
0.07: Added settings to adjust data that is shown for each row.
0.08: Smaller background for faster rendering. Full screen mode.

View File

@ -1,14 +1,15 @@
# LCARS clock
A simple LCARS inspired clock.
Note: To display the steps, its necessary to install
Note: To display the steps, its necessary (but still optional) to install
the [Pedometer widget](https://banglejs.com/apps/#pedometer%20widget).
## Features
* LCARS Style watch face
* Shows satate (charging, out of battery etc.)
* SHows data that can be configured (steps, HRM, temperature etc.)
* Shows different states (charging, out of battery, GPS on etc.)
* Shows customizable data (steps, HRM, battery, temperature etc.)
* Swipe left/right to activate an alarm
* Full-screen mode
## Icons
<div>Icons made by <a href="https://www.flaticon.com/authors/smashicons" title="Smashicons">Smashicons</a>, <a href="https://www.freepik.com" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>

View File

@ -170,7 +170,7 @@ function drawState(){
timeInMinutes % 4 == 1 ? iconMars :
timeInMinutes % 4 == 2 ? iconMoon :
iconEarth;
g.drawImage(iconImg, 120, 120);
g.drawImage(iconImg, 120, 118);
// Alarm within symbol
g.setFontAlign(-1, -1, 0);
@ -179,7 +179,7 @@ function drawState(){
if(isAlarmEnabled() > 0){
g.setFontAlign(0, 0, 0);
g.setColor(cWhite);
g.drawString(getAlarmMinutes(), 120+25, 120+25+1);
g.drawString(getAlarmMinutes(), 120+25, 118+25+1);
}
}
@ -200,7 +200,7 @@ function draw(){
drawHoriztonatlBgLine(cPurple, 120, 176, 81, 3);
drawHoriztonatlBgLine(cOrange, 35, 110, 87, 3);
drawHoriztonatlBgLine(cOrange, 120, 176, 87, 3);
drawHoriztonatlBgLine(cOrange, 20, 176, 172, 4);
drawHoriztonatlBgLine(cOrange, 20, 176, 171, 5);
// Draw logo
drawLock();
@ -218,7 +218,7 @@ function draw(){
var dayStr = locale.dow(currentDate, true).toUpperCase();
dayStr += " " + currentDate.getDate();
dayStr += " " + currentDate.getFullYear();
g.drawString(dayStr, 28, 60);
g.drawString(dayStr, 28, 58);
// Draw data
g.setColor(cWhite);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB