1
0
Fork 0

Merge pull request #2113 from thyttan/clocks-and-widgets

Clock apps tell clock widgets to hide.
master
Gordon Williams 2022-09-07 09:09:35 +01:00 committed by GitHub
commit df04960655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
146 changed files with 276 additions and 202 deletions

View File

@ -1,2 +1,3 @@
0.01: New App!
0.02: Fullscreen settings.
0.02: Fullscreen settings.
0.03: Tell clock widgets to hide.

View File

@ -115,6 +115,9 @@ function draw() {
}
}
// Show launcher when middle button pressed
Bangle.setUI("clock");
Bangle.loadWidgets();
// Clear the screen once, at startup
@ -140,5 +143,3 @@ Bangle.on('lock', function(isLocked) {
});
// Show launcher when middle button pressed
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "90sclk",
"name": "90s Clock",
"version": "0.02",
"version": "0.03",
"description": "A 90s style watch-face",
"readme": "README.md",
"icon": "app.png",

View File

@ -1,2 +1,3 @@
0.01: AdvCasio first version
0.02: Remove un-needed fonts to improve memory usage
0.03: Tell clock widgets to hide.

View File

@ -294,9 +294,10 @@ Bangle.on("lock", (locked) => {
});
Bangle.setUI("clock");
// Load widgets, but don't show them
Bangle.loadWidgets();
Bangle.setUI("clock");
g.reset();
g.clear();

View File

@ -1,7 +1,7 @@
{ "id": "advcasio",
"name": "Advanced Casio Clock",
"shortName":"advcasio",
"version":"0.02",
"version":"0.03",
"description": "An over-engineered clock inspired by Casio watches. It has a 4 days weather, a timer using swipe and a scratchpad. Can be updated using a dedicated webapp.",
"icon": "app.png",
"tags": "clock",

View File

@ -1,3 +1,5 @@
0.01: New App!
0.02: Fix bug if image clock wasn't installed
0.03: Update to use setUI
0.04: Tell clock widgets to hide. Move loadWidgets() so it only runs on
startup and not on every draw.

View File

@ -87,7 +87,6 @@ if (g.drawImages) {
draw();
var secondInterval = setInterval(draw,100);
// load widgets
Bangle.loadWidgets();
Bangle.drawWidgets();
// Stop when LCD goes off
Bangle.on('lcdPower',on=>{
@ -104,3 +103,5 @@ if (g.drawImages) {
}
// Show launcher when button pressed
Bangle.setUI("clock");
Bangle.loadWidgets();

View File

@ -2,7 +2,7 @@
"id": "animclk",
"name": "Animated Clock",
"shortName": "Anim Clock",
"version": "0.03",
"version": "0.04",
"description": "An animated clock face using Mark Ferrari's amazing 8 bit game art and palette cycling: http://www.markferrari.com/art/8bit-game-art",
"icon": "app.png",
"type": "clock",

View File

@ -1,3 +1,4 @@
0.01: Create astral clock app
0.02: Fixed Whirlpool galaxy RA/DA, larger compass display, fixed moonphase overlapping battery widget
0.03: Update to use Bangle.setUI instead of setWatch
0.04: Tell clock widgets to hide.

View File

@ -767,6 +767,24 @@ function draw() {
g.clear();
current_moonphase = getMoonPhase();
Bangle.setUI("clockupdown", btn => {
if (btn==0) {
if (!processing) {
if (!modeswitch) {
modeswitch = true;
if (mode == "planetary") mode = "extras";
else mode = "planetary";
}
else
modeswitch = false;
}
} else {
if (!processing)
ready_to_compute = true;
}
});
// Load widgets
Bangle.loadWidgets();
Bangle.drawWidgets();
@ -799,23 +817,6 @@ Bangle.setGPSPower(1);
// Show launcher when button pressed
Bangle.setClockMode();
Bangle.setUI("clockupdown", btn => {
if (btn==0) {
if (!processing) {
if (!modeswitch) {
modeswitch = true;
if (mode == "planetary") mode = "extras";
else mode = "planetary";
}
else
modeswitch = false;
}
} else {
if (!processing)
ready_to_compute = true;
}
});
setWatch(function () {
if (!astral_settings.astral_default) {
colours_switched = true;

View File

@ -1,7 +1,7 @@
{
"id": "astral",
"name": "Astral Clock",
"version": "0.03",
"version": "0.04",
"description": "Clock that calculates and displays Alt Az positions of all planets, Sun as well as several other astronomy targets (customizable) and current Moon phase. Coordinates are calculated by GPS & time and onscreen compass assists orienting. See Readme before using.",
"icon": "app-icon.png",
"type": "clock",

View File

@ -7,3 +7,4 @@
0.07: Step count resets at midnight
0.08: Step count stored in memory to survive reloads. Now shows step count daily and since last reboot.
0.09: NOW it really should reset daily (instead of every other day...)
0.10: Tell clock widgets to hide.

View File

@ -416,13 +416,13 @@ var layout = new Layout( {
// Clear the screen once, at startup
g.clear();
Bangle.setUI("clock");
Bangle.loadWidgets();
Bangle.drawWidgets();
Bangle.setUI("clock");
layout.render();
Bangle.on('lock', function(locked) {
if(!locked) {
layout.render();
}
});
});

View File

@ -2,7 +2,7 @@
"name": "Barcode clock",
"shortName":"Barcode clock",
"icon": "barcode.icon.png",
"version":"0.09",
"version":"0.10",
"description": "EAN-8 compatible barcode clock.",
"tags": "barcode,ean,ean-8,watchface,clock,clockface",
"type": "clock",

View File

@ -1,2 +1,3 @@
0.01: App Created!
0.02: Update to use Bangle.setUI instead of setWatch
0.03: Tell clock widgets to hide.

View File

@ -249,6 +249,9 @@ g.clear();
g.setColor(0, 0.5, 0).drawImage(bg_crack);
g.setColor(1, 1, 1).drawImage(batman);
// Show launcher when button pressed
Bangle.setUI("clock");
Bangle.loadWidgets();
Bangle.drawWidgets();
@ -256,5 +259,3 @@ Bangle.drawWidgets();
timeInterval = setInterval(showTime, 1000);
showTime();
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -2,7 +2,7 @@
"id": "batclock",
"name": "Bat Clock",
"shortName": "Bat Clock",
"version": "0.02",
"version": "0.03",
"description": "Morphing Clock, with an awesome \"The Dark Knight\" themed logo.",
"icon": "bat-clock.png",
"screenshots": [{"url":"screenshot.png"}],

View File

@ -1,2 +1,3 @@
0.02: Modified for use with new bootloader and firmware
0.03: Update to use Bangle.setUI instead of setWatch
0.04: Tell clock widgets to hide.

View File

@ -100,10 +100,12 @@ Bangle.on('lcdPower', on => {
if (on) drawClock();
});
// Show launcher when button pressed
Bangle.setUI("clock");
g.clear();
Bangle.loadWidgets();
Bangle.drawWidgets();
setInterval(() => { drawClock(); }, 1000);
drawClock();
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "bclock",
"name": "Binary Clock",
"version": "0.03",
"version": "0.04",
"description": "A simple binary clock watch face",
"icon": "clock-binary.png",
"type": "clock",

View File

@ -3,3 +3,4 @@
0.03: Internationalisation; bug fix - battery icon responds promptly to charging state
0.04: bug fix
0.05: proper fix for the race condition in queueDraw()
0.06: Tell clock widgets to hide.

View File

@ -85,7 +85,8 @@ Bangle.on('charging', (charging) => {
draw();
});
Bangle.setUI("clock");
Bangle.loadWidgets();
draw();
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{ "id": "bigdclock",
"name": "Big digit clock containing just the essentials",
"shortName":"Big digit clk",
"version":"0.05",
"version":"0.06",
"description": "A clock containing just the essentials, made as easy to read as possible for those of us that need glasses. It contains the time, the day-of-week, the day-of-month, and the current battery state-of-charge.",
"icon": "bigdclock.png",
"type": "clock",

View File

@ -1,3 +1,4 @@
0.01: New App!
0.02: Fixed bug where screen didn't clear so incorrect time displayed.
0.03: Update to use Bangle.setUI instead of setWatch
0.04: Tell clock widgets to hide.

View File

@ -164,9 +164,6 @@ Bangle.on('lcdPower',on=>{
draw(); // draw immediately
}
});
// Load widgets
Bangle.loadWidgets();
Bangle.drawWidgets();
// Show launcher when button pressed
Bangle.setUI("clockupdown", btn=>{
if (btn!=1) return;
@ -176,3 +173,6 @@ Bangle.setUI("clockupdown", btn=>{
displayTime = 0;
}
});
// Load widgets
Bangle.loadWidgets();
Bangle.drawWidgets();

View File

@ -2,7 +2,7 @@
"id": "binclock",
"name": "Binary Clock",
"shortName": "Binary Clock",
"version": "0.03",
"version": "0.04",
"description": "A binary clock with hours and minutes. BTN1 toggles a digital clock.",
"icon": "app.png",
"type": "clock",

View File

@ -2,3 +2,5 @@
0.02: first running version for BangleJs2
0.03: corrected icon, added screen shot, extended description
0.04: corrected format of background image (raw binary)
0.05: move setUI() up before draw() as to not have a false positive 'sanity
check' when building on github.

View File

@ -334,6 +334,7 @@ function setRuntimeValues(resolution) {
var hour = 0, minute = 1, second = 50;
var batVLevel = 20;
Bangle.setUI("clock");
function draw() {
var d = new Date();
@ -371,7 +372,6 @@ function draw() {
}
// Show launcher when button pressed
Bangle.setUI("clock");
setRuntimeValues(g.getWidth());
g.reset().clear();
Bangle.loadWidgets();

View File

@ -3,7 +3,7 @@
"shortName":"BinWatch",
"icon": "app.png",
"screenshots": [{"url":"screenshot.png"}],
"version":"0.04",
"version":"0.05",
"supports": ["BANGLEJS2"],
"readme": "README.md",
"allow_emulator":true,

View File

@ -5,3 +5,4 @@
0.04: Modified to account for changes in the behavior of Graphics.fillPoly
0.05: Slight increase to draw speed after LCD on
0.06: Update to use Bangle.setUI instead of setWatch, allow themes and different size screens
0.07: Tell clock widgets to hide.

View File

@ -99,6 +99,10 @@ function startTimers() {
Bangle.drawWidgets();
intervalRef = setInterval(redraw,1000);
}
// Show launcher when button pressed
Bangle.setUI("clock");
Bangle.loadWidgets();
startTimers();
Bangle.on('lcdPower',function(on) {
@ -108,5 +112,3 @@ Bangle.on('lcdPower',function(on) {
clearTimers();
}
});
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -2,7 +2,7 @@
"id": "blobclk",
"name": "Large Digit Blob Clock",
"shortName": "Blob Clock",
"version": "0.06",
"version": "0.07",
"description": "A clock with big digits",
"icon": "clock-blob.png",
"type": "clock",

View File

@ -3,3 +3,4 @@
0.04: Work with themes, smaller screens
0.05: Adjust hand lengths to be within 'tick' points
0.06: Removed "wake LCD on face-up"-feature: A watch-face should not set things like "wake LCD on face-up".
0.07: Tell clock widgets to hide.

View File

@ -130,9 +130,10 @@ Bangle.on('lcdPower', (on) => {
}
});
// Show launcher when button pressed
Bangle.setUI("clock");
g.clear();
Bangle.loadWidgets();
Bangle.drawWidgets();
startTimers();
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "boldclk",
"name": "Bold Clock",
"version": "0.06",
"version": "0.07",
"description": "Simple, readable and practical clock",
"icon": "bold_clock.png",
"screenshots": [{"url":"screenshot_bold.png"}],

View File

@ -1,2 +1,3 @@
0.01: Initial version
0.02: More compact rendering & app icon
0.03: Tell clock widgets to hide.

View File

@ -114,6 +114,6 @@ g.clear();
fullRedraw();
var minuteInterval = setInterval(redraw, 60 * 1000);
Bangle.setUI("clock");
Bangle.loadWidgets();
Bangle.drawWidgets();
Bangle.setUI("clock");

View File

@ -2,7 +2,7 @@
"id": "calclock",
"name": "Calendar Clock",
"shortName": "CalClock",
"version": "0.02",
"version": "0.03",
"description": "Show the current and upcoming events synchronized from Gadgetbridge",
"icon": "calclock.png",
"type": "clock",

View File

@ -8,4 +8,5 @@
0.7: Update Rocket Sequences Scope to not use memory all time
0.8: Update Some Variable Scopes to not use memory until need
0.9: Remove ESLint spaces
0.10: Show daily steps, heartrate and the temperature if weather information is available.
0.10: Show daily steps, heartrate and the temperature if weather information is available.
0.11: Tell clock widgets to hide.

View File

@ -165,11 +165,11 @@ Bangle.on("lock", (locked) => {
}
});
Bangle.setUI("clock");
// Load widgets, but don't show them
Bangle.loadWidgets();
Bangle.setUI("clock");
g.reset();
g.clear();
draw();
draw();

View File

@ -4,7 +4,7 @@
"description": "Animated Clock with Space Cassio Watch Style",
"screenshots": [{ "url": "screens/screen_night.png" },{ "url": "screens/screen_day.png" }],
"icon": "app.png",
"version": "0.10",
"version": "0.11",
"type": "clock",
"tags": "clock, weather, cassio, retro",
"supports": ["BANGLEJS2"],

View File

@ -3,3 +3,4 @@
0.03: Configurable drag gestures
0.04: Use default Bangle formatter for booleans
0.05: Improved colors (connected vs disconnected)
0.06: Tell clock widgets to hide.

View File

@ -1,3 +1,4 @@
Bangle.setUI("clock");
Bangle.loadWidgets();
var s = Object.assign({
@ -307,4 +308,4 @@ NRF.on('disconnect', BTevent);
dimSeconds = Bangle.isLocked();
drawWatch();
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "clockcal",
"name": "Clock & Calendar",
"version": "0.05",
"version": "0.06",
"description": "Clock with Calendar",
"readme":"README.md",
"icon": "app.png",

View File

@ -1,2 +1,3 @@
...
0.03: First update with ChangeLog Added
0.04: Tell clock widgets to hide.

View File

@ -3,6 +3,8 @@
let outerRadius = Math.min(CenterX,CenterY) * 0.9;
Bangle.setUI('clock');
Bangle.loadWidgets();
/**** updateClockFaceSize ****/
@ -241,7 +243,3 @@
refreshDisplay();
}
});
Bangle.loadWidgets();
Bangle.setUI('clock');

View File

@ -1,7 +1,7 @@
{ "id": "colorful_clock",
"name": "Colorful Analog Clock",
"shortName":"Colorful Clock",
"version":"0.03",
"version":"0.04",
"description": "a colorful analog clock",
"icon": "app-icon.png",
"type": "clock",

View File

@ -1,2 +1,3 @@
...
0.02: First update with ChangeLog Added
0.03: Tell clock widgets to hide.

View File

@ -5,6 +5,7 @@
let ScreenWidth = g.getWidth(), CenterX;
let ScreenHeight = g.getHeight(), CenterY, outerRadius;
Bangle.setUI('clock');
Bangle.loadWidgets();
/**** updateClockFaceSize ****/
@ -1377,4 +1378,3 @@
}
});
Bangle.setUI('clock');

View File

@ -1,7 +1,7 @@
{ "id": "configurable_clock",
"name": "Configurable Analog Clock",
"shortName":"Configurable Clock",
"version":"0.02",
"version":"0.03",
"description": "an analog clock with several kinds of faces, hands and colors to choose from",
"icon": "app-icon.png",
"type": "clock",

View File

@ -1,3 +1,4 @@
0.01: New App!
0.02: Removed "wake LCD on face-up"-feature: A watch-face should not set things like "wake LCD on face-up".
0.03: Fix the clock for dark mode.
0.04: Tell clock widgets to hide.

View File

@ -136,9 +136,9 @@ Bangle.on('lcdPower', (on) => {
g.clear();
// Show launcher when button pressed
Bangle.setUI("clock");
Bangle.loadWidgets();
Bangle.drawWidgets();
startTimers();
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "crowclk",
"name": "Crow Clock",
"version": "0.03",
"version": "0.04",
"description": "A simple clock based on Bold Clock that has MST3K's Crow T. Robot for a face",
"icon": "crow_clock.png",
"screenshots": [{"url":"screenshot_crow.png"}],

View File

@ -1,2 +1,3 @@
0.01: First published version of app
0.02: Move to Bangle.setUI to launcher support
0.03: Tell clock widgets to hide.

View File

@ -173,6 +173,9 @@ const drawHR = function () {
}
};
// Show launcher when button pressed
Bangle.setUI("clock");
// clean app screen
g.clear();
Bangle.loadWidgets();
@ -198,6 +201,3 @@ Bangle.on('HRM', function (d) {
// draw now
drawClock();
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -2,7 +2,7 @@
"id": "fclock",
"name": "fclock",
"shortName": "F Clock",
"version": "0.02",
"version": "0.03",
"description": "Simple design of a digital clock",
"icon": "app.png",
"type": "clock",

View File

@ -1,3 +1,4 @@
0.01: first release
0.02: RAM efficient version of `fourTwentyTz.js` (as suggested by @gfwilliams).
0.03: `mkFourTwentyTz.js` now handles new timezonedb.com CSV format
0.04: Tell clock widgets to hide.

View File

@ -33,6 +33,8 @@ function draw() {
// Clear the screen once, at startup
g.clear();
// Show launcher when middle button pressed
Bangle.setUI("clock");
// Load widgets
Bangle.loadWidgets();
Bangle.drawWidgets();
@ -47,5 +49,4 @@ Bangle.on('lcdPower',on=>{
drawTimeout = undefined;
}
});
// Show launcher when middle button pressed
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "ftclock",
"name": "Four Twenty Clock",
"version": "0.03",
"version": "0.04",
"description": "A clock that tells when and where it's going to be 4:20 next",
"icon": "app.png",
"screenshots": [{"url":"screenshot.png"}, {"url":"screenshot1.png"}],

View File

@ -1,2 +1,3 @@
0.01: First released version
0.02: Changed setWatch to Bangle.setUI
0.03: Tell clock widgets to hide.

View File

@ -238,10 +238,12 @@ Bangle.on('lcdPower', (on) => {
}
});
// Show launcher when button pressed
Bangle.setUI("clock");
g.clear();
startTimers();
Bangle.loadWidgets();
drawAll();
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -2,7 +2,7 @@
"id": "gallifr",
"name": "Time Traveller's Chronometer",
"shortName": "Time Travel Clock",
"version": "0.02",
"version": "0.03",
"description": "A clock for time travellers. The light pie segment shows the minutes, the black circle, the hour. The dial itself reads 'time' just in case you forget.",
"icon": "gallifr.png",
"screenshots": [{"url":"screenshot_time.png"}],

View File

@ -1,3 +1,4 @@
0.01: New App!
0.02: BTN2->launcher, use smaller text to allow "20:00" to fit on screen
0.03: Changed setWatch to Bangle.setUI
0.04: Tell clock widgets to hide.

View File

@ -142,11 +142,13 @@ Bangle.on('lcdPower',function(on) {
animInterval = setInterval(iterate, 50);
}
});
g.clear();
// Show launcher when button pressed
Bangle.setUI("clock");g.clear();
Bangle.loadWidgets();
Bangle.drawWidgets();
iterate();
animInterval = setInterval(iterate, 50);
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "geissclk",
"name": "Geiss Clock",
"version": "0.03",
"version": "0.04",
"description": "7 segment clock with animated background in the style of Ryan Geiss' music visualisation. NOTE: The first run will take ~1 minute to do some precalculation",
"icon": "clock.png",
"type": "clock",

View File

@ -1,2 +1,3 @@
0.20: New App!
0.21: Tell clock widgets to hide.

View File

@ -178,6 +178,8 @@ function draw() {
////////////////////////////////////////////////////
// Bangle.setBarometerPower(true);
Bangle.setUI("clock");
Bangle.loadWidgets();
draw();
@ -197,6 +199,5 @@ Bangle.on('lcdPower', on => {
}
});
Bangle.setUI("clock");
Bangle.drawWidgets();

View File

@ -2,7 +2,7 @@
"id": "glbasic",
"name": "GLBasic Clock",
"shortName": "GLBasic",
"version": "0.20",
"version": "0.21",
"description": "A clock with large numbers",
"dependencies": {"widpedom":"app"},
"icon": "icon48.png",

View File

@ -8,3 +8,4 @@
0.07: Don't cut off wide date formats
0.08: Use Bangle.setUI for button/launcher handling
0.09: Bangle.js 2 compatibility
0.10: Tell clock widgets to hide.

View File

@ -72,6 +72,8 @@ g.drawImage(img, 0,OY,bgoptions);
// draw clock itself and do it every second
draw();
var secondInterval = setInterval(draw,1000);
// Show launcher when button pressed
Bangle.setUI("clock");
// load widgets
Bangle.loadWidgets();
Bangle.drawWidgets();
@ -84,5 +86,4 @@ Bangle.on('lcdPower',on=>{
draw();
}
});
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -2,7 +2,7 @@
"id": "imgclock",
"name": "Image background clock",
"shortName": "Image Clock",
"version": "0.09",
"version": "0.10",
"description": "A clock with an image as a background",
"icon": "app.png",
"type": "clock",

View File

@ -3,3 +3,4 @@
0.03: Move to Bangle.setUI to launcher support
0.04: Tweaks for compatibility with BangleJS2
0.05: Time-word now readable on Bangle.js 2
0.06: Tell clock widgets to hide.

View File

@ -154,6 +154,9 @@ Bangle.on('lcdPower', function(on) {
if (on) drawWordClock();
});
// Show launcher when button pressed
Bangle.setUI("clock");
g.clear();
Bangle.loadWidgets();
Bangle.drawWidgets();
@ -172,5 +175,4 @@ Bangle.on('touch',e=>{
}
});
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "impwclock",
"name": "Imprecise Word Clock",
"version": "0.05",
"version": "0.06",
"description": "Imprecise word clock for vacations, weekends, and those who never need accurate time.",
"icon": "clock-impword.png",
"type": "clock",

View File

@ -1,2 +1,3 @@
0.01: Created app based on digiclock with some small tweaks.
0.02: Swap to Bangle.setUI for launcher/buttons
0.03: Tell clock widgets to hide.

0
apps/isoclock/checkout Normal file
View File

View File

@ -89,8 +89,8 @@ Bangle.on('lcdPower',on=>{
}
});
Bangle.loadWidgets();
Bangle.drawWidgets();
// Show launcher when button pressed
Bangle.setUI("clock");
Bangle.loadWidgets();
Bangle.drawWidgets();

View File

@ -2,7 +2,7 @@
"id": "isoclock",
"name": "ISO Compliant Clock Face",
"shortName": "ISO Clock",
"version": "0.02",
"version": "0.03",
"description": "Tweaked fork of digiclock for ISO date and time",
"icon": "isoclock.png",
"type": "clock",

View File

@ -2,3 +2,4 @@
0.02: Improve battery life, sprite resolution, fix launcher issue and unaligned text bug
0.03: Reduce code size, refresh once a minute and faster refresh
0.04: Show a random kana every minute to improve learning
0.05: Tell clock widgets to hide.

View File

@ -264,10 +264,10 @@ Bangle.on('touch', function (tap, top) {
});
g.clear(true);
// show launcher when button pressed
Bangle.setUI('clock');
Bangle.loadWidgets();
tickWatch();
setInterval(tickWatch, 1000 * 60);
// show launcher when button pressed
Bangle.setUI('clock');

View File

@ -2,7 +2,7 @@
"id": "kanawatch",
"name": "Kanawatch",
"shortName": "Kanawatch",
"version": "0.04",
"version": "0.05",
"type": "clock",
"description": "Learn Hiragana and Katakana",
"icon": "app.png",

View File

@ -1 +1,2 @@
0.01: first release
0.02: Tell clock widgets to hide.

View File

@ -10,6 +10,8 @@
*
*/
Bangle.setUI('clock');
g.clear();
const SETTINGS_FILE = "limelight.json";
@ -259,5 +261,4 @@ Bangle.on('lcdPower',on=>{
}
});
Bangle.setUI('clock');
draw();

View File

@ -1,7 +1,7 @@
{
"id": "limelight",
"name": "Limelight",
"version": "0.01",
"version": "0.02",
"description": "Simple analogue clock (with configurable fonts) based on the work of @Andreas_Rozek (Simple_Clock)",
"icon": "limelight.png",
"readme":"README.md",

View File

@ -2,3 +2,4 @@
0.02: New icon, shimmied date right a bit
0.03: Incorporated improvements from Peer David for accuracy, fix dark mode, widgets run in background
0.04: Changed clock to use 12/24 hour format based on locale
0.05: Tell clock widgets to hide.

View File

@ -57,8 +57,8 @@ Bangle.on('lcdPower',on=>{
}
});
Bangle.setUI("clock");
// Load widgets but hide them
Bangle.loadWidgets();
draw();
Bangle.setUI("clock");

View File

@ -2,7 +2,7 @@
"name": "MacWatch2",
"shortName":"MacWatch2",
"icon": "app.png",
"version":"0.04",
"version":"0.05",
"description": "Classic Mac Finder clock",
"type": "clock",
"tags": "clock",

View File

@ -4,3 +4,4 @@
0.04: Removed "wake LCD on face-up"-feature: A watch-face should not set things like "wake LCD on face-up".
0.05: Added support to other color themes (other then black)
0.06: Added support for 24 hour clock enabled from settings
0.07: Tell clock widgets to hide.

View File

@ -328,11 +328,9 @@ Bangle.on('lcdPower', (on) => {
}
});
Bangle.setUI("clock");
g.clear();
Bangle.loadWidgets();
Bangle.drawWidgets();
startTimers();
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "matrixclock",
"name": "Matrix Clock",
"version": "0.06",
"version": "0.07",
"description": "inspired by The Matrix, a clock of the same style",
"icon": "matrixclock.png",
"screenshots": [{"url":"matrix_green_on_black.jpg"}],

View File

@ -5,3 +5,4 @@
Fix issue where first digit could get stuck going from "2x:xx" to " x:xx" (fix #365)
0.06: Support 12 hour time
0.07: Use Bangle.setUI for button/launcher handling
0.08: Tell clock widgets to hide.

View File

@ -209,6 +209,9 @@ Bangle.on('lcdPower',function(on) {
}
});
// Show launcher when button pressed
Bangle.setUI("clock");
g.clear();
Bangle.loadWidgets();
Bangle.drawWidgets();
@ -216,5 +219,3 @@ Bangle.drawWidgets();
timeInterval = setInterval(showTime, 1000);
showTime();
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "mclock",
"name": "Morphing Clock",
"version": "0.07",
"version": "0.08",
"description": "7 segment clock that morphs between minutes and hours",
"icon": "clock-morphing.png",
"type": "clock",

View File

@ -2,3 +2,4 @@
0.03: Localization
0.04: move jshint to the top
0.05: Use Bangle.setUI for button/launcher handling
0.06: Tell clock widgets to hide.

View File

@ -77,11 +77,13 @@ Bangle.on('lcdPower', function(on) {
drawMixedClock();
});
// Show launcher when button pressed
Bangle.setUI("clock");
g.clear();
Bangle.loadWidgets();
Bangle.drawWidgets();
setInterval(drawMixedClock, 5E3);
drawMixedClock();
// Show launcher when button pressed
Bangle.setUI("clock");

View File

@ -1,7 +1,7 @@
{
"id": "miclock",
"name": "Mixed Clock",
"version": "0.05",
"version": "0.06",
"description": "A mix of analog and digital Clock",
"icon": "clock-mixed.png",
"type": "clock",

View File

@ -1,2 +1,3 @@
...
0.03: First update with ChangeLog Added
0.04: Tell clock widgets to hide.

View File

@ -3,6 +3,7 @@
let outerRadius = Math.min(CenterX,CenterY) * 0.9;
Bangle.setUI('clock');
Bangle.loadWidgets();
/**** updateClockFaceSize ****/
@ -225,6 +226,5 @@
}
});
Bangle.loadWidgets();
Bangle.setUI('clock');
Bangle.loadWidgets();

View File

@ -1,7 +1,7 @@
{ "id": "minimal_clock",
"name": "Minimal Analog Clock",
"shortName":"Minimal Clock",
"version":"0.03",
"version":"0.04",
"description": "a minimal analog clock - just with some hands and no clock face",
"icon": "app-icon.png",
"type": "clock",

Some files were not shown because too many files have changed in this diff Show More